Closed
Bug 552668
Opened 15 years ago
Closed 15 years ago
l10n verify should be unpacking jar files
Categories
(Release Engineering :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: rail)
References
Details
(Whiteboard: [automation])
Attachments
(3 files, 1 obsolete file)
1.72 KB,
patch
|
bhearsum
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
1.91 KB,
patch
|
bhearsum
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
3.19 KB,
patch
|
bhearsum
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
During the 3.5.9 release I noticed that l10n verify doesn't diff anything contained in jar files. Since so many strings are packed into jar files we should be unpacking them before running l10n verify. We miss a lot of string changes by ignoring these, which could potentially make us miss issues.
Assignee | ||
Comment 1•15 years ago
|
||
Something like this?
Attachment #458301 -
Flags: feedback?(bhearsum)
Reporter | ||
Comment 2•15 years ago
|
||
Comment on attachment 458301 [details] [diff] [review]
Unpack JAR files
This seems like it would work. It'd be great to have l10n verify re-run for something like 3.6b1 - 3.6b2, or something else guaranteed to have string changes as a test for this.
Attachment #458301 -
Flags: feedback?(bhearsum) → feedback+
Assignee | ||
Comment 3•15 years ago
|
||
during testing the patch in staging I found that verify_l10n.sh calls unpack_build() and passes wildcard here: http://hg.mozilla.org/build/tools/file/6c1a3110a600/release/l10n/verify_l10n.sh#l28
As a result for locale (luckily txt comes after the installers) becomes firefox-3.6.8-build1/linux-i686/en-US/firefox-3.6.8.txt instead of "en-US".
To prevent this we shouldn't rsync *.txt files.
Assignee | ||
Comment 4•15 years ago
|
||
* Use -o (override) parameter to prevent console interaction
* Redirect stdout to /dev/null as in other unzip commands in the same file
* Add -N parameter to diff, so it creates diffs for new files. Otherwise it doesn't produce diffs for localized content (en-US.jar.dir vs ab_CD.jar.dir).
Attachment #458301 -
Attachment is obsolete: true
Attachment #462071 -
Flags: review?(bhearsum)
Reporter | ||
Updated•15 years ago
|
Attachment #462064 -
Flags: review?(bhearsum) → review+
Reporter | ||
Comment 5•15 years ago
|
||
Comment on attachment 462071 [details] [diff] [review]
Unpack JAR files
Seems reasonable. I'd be interested in seeing the output from a staging run, though.
Attachment #462071 -
Flags: review?(bhearsum) → review+
Assignee | ||
Comment 6•15 years ago
|
||
(In reply to comment #5)
> I'd be interested in seeing the output from a staging run, though.
Sure, on moz2-darwin9-slave03:
/builds/slave/*_l10n_verification/tools/release/l10n/firefox*/diffs/*
Buildbot output is almost the same, on sm:
/builds/buildbot/moz2-master/*_l10n_verification/
Assignee | ||
Updated•15 years ago
|
Priority: P5 → P2
Reporter | ||
Comment 7•15 years ago
|
||
(In reply to comment #6)
> (In reply to comment #5)
> > I'd be interested in seeing the output from a staging run, though.
>
> Sure, on moz2-darwin9-slave03:
> /builds/slave/*_l10n_verification/tools/release/l10n/firefox*/diffs/*
>
> Buildbot output is almost the same, on sm:
> /builds/buildbot/moz2-master/*_l10n_verification/
Looks good. Land at your convenience!
Assignee | ||
Comment 8•15 years ago
|
||
Comment on attachment 462064 [details] [diff] [review]
Don't rsync txt files
http://hg.mozilla.org/build/buildbotcustom/rev/050b3c4f87f6
Attachment #462064 -
Flags: checked-in+
Assignee | ||
Comment 9•15 years ago
|
||
Comment on attachment 462071 [details] [diff] [review]
Unpack JAR files
http://hg.mozilla.org/build/tools/rev/483d22dfacf8
Attachment #462071 -
Flags: checked-in+
Assignee | ||
Updated•15 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•15 years ago
|
||
The patch affects update verify factory which uses the same function. JAR files should be unpacked only for l10n verification.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 11•15 years ago
|
||
Attachment #467776 -
Flags: review?(bhearsum)
Reporter | ||
Updated•15 years ago
|
Attachment #467776 -
Flags: review?(bhearsum) → review+
Assignee | ||
Comment 12•15 years ago
|
||
Comment on attachment 467776 [details] [diff] [review]
Don't unpack JAR file by default
http://hg.mozilla.org/build/tools/rev/c7ecffe0c0a1
Attachment #467776 -
Flags: checked-in+
Assignee | ||
Updated•15 years ago
|
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•