From c2453d5bdbb03cf6bdf06aa40246e76ae23396cb Mon Sep 17 00:00:00 2001 From: Tom Forbes Date: Tue, 5 Sep 2023 18:28:37 +0100 Subject: [PATCH] Fix --- .github/workflows/r2.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/r2.yml b/.github/workflows/r2.yml index 70bddfab..a2926bf9 100644 --- a/.github/workflows/r2.yml +++ b/.github/workflows/r2.yml @@ -86,7 +86,7 @@ jobs: print_stats & STATS_PID=$! - git -C checkout/ repack -a -d -f --depth=250 --window=250 --threads=2 --window-memory=3g + git -C checkout/ repack -a -d -f --depth=100 --window=250 --threads=2 --window-memory=3g for file in checkout/.git/objects/pack/*; do extension="${file##*.}" @@ -94,7 +94,7 @@ jobs: done git -C checkout/ rev-list --all --objects | gzip > "checkout/.git/objects/pack/$file_prefix.objects.gz" - aws s3 sync checkout/.git/objects/pack/ s3://pypi-data/packfiles-2/ --region=auto --endpoint-url ${{secrets.ENDPOINT}} --no-progress + aws s3 sync checkout/.git/objects/pack/ s3://pypi-data/packfiles/ --region=auto --endpoint-url ${{secrets.ENDPOINT}} --no-progress aws s3 cp commits.txt s3://pypi-data/packfiles/$file_prefix.commits.txt --region=auto --endpoint-url ${{secrets.ENDPOINT}} --no-progress kill $STATS_PID