[Pulp-dev] Switching Pulp3 settings.yaml to settings.py file
dalley at redhat.com
Tue Aug 28 21:19:17 UTC 2018
So, right now, our settings actually *are* in settings.py. When
settings.py gets evaluated it looks up settings.yaml, parses it into a
dictionary, and then uses that dictionary to modify it's own attributes.
Is there a reason we couldn't just add more code to the end of settings.py
to check for environment variables with Pulp-related names, and do the same?
FWIW, I don't actually like the current approach much, it feels kind of
"magic" in a negative way, so if there are better ways of doing it I'm +1.
Just wanted to point out it's probably not difficult to solve as-is.
On Tue, Aug 28, 2018 at 4:39 PM, Brian Bouterse <bbouters at redhat.com> wrote:
> I'm trying to get Pulp3 running on Openshift, and I just ran into a
> blocking issue that I filed here:
> If anyone can think of a better solution or a problem with the approach
> suggested here please post on the issue.
> Pulp-dev mailing list
> Pulp-dev at redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pulp-dev