make the treestatus URL configurable in the treeclosure hg hook
Categories
(Developer Services :: Mercurial: hg.mozilla.org, task)
Tracking
(Not tracked)
People
(Reporter: sheehan, Assigned: sheehan)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The URL for treestatus is currently a hard-coded string in the treeclosure.py
Mercurial commit hook. We should make this value configurable so we can update the URL to the new value atomically during the migration.
Assignee | ||
Comment 1•6 months ago
|
||
Change treestatus_base_url
from a hard-coded value to a value
pulled from the config. Set the previous value as the default
if no value is found in the configuration. This will have the effect
of keeping the current value as the default and allowing us to switch
to the new Lando-Treestatus by updating the global config on hgssh.
Register the new config option in the hgmo
extension to avoid a
warning in the tests, since the hook is implemented as an old-style
hook.
Pushed by cosheehan@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/935c8fc77526
treeclosure: get treestatus_base_url
from the config r=zeid
Description
•