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

In gix-testtools, use ignore and index via gix_worktree #1591

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

EliahKagan
Copy link
Member

@EliahKagan EliahKagan commented Sep 11, 2024

This removes the gix-ignore and gix-index direct dependencies of gix-testtools, by having gix_testtools use them through gix-worktree, accessing gix_worktree::ignore for gix_ignore and gix_worktree::index for gix_index.

The rationale is that various other gix-* dependencies were used this way already, and also that this specific change appears to have been planned, based on the TODO comment in ddaacda (#1413).

Just in case this were to have unanticipated ramifications, I've rerun the full test suite, after gix clean -xde, both with and without GIX_TESTS_IGNORE_ARCHIVES=1, locally on Ubuntu 22.04 LTS and Windows 10.

(On Windows 10 without using pre-generated archives, there are failures, but the failures are the same as in #1358 and #1358 (comment) in this gist, indicating that the changes in this PR have not broken Windows either.)

This removes the `gix-ignore` and `gix-index` direct dependencies
of `gix-testtools`, by having `gix_testtools` use them through
`gix-worktree`, accessing `gix_worktree::ignore` for `gix_ignore`
and `gix_worktree::index` for `gix_index`.

The rationale is that various other gix-* dependencies were used
this way already, and also that this specific change appears to
have been planned, based on the TODO comment in ddaacda (GitoxideLabs#1413).
@EliahKagan

This comment was marked as resolved.

Copy link
Member

@Byron Byron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for all this cleanup, it's much appreciated!

@Byron Byron merged commit c485a2b into GitoxideLabs:main Sep 11, 2024
15 checks passed
@EliahKagan EliahKagan deleted the run-ci/deps-via-worktree branch September 11, 2024 07:34
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.

2 participants