Open
Bug 1342818
Opened 9 years ago
Updated 9 years ago
Move shadowdb, proxy, and memcached options out of data/params.json into localconfig
Categories
(Bugzilla :: Bugzilla-General, defect)
Tracking
()
NEW
Bugzilla 6.0
People
(Reporter: dylan, Assigned: dylanAtHome)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
When configuration data is "operational" (as opposed to "administrative") it should go into localconfig.
Examples of this:
* memcached
* inbound_proxies (being able to set this as an admin is dangerous anyway!)
* shadowdb
* urlbase/sslbase/ssl_redirect (this is a nightmare from a configuration, documentation, and usability standpoint)
| Reporter | ||
Updated•9 years ago
|
Target Milestone: --- → Bugzilla 6.0
Comment 1•9 years ago
|
||
| Reporter | ||
Updated•9 years ago
|
Assignee: dylan → dylan
| Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8841402 [details] [review]
[bugzilla] dylanwh:bug-1342818 > bugzilla:master
This patch comes from operational experience with BMO. Basically the inbound proxies, database parameters, memcached parameters, and proxy url are all the things that may be managed by a configuration management system.
You don't want to have operations touching data/params.json.
This patch migrates the values (if they exist) from data/params to localconfig.
It doesn't touch the way these new configuration values are handled, but we can re-purpose bug 1306636 for that. In practice people are not overly concerned with those messages anyway.
Attachment #8841402 -
Flags: review?(gerv)
| Assignee | ||
Updated•9 years ago
|
Summary: Move some configuration out of data/params.json into localconfig → Move shadowdb, proxy, and memcached options out of data/params.json into localconfig
Comment 3•9 years ago
|
||
Comment on attachment 8841402 [details] [review]
[bugzilla] dylanwh:bug-1342818 > bugzilla:master
r=gerv on the code; sorry it took so long. However, before or at the same time as landing, you need to also update the documentation.
Gerv
Attachment #8841402 -
Flags: review?(gerv) → review+
You need to log in
before you can comment on or make changes to this bug.
Description
•