Closed
Bug 1085723
Opened 10 years ago
Closed 10 years ago
[mozautomation] Add support for Treeherder URL generation and switch mozext to it instead of tbpl_url()
Categories
(Developer Services :: General, task)
Developer Services
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
References
Details
Attachments
(1 file)
(deleted),
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
https://hg.mozilla.org/hgcustom/version-control-tools/file/66ec32ebac13/pylib/mozautomation/mozautomation/repository.py#l185
Note the repo names are different to TBPL - they actually match the buildbot 'branch' (and repo directory name) now. See the "name" property in:
https://github.com/mozilla/treeherder-service/blob/master/treeherder/model/fixtures/repository.json
I'll file a separate bug for the parts of mozautomation that consume TBPL's API (vs just linking to the UI).
Assignee | ||
Comment 1•10 years ago
|
||
TBPL is going to be end of lifed soon, so this patch replaces TBPL URL
generation functions in mozautomation (currently only used by mozext) with the
equivalent Treeherder ones. Treeherder uses the same tree name as buildbot/the
name of the directory on hg.mozilla.org, so we no longer need to title case the
tree name before using it in the URL.
As such, the mozext command:
hg tbpl [TREE] [REV]
Now becomes:
hg treeherder [TREE] [REV]
Attachment #8536791 -
Flags: review?(gps)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → emorley
Status: NEW → ASSIGNED
Comment 2•10 years ago
|
||
Comment on attachment 8536791 [details] [diff] [review]
mozautomation: Generate Treeherder not TBPL URLs
Review of attachment 8536791 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM!
Attachment #8536791 -
Flags: review?(gps) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•