Most options have dashes, for example clear-untrusted-proxy-headers. But in the resulting wsgi.ini they need to be with underscores.
The Sentry options have underscores.
That's a bit confusing. If you use the wrong spelling, buildout may warn that you have an unused parameter, but it won't fail, so you may not notice.
Would it be okay to accept both spellings?
We could cleanup all options specified in the buildout config to dashes, or maybe duplicate them.
The only problem is that someone could accidentally use both option-foo and option_foo. If those two have a different value, we should quit with an error.
Most options have dashes, for example
clear-untrusted-proxy-headers
. But in the resultingwsgi.ini
they need to be with underscores. The Sentry options have underscores.That's a bit confusing. If you use the wrong spelling, buildout may warn that you have an unused parameter, but it won't fail, so you may not notice.
Would it be okay to accept both spellings? We could cleanup all options specified in the buildout config to dashes, or maybe duplicate them.
The only problem is that someone could accidentally use both
option-foo
andoption_foo
. If those two have a different value, we should quit with an error.