Closed
Bug 943860
Opened 11 years ago
Closed 11 years ago
Autophone - detect tree/procname by detecting branch in repo rather than checking for exact matches
Categories
(Testing Graveyard :: Autophone, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bc, Assigned: bc)
References
Details
Attachments
(2 files)
1.28 KB,
patch
|
mcote
:
review+
|
Details | Diff | Splinter Review |
1.63 KB,
patch
|
Details | Diff | Splinter Review |
When testing local fennec builds in Autophone I found that the logic in builds.py:build_metadata would not detect the repo properly due to the fact that my local builds did not have the canonical repo url in application.ini's SourceRepository. I think checking for the branch substrings is sufficient rather than the more restrictive check for equality.
Attachment #8339277 -
Flags: review?(mcote)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → bclary
Status: NEW → ASSIGNED
Comment 1•11 years ago
|
||
Comment on attachment 8339277 [details] [diff] [review] build-repo.patch Review of attachment 8339277 [details] [diff] [review]: ----------------------------------------------------------------- Makes sense, since I imagine most people won't check out source to a weird directory name. It's fine as it is, but now it looks more clearly redundant...I might loop over a tuple of tuples of the form (tree, proc_name), e.g. (('mozilla-central', 'org.mozilla.fennec'), ('mozilla-inbound', 'org.mozilla.fennec'), ...) instead of all the if clauses. Avoids repeating the tree name string and thus reduces possibilities for typos.
Attachment #8339277 -
Flags: review?(mcote) → review+
Assignee | ||
Comment 2•11 years ago
|
||
updated to iterate over tuples
Assignee | ||
Comment 3•11 years ago
|
||
https://github.com/mozilla/autophone/commit/cfc19311aed6cd995d4d63f9927b2ac9ae3f1701
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•2 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•