oxalica / rust-overlay

Pure and reproducible nix overlay of binary distributed rust toolchains
MIT License
960 stars 57 forks source link

Nightly and beta cut-off at 2023-01-01 to shrink repository size #172

Closed oxalica closed 4 months ago

oxalica commented 6 months ago

Fixes #160

This reduces source size from 50MiB tar (33MiB tar.gz) to 18MiB tar (12MiB tar.gz). The planned strategy is to purge nightly and beta versions ealier than {current_year - 1}-01-01. That means only the recent 1-2 years of nightly/beta history is kept.

UPDATE: There is some statistics available (mentioned by zulip) about traffic from different cargo versions available. We can estimate the usage of nighly version older than 1yr ago to be ~0.15%. I think it's safe to purge nightly versions older than that. A script analyzing the JSON response in that data page is added as scripts/cargo_stat_analysis.py.

The first snapshot tag: snapshot/2024-08-01