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

Allow relative paths for callback include files in config.yaml #19

Open
BoergeSt opened this issue Jul 8, 2022 · 0 comments
Open

Allow relative paths for callback include files in config.yaml #19

BoergeSt opened this issue Jul 8, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@BoergeSt
Copy link
Member

BoergeSt commented Jul 8, 2022

Using absolute paths for callback includes is too rigid and forces a structure similar to the gateways by automation-One.
A simple fix would be, to allow callback files to lie relative to the given config.yaml.

There is one catch: The code has to follow symlinks to their destination, since the recommended usage is to let a symlink at a static position point towards the actual config.yaml file, and the callback needs to therefore also be relative to this location.

@BoergeSt BoergeSt added enhancement New feature or request good first issue Good for newcomers labels Jul 8, 2022
@BoergeSt BoergeSt added this to the Release v1.1 milestone Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant