Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gix-testtools - tar only #1415

Merged
merged 3 commits into from
Jun 23, 2024
Merged

gix-testtools - tar only #1415

merged 3 commits into from
Jun 23, 2024

Conversation

Byron
Copy link
Member

@Byron Byron commented Jun 23, 2024

Only keep tar files, now that git-lfs is a thing of the past.

Previously, compression was beneficial due to storage in `git-lfs`.
Now, storing (mostly) non-binary files is actually better moving forward.
These aren't quite as binary and Git can nicely delta-compress changes
to them.
@Byron Byron marked this pull request as ready for review June 23, 2024 09:22
@Byron Byron merged commit 1dfa90d into main Jun 23, 2024
19 checks passed
@Byron Byron deleted the tar-only branch June 23, 2024 10:47
EliahKagan added a commit to EliahKagan/gitoxide that referenced this pull request Jun 30, 2024
These are the changed archives generated by fixture scripts by
running `cargo nextest run --all --no-fail-fast` on an Ubuntu 22.04
system. (All tests passed, as expected.)

The changed archives divide into two cases. First, there are those
that are changed due to the stylistic changes to heredocs in the
preceding commit 2641f8b (which change the CRC32 hashes of the
scripts and thus cause archives to be regenerated):

* gix-index/tests/fixtures/generated-archives/v2_icase_name_clashes.tar
* gix-worktree-state/tests/fixtures/generated-archives/make_dangling_symlink.tar
* gix/tests/fixtures/generated-archives/make_rev_spec_parse_repos.tar

Second, there are those that were already being generated when the
tests were run, rather than using the committed archives:

* gix-diff/tests/fixtures/generated-archives/make_diff_repo.tar
* gix-odb/tests/fixtures/generated-archives/make_repo_multi_index.tar

These were being generated every time that `nextest` command was
run on Unix-like systems (or at least GNU/Linux and macOS). I don't
know why this was happening, but it suggests a bug somewhere.

- That oddity precedes 55c635a (GitoxideLabs#1425), I just didn't commit the
  two archives not related to the changes being made there at that
  time, since unlike here, that was not a cleanup PR.

- It precedes, or mostly precedes, the change in dcab79a (GitoxideLabs#1415). At
  least the first of those archives, make_diff_repo.tar, already
  behaved this way in its .tar.xz form before that, as noted in:
  GitoxideLabs#1361 (comment)
LuaKT pushed a commit to LMonitor/gitoxide that referenced this pull request Aug 20, 2024
These are the changed archives generated by fixture scripts by
running `cargo nextest run --all --no-fail-fast` on an Ubuntu 22.04
system. (All tests passed, as expected.)

The changed archives divide into two cases. First, there are those
that are changed due to the stylistic changes to heredocs in the
preceding commit 2641f8b (which change the CRC32 hashes of the
scripts and thus cause archives to be regenerated):

* gix-index/tests/fixtures/generated-archives/v2_icase_name_clashes.tar
* gix-worktree-state/tests/fixtures/generated-archives/make_dangling_symlink.tar
* gix/tests/fixtures/generated-archives/make_rev_spec_parse_repos.tar

Second, there are those that were already being generated when the
tests were run, rather than using the committed archives:

* gix-diff/tests/fixtures/generated-archives/make_diff_repo.tar
* gix-odb/tests/fixtures/generated-archives/make_repo_multi_index.tar

These were being generated every time that `nextest` command was
run on Unix-like systems (or at least GNU/Linux and macOS). I don't
know why this was happening, but it suggests a bug somewhere.

- That oddity precedes 55c635a (GitoxideLabs#1425), I just didn't commit the
  two archives not related to the changes being made there at that
  time, since unlike here, that was not a cleanup PR.

- It precedes, or mostly precedes, the change in dcab79a (GitoxideLabs#1415). At
  least the first of those archives, make_diff_repo.tar, already
  behaved this way in its .tar.xz form before that, as noted in:
  GitoxideLabs#1361 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant