-
Notifications
You must be signed in to change notification settings - Fork 0
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
No support for custom configuration file #116
Comments
If you look at This probably shouldn't fail silently and should instead log, but proper logging is still WIP (issue #34 ) |
So when |
Right, I read this before I saw #113 . In retrospect, I think there's no reason to muck about with where the default config path is, so I think hardcoded default and no I see passing around a |
My only concern about using a settings page is the trouble it takes to configure multiple machines. I touched upon that in the PR, where I mentioned that a single config yaml could be read by multiple machines. Obviously I've not actually used the software so perhaps this is not a worry. Thoughts? As a side-note, |
Yep ok I see your point -- I agree, it's important if you're scaling up and you just want to copy-paste things over and not muck about with the web panel again. I'll open a separate issue for |
Just re-reading this -- did you mean multiple machines reading the same config file from a remote path? |
I did yeah |
Ahhh yeah ok now I getcha. Not sure that'll be too common a use case, or one that matters too much. I think the simplicity of importing Importing |
Stale issue message |
Stale issue message |
Stale issue message |
After posting #113 I realised that visiomode was still trying to read from the default config location. It seems that the default config is really hard-coded in due to
conf.Config()
in a number of places.I'm still getting my head around the general structure but it seems a bit non-linear (indeed I've come across a problematic circular import) so a bit of rejigging will be required so that there is One True loaded configuration.
The text was updated successfully, but these errors were encountered: