Closed
Bug 910727
Opened 11 years ago
Closed 11 years ago
patcher-config-bump.pl shouldn't fail if there are no partials in the patcher config
Categories
(Release Engineering :: Release Automation: Other, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rail, Assigned: rail)
Details
Attachments
(1 file, 1 obsolete file)
1.36 KB,
patch
|
jhopkins
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
Thunderbird 24.0b2 updates failed with the following: Use of uninitialized value $oldPartialVersions[0] in hash element at tools/release/patcher-config-bump.pl line 258. Use of uninitialized value $newPath in substitution (s///) at tools/lib/perl/Release/Patcher/Config.pm line 138. Use of uninitialized value $newPath in pattern match (m//) at tools/lib/perl/Release/Patcher/Config.pm line 140. Use of uninitialized value $newPath in pattern match (m//) at tools/lib/perl/Release/Patcher/Config.pm line 145. Use of uninitialized value $oldFilePath in concatenation (.) or string at tools/lib/perl/Release/Patcher/Config.pm line 151. ASSERT: BumpFilePath() - Unknown file type for '' at tools/lib/perl/Release/Patcher/Config.pm line 151. The patcher config file contains the following: <partials> </partials> what makes the code unhappy - it cannot find "betatest-url" and "path" in that block and cannot bump. Using default values for would be better. Patch incoming.
Assignee | ||
Comment 1•11 years ago
|
||
It generates the following bump: https://gist.github.com/rail/6379312 It looks sane to me.
Attachment #797269 -
Flags: review?
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → rail
Assignee | ||
Comment 2•11 years ago
|
||
Since BumpFilePath strips everything up to build\d+\/ (http://mxr.mozilla.org/build/source/tools/lib/perl/Release/Patcher/Config.pm#138) there is no reason to populate it. The bumper patch is exactly the same.
Attachment #797269 -
Attachment is obsolete: true
Attachment #797269 -
Flags: review?
Attachment #797282 -
Flags: review?(jhopkins)
Comment 3•11 years ago
|
||
Comment on attachment 797282 [details] [diff] [review] fall back to default values Please add a semicolon after: $oldPaths->{"betatest-url"} = $oldPaths->{"path"}
Attachment #797282 -
Flags: review?(jhopkins) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 797282 [details] [diff] [review] fall back to default values https://hg.mozilla.org/build/tools/rev/28bf6229b6d2
Attachment #797282 -
Flags: checked-in+
Assignee | ||
Comment 5•11 years ago
|
||
(In reply to John Hopkins (:jhopkins) from comment #3) > Comment on attachment 797282 [details] [diff] [review] > fall back to default values > > Please add a semicolon after: > > $oldPaths->{"betatest-url"} = $oldPaths->{"path"} I blame Python! :)
Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•