-
-
Notifications
You must be signed in to change notification settings - Fork 403
Change the directory of the configuration files #140
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
Conversation
If you install the arduino cli, the default directory of the configuration file is the location of the executable This is not an ideal configuration for linux or windows With this commit the configuration file is searched in the default configuration folder for each system
I see that, on linux, the library searches in
|
Let's implement here some ideas from: #30
those directories are listed in increasing order of priority and any config file found should override the previous one (I mean the options defined in
and this is added by me:
|
Do we need to worry about |
This function will navigate the filesystem scraping the fs searching for config files. It will search in $pwd navigating through parent folders stopping at $root
@bxparks we pushed forward portable support here: #123 Also we started bundling the cli in the official Beta IDE, at the moment
BTW we barely tested the "portable" scenario, (for example now I noticed the |
It starts from the root and for every folder until $PWD it parses the yaml. Files closer to $PWD take precedence
This will make sure it can be chained with other ParseFromYaml
In this latest batch of commits I implemented the following:
|
Change the directory of the configuration files
…te-policy Default value for update policy and rate limit
Quote password in signing certificate import command
If you install the arduino cli, the default directory
of the configuration file is the location of the executable
This is not an ideal configuration for linux or windows
With this commit the configuration file is searched in the
default configuration folder for each system