Closed
Bug 1385780
Opened 7 years ago
Closed 7 years ago
Update mar file generation scripts for lzma and sha384
Categories
(Release Engineering :: Release Automation: Other, enhancement)
Release Engineering
Release Automation: Other
Tracking
(firefox-esr52 wontfix, firefox54 wontfix, firefox55 wontfix, firefox56 fixed)
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
References
Details
Attachments
(4 files)
39.42 KB,
patch
|
robert.strong.bugs
:
review+
|
Details | Diff | Splinter Review |
3.47 KB,
patch
|
bhearsum
:
review+
|
Details | Diff | Splinter Review |
6.23 KB,
patch
|
bhearsum
:
review+
|
Details | Diff | Splinter Review |
3.36 KB,
patch
|
bhearsum
:
review+
|
Details | Diff | Splinter Review |
Since they have to land after mar files are generated I am splitting out the scripts used by release engineering into its own bug.
Assignee | ||
Comment 1•7 years ago
|
||
This patch received r+ from bhearsum and rail. Carrying forward r+
Assignee | ||
Comment 2•7 years ago
|
||
This changes unwrap_full_update.pl so it detects the type of compression used by the mar and then uses the appropriate app to decompress the files automatically.
Attachment #8891900 -
Flags: review?(bhearsum)
Assignee | ||
Comment 3•7 years ago
|
||
I cleaned up the perl script I used for converting the test mar files. The script will detect if the files contained in the mar are compressed using bzip2 and if not it assumes they are compressed with lzma. It could also detect if lzma was used but bzip2 should be enough. It will convert the mar file specified to the other compression method. As long as the script is run on Linux or Mac the permissions for the files contained in the mar file are retained. The MAR channel id is set to the same value as the original mar file. The MAR product version is set to the same value as the original mar file. bzip2, xz, and the mar binary must either be in the path or the associated name in uppercase needs to be in the environment with the value set to the path for binary. The script accepts an optional arg of -r to replace the original mar file with the new mar file. If that is not specified then the mar file name will have .xz appended to it when the mar file is converted to lzma and it will have .bz appended to it when the mar file is converted to bzip2.
Attachment #8891901 -
Flags: review?(bhearsum)
Assignee | ||
Comment 4•7 years ago
|
||
This was already verified to work on oak with complete mar files.
Attachment #8891903 -
Flags: review?(bhearsum)
Updated•7 years ago
|
Attachment #8891900 -
Flags: review?(bhearsum) → review+
Updated•7 years ago
|
Attachment #8891901 -
Flags: review?(bhearsum) → review+
Updated•7 years ago
|
Attachment #8891903 -
Flags: review?(bhearsum) → review+
Pushed by rstrong@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/f632eede0f19 Update mar file generation scripts for lzma. r=bhearsum, r=rail, a=app_update_lzma https://hg.mozilla.org/mozilla-central/rev/bbd46c077793 Update mar file generation scripts for lzma. r=bhearsum https://hg.mozilla.org/mozilla-central/rev/7f9ed540c827 New mar convertor script to convert a mar file from bzip2 to lzma and from lzma to bzip2. r=bhearsum, a=app_update_lzma https://hg.mozilla.org/mozilla-central/rev/87824406b9fe sign mar files using the sha384 certificate. r=bhearsum, a=app_update_sha384
Assignee | ||
Updated•7 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox54:
--- → wontfix
status-firefox55:
--- → wontfix
status-firefox56:
--- → fixed
status-firefox-esr52:
--- → wontfix
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•