Misc improvements for fetch-content
Categories
(Firefox Build System :: Task Configuration, task)
Tracking
(firefox70 fixed)
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(4 files)
Some of what's coming supersede bug 1479533.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
And use that in git_checkout_archive.
Assignee | ||
Comment 3•5 years ago
|
||
Bug 1479533 was proposing to add a similar functionality, but this
iteration avoids actually unpacking anything, and ensures
reproducibility by relying on the reproducible bits from the original
archives: file ordering, flags, etc. (since they are checksummed, those
are never going to change for a given archive).
Another notable difference is that this applies the repack on the fetch
task itself, rather than create a separate task to apply the repack. The
latter has advantages, in that it allows to change the repacking without
redownloading the original file from a third-party server, but in
practice, most changes to the repacking would trigger the download tasks
anyways.
This patch only takes care of changing the archive type (zip->tar), and
the compression type (anything->zstandard).
Assignee | ||
Comment 4•5 years ago
|
||
Namely:
- adding a prefix,
- stripping path components.
Comment 6•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/95f15f6c8fb9
https://hg.mozilla.org/mozilla-central/rev/44f285f40796
https://hg.mozilla.org/mozilla-central/rev/a801d59b70a5
https://hg.mozilla.org/mozilla-central/rev/dc8f0af3a4d6
Description
•