Page MenuHomePhabricator

SmashPig should read config from /etc
Closed, ResolvedPublic2 Estimated Story Points

Description

It's terrible having config in the source directory. Search /etc/fundraising/SmashPig.yaml, then ~/.fundraising/SmashPig.yaml, and only then the source dir/config.php

Also: support YAML config.

Event Timeline

Change 285317 had a related patch set uploaded (by Awight):
[WIP] Simplify config overrides read YAML

https://gerrit.wikimedia.org/r/285317

DStrine set the point value for this task to 2.Apr 27 2016, 10:06 PM

Change 285317 merged by jenkins-bot:
Simplify configuration and read from YAML

https://gerrit.wikimedia.org/r/285317

@Jgreen I think I'll need your help deploying this, because it introduces new config files that should live under /etc/fundraising. Let me know when it fits in your schedule...

The last steps before we mark as resolved are: * burn in for a day, * set Puppet to purge the old .php config files.