Skip to content

Commit

Permalink
Nightly and beta cut-off at 2023-01-01 to shrink repository size (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
oxalica authored Aug 1, 2024
2 parents c02e7d3 + 9505133 commit 4b82f54
Show file tree
Hide file tree
Showing 1,802 changed files with 154 additions and 3,616 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,21 @@ permissions:
contents: read

jobs:
# TODO: `nix flake check` costs too much time and memory for GitHub Actions machines.
flake-check:
name: Flake check
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Nix
uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable

- name: Check flake
run: nix flake check -v --show-trace --no-update-lock-file

check-sync-script:
name: Check sync script is deterministic
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ target
result
result-*
*.tmp
__pycache__

examples/cross-aarch64/flake.lock
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,16 @@ Features:

- These hashes are auto-updated daily using GitHub Actions.

- Current oldest supported version is stable 1.29.0 and beta/nightly 2018-09-13
(which are randomly picked and may change over time).
- Current oldest supported stable version is 1.29.0 which are randomly picked.

Stable versions will not be purged currently.

- Current oldest supported nightly version is 2023-01-01.

To prevent significant repository size bloating, our current strategy is keep
only nightly and beta versions not earlier than `{current_year - 1}-01-01`.
Earlier versions may be accessed via
[old snapshot tags](https://github.com/oxalica/rust-overlay/tags).

- We targets nixos-unstable and supported releases of NixOS, on x86\_64-linux.
They are tested on CI. Other platforms and nixpkgs channels may also work but
Expand Down
1 change: 0 additions & 1 deletion manifests/beta/2018/2018-09-19.nix

This file was deleted.

Loading

0 comments on commit 4b82f54

Please sign in to comment.