-
Notifications
You must be signed in to change notification settings - Fork 29
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
Support Configuration Overlays? #87
Comments
This commit introduces the possibility to handle per-major-version configuration files (e.g., `17.conf`) that are loaded in the case the version specific file (.e.g., `17.1.conf`) is not found on the system.
@theory please take a look at my patch. This at least searches for |
Thanks, yes, this looks good. I presume that prior to version 10, "major" versions are I've confirmed that it works with Bash v3.2.57. |
Yes, my fault thinking that we can drop support for those, but after all we are providing a way to build also "ancient" versions. So this needs a little rework to identify the major version correctly.
Ok, in the next days I will work to make it able to detect also other major versions. |
Cool, thanks. |
This commit introduces the possibility to handle per-major-version configuration files (e.g., `17.conf`) that are loaded in the case the version specific file (.e.g., `17.1.conf`) is not found on the system. The loading of a configuration file gives priority to the exact version, so for instance `17.1.conf`, then if such file is not found the program tries to load a `17.conf` (i.e., major mode file), and at last the `default.conf` file. Close theory#87
@theory I think it is done, according to my tests. If you have some time to have a look at, then we can merge. |
TIL that the
17.conf
file I created is never used, because we only check for, e.g.,17.4.conf
. Furthermore, theREADME
suggests that ifpgenv
does find a version-specific configuration file, it uses it instead of the default.What say you to these two changes, @fluca1978?
$major.conf
file as well as$major.$minor.conf
default.conf
, then$major.conf, then
$major.$minor.conf`, so that you get the defaults and then can override them on a per-version basis?The text was updated successfully, but these errors were encountered: