Closed Bug 1546870 Opened 5 years ago Closed 5 years ago

Package win*-rust toolchains as tar.xz

Categories

(Firefox Build System :: Toolchains, defect)

defect
Not set
normal

Tracking

(firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(2 files)

No description provided.

For some reason, using tar -Jxf with Windows paths fails, and that makes
mach artifact toolchain unable to pull .tar.xz archives on Windows.

However, executing xz -d -c works, and we can feed its output to
python's tarfile.

This uniformizes the artifact name across platforms. We may want to do
the same for other toolchains, but it bears the question whether xz is
reliably available on users' Windows machines, while it doesn't matter
for rust, since mach bootstrap pulls it with rustup rather than from
automation, contrary to other toolchains.

Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/deb76e88424b
Make extracting .tar.xz work with mach artifact toolchain. r=froydnj
https://hg.mozilla.org/integration/autoland/rev/8c3a37a0a53e
Package win*-rust toolchains as .tar.xz. r=froydnj
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: