forked from rarias/jungle
Only save relevant packages from intel repo
Refactored the parsing and dependency resolution logic into a single Haskell script.
This commit is contained in:
@@ -7,5 +7,4 @@ trap 'rm -f "$out_64" "$out_all"' EXIT INT HUP
|
||||
curl https://apt.repos.intel.com/oneapi/dists/all/main/binary-amd64/Packages -o "$out_64"
|
||||
curl https://apt.repos.intel.com/oneapi/dists/all/main/binary-all/Packages -o "$out_all"
|
||||
|
||||
# NOTE: we use `jq -r tostring` to minify the json (3.2Mb -> 2.3Mb)
|
||||
cat "$out_64" "$out_all" | ./toJson.awk | ./process.jq | jq -r tostring >packages.json
|
||||
cat "$out_64" "$out_all" | runghc ./update.hs 2023.1.0 2024 2025 >packages.toml
|
||||
|
||||
Reference in New Issue
Block a user