Skip to content

Commit

Permalink
git-lfs might fail early; let's rely on these caches to be recreated,…
Browse files Browse the repository at this point in the history
… where possible

Maybe this also means that one should prefer to not use git-lfs at all
and keep data in the packs themselves, it still shouldn't be too much overall.

Butl... for now, let's try to keep it to make the experience.

Here we choose the quick way out by simply checking in the archives in question
and by disabling git-lfs for them.

That way, most of the scripts still run, but we don't have to square the circle
trying to get these scripts portable, or spend a lot of time figuring out why
some baselines don't match perfectly (on windows).
  • Loading branch information
Byron committed Dec 10, 2023
1 parent 98b08f4 commit 762cc39
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ jobs:
- name: "cargo check default features"
if: startsWith(matrix.os, 'windows')
run: cargo check --all --bins --examples
- run: git lfs fetch && git lfs checkout
- run: |
git lfs fetch && git lfs checkout || true
- uses: taiki-e/install-action@v1
with:
tool: nextest
Expand Down
1 change: 1 addition & 0 deletions gix-glob/tests/fixtures/generated-archives/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
make_baseline.tar.xz -filter
Binary file modified gix-glob/tests/fixtures/generated-archives/make_baseline.tar.xz
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
make_trees.tar.xz -filter
Binary file modified gix-object/tests/fixtures/generated-archives/make_trees.tar.xz
Binary file not shown.
2 changes: 2 additions & 0 deletions gix-pathspec/tests/fixtures/generated-archives/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
parse_baseline.tar.xz -filter
match_baseline_files.tar.xz -filter
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
basic.tar.xz -filter
Binary file modified gix-submodule/tests/fixtures/generated-archives/basic.tar.xz
Binary file not shown.
2 changes: 2 additions & 0 deletions gix/tests/fixtures/generated-archives/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
make_rev_spec_parse_repos.tar.xz -filter
make_diff_repo.tar.xz -filter
Binary file not shown.

0 comments on commit 762cc39

Please sign in to comment.