Closed Bug 615672 Opened 15 years ago Closed 14 years ago

quick_verify breaks when partner-repacks are disabled

Categories

(Release Engineering :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: salbiz, Assigned: salbiz)

Details

Attachments

(1 file, 2 obsolete files)

As part of bug 613320, a partial verification step was added to verify en-US, a random locale and random partner repacks for en-US and the same random locale. However, the code to randomly select a partner-repack for verification does not deal cleanly with the absence of any partner-repacks to test.
cuts the check for partner-repacks in the case where they aren't there.
Attachment #494136 - Flags: review?(bhearsum)
Attachment #494136 - Flags: review?(coop)
Comment on attachment 494136 [details] [diff] [review] dont bother with partner-repacks if they are disabled My only nit is using "unsigned" as a variable name, since I always assume it's a keyword. Consider making it more descriptive, but I won't block on that.
Attachment #494136 - Flags: review?(coop) → review+
Done, unsigned_packages is probably a good term to use, since that filters the list of container exes.
Attachment #494136 - Attachment is obsolete: true
Attachment #494716 - Flags: review?(bhearsum)
Attachment #494136 - Flags: review?(bhearsum)
Comment on attachment 494716 [details] [diff] [review] change variable name unsigned to unsigned_packages This is a bit hairy...can you unpack the filtering logic? It's really hard to read as is.
Attachment #494716 - Flags: review?(bhearsum) → review-
Attached patch refactor fixSplinter Review
Did a test in staging with both partners enabled and disabled (just the make quick-verify step). Broken up the logic significantly.
Attachment #494716 - Attachment is obsolete: true
Attachment #495150 - Flags: review?(bhearsum)
Comment on attachment 495150 [details] [diff] [review] refactor fix Much better.
Attachment #495150 - Flags: review?(bhearsum) → review+
Comment on attachment 495150 [details] [diff] [review] refactor fix Landed on default: changeset: 1908:0ed4d242206b
Attachment #495150 - Flags: checked-in+
I think this bug is all done now.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: