Repository navigation
libexpr: support .tar.zst and .tar.bz2 for channels - #16709
Open
GraysonTinker wants to merge 2 commits into
Open
GraysonTinker wants to merge 2 commits into
GraysonTinker wants to merge 2 commits into
Conversation
Based off the work of Raito Bezarius in https://git.lix.systems/lix-project/lix/commit/00a20b8c7dedf2d4b98ef1d631f83959c3a42ea5. Co-authored-by: Raito Bezarius <[email protected]>
Closes NixOS#16126. Based off the work of Raito Bezarius in https://git.lix.systems/lix-project/lix/commit/049cc4e1322b07173f79f67bf64ecd257afeb7d0. Co-authored-by: Raito Bezarius <[email protected]>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adapted mostly from this Lix commit. Second part of #16685, and closes #16126.
Motivation
.tar.xzchannel tarballs are deprecated and will eventually be replaced with.tar.zst. This PR finishes adding support for the zstd tarballs tofetchTarballand libexpr.Implementation
The zstd tarballs are now fetched when possible, which is all currently supported branches. Otherwise, it falls back to regular xz. (bz2 tarballs are now also checked, like in nix-channel -- these were used for some extremely old releases.)
I recommend reviewing the
fetchTreechanges with whitespace disabled. A lot of the diff is indentation noise.Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.