Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow for include files to be absent #1298

Merged
merged 1 commit into from
Oct 20, 2024

Conversation

zappolowski
Copy link
Contributor

Describe your changes. Use imperative present tense.

Up to now files to be included need to exist. With these changes any non-existing file is just ignored.

Checklist

  • Add documentation to docs/config.adoc
    • Yes
  • Add example and basic docs to cfg_samples/kanata.kbd
    • N/A
  • Update error messages
    • Yes
  • Added tests, or did manual testing
    • Yes

Sometimes include files are not present (they might be host specific)
but the main configuration file should nevertheless reference them (as
this file is tracked in git). At the moment, included files need to be
present for kanata to start. This restriction is now loosened and
non-existing files are ignored and a info message is shown for such
cases.
@jtroo jtroo merged commit fb4b63c into jtroo:main Oct 20, 2024
4 checks passed
@zappolowski zappolowski deleted the make-include-files-optional branch October 20, 2024 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants