Closed
Bug 615192
Opened 14 years ago
Closed 14 years ago
setting a clobber for 0.8.0 release builders causes them to show up in the main clobberer table
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: salbiz)
References
Details
Attachments
(2 files, 1 obsolete file)
616 bytes,
patch
|
bhearsum
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
589 bytes,
patch
|
bhearsum
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
I noticed this when setting a clobber for 3.6.13build2 this morning.
Assignee | ||
Comment 1•14 years ago
|
||
We ran into this during staging runs, guess I must have forgotten to upload the fix.
Attachment #493797 -
Flags: review?(bhearsum)
Assignee | ||
Comment 2•14 years ago
|
||
figured out why this error was persisting. instead of using the globally defined RELEASE_PREFIX to identify releasedirs, the script was creating an empty $RELEASE_PREFIX inside the function. This slipped through testing since writing clobbers to the database fails silently.
Attachment #493797 -
Attachment is obsolete: true
Attachment #494053 -
Flags: review?(bhearsum)
Attachment #493797 -
Flags: review?(bhearsum)
Reporter | ||
Comment 3•14 years ago
|
||
Comment on attachment 494053 [details] [diff] [review]
use global RELEASE_PREFIX
Sounds good to me, and works on staging.
Attachment #494053 -
Flags: review?(bhearsum) → review+
Reporter | ||
Comment 4•14 years ago
|
||
Comment on attachment 494053 [details] [diff] [review]
use global RELEASE_PREFIX
changeset: 1333:eb445444f83c
Attachment #494053 -
Flags: checked-in+
Reporter | ||
Comment 5•14 years ago
|
||
Looking good in production and staging now. Thanks Syed!
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 6•14 years ago
|
||
Looks like instead of strstr we should use strpos or something similar (re match) here. $RELEASE_PREFIX should be at the beginning, not anywhere. strstr matches "release-whatever" and "whatever-release-blah", while strpos($builddir, $RELEASE_PREFIX)!=0 doesn't.
If we plan to shorten build directory path and use something like "r-" for the prefix, the possibility of false positive will be higher.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 7•14 years ago
|
||
Attachment #496013 -
Flags: review?(bhearsum)
Reporter | ||
Updated•14 years ago
|
Attachment #496013 -
Flags: review?(bhearsum) → review+
Comment 8•14 years ago
|
||
Comment on attachment 496013 [details] [diff] [review]
use strpos
http://hg.mozilla.org/build/tools/rev/297106b653f2
Attachment #496013 -
Flags: checked-in+
Assignee | ||
Comment 9•14 years ago
|
||
Looks like this is finished.
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•