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)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

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).
Blocks: 1085719
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: nobody → emorley
Status: NEW → ASSIGNED
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+
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.

Attachment

General

Created:
Updated:
Size: