Exportable Environment Variables #117
Comments
Opportune timing, #116 has addressed this issue, but while it is in the latest master branch of configman, we need to do an official point release of configman before socorro can use it. To avoid this issue of having collisions with existing config options that use the underscore (postgres connection parameters), I decided to use the double underscore for shell variable as the stand in for the
will be interpreted by configman as the
|
That looks like it would be easy to fix code-wise but it's kinda scary to change because it would break things for those who have already made .ini files. No? |
hehe! I just noticed slide #80. Timely. |
@peterbe, yes the crontabber change would break backward compatibility. I really regret that |
Could it not just convert |
this issue was addressed long ago. re-open if anyone disagrees. |
In order to use configman in Socorro, the
env
command is required because the configuration keys contain periods. This prevents us from exporting environment variables in the shell.One way this could work is if configuration options were guaranteed to be unique and shell counterparts did not contain invalid characters such as
.
or-
. Each config option could have periods replaced by underscores, and underscores in the name replaced by double-underscores.The text was updated successfully, but these errors were encountered: