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

submodules in gix #983

Merged
merged 10 commits into from
Aug 21, 2023
Merged

submodules in gix #983

merged 10 commits into from
Aug 21, 2023

Conversation

Byron
Copy link
Member

@Byron Byron commented Aug 17, 2023

Follow-up of #977

Tasks

  • open module file from all possible locations with caching
  • submodule type with ability to obtain its repository
  • listing of submodules
  • expose all remaining submodule attributes
  • submodule repository (with explanation of the states it can be in)
  • be sure the opened submodule repo knows its 'kind'
  • assure we can read all supported ways a submodule repo is stored
  • update git2 comparison with pathspecs and submodule APIs
  • gix index entries with --recurse-submodules

Out of scope/Next PR

  • gix submodule list
  • checkout of submodules (probably needs some more research to see how cargo needs it, they kind of handle it themselves anyway so let's go for that as well)

@Byron Byron force-pushed the submodule-in-gix branch 8 times, most recently from 31dc54b to a051ade Compare August 18, 2023 13:55
@Byron Byron force-pushed the submodule-in-gix branch 4 times, most recently from c467f66 to ee24dbc Compare August 20, 2023 19:13
The previous version of this loop, possibly preferable, ran into
a borrow-check issue that was no more from Rust 1.70 onwards.
…ion time.

It's made so that overrides can still be applied at a later point.
…active_platform()`.

With this platform it's possible to make repeated checks to see if a named submodule is active.
…` to use non-worktree versions of source easily.
@Byron Byron merged commit 36f7b78 into main Aug 21, 2023
17 checks passed
@Byron Byron deleted the submodule-in-gix branch August 21, 2023 12:04
@Byron Byron mentioned this pull request Aug 21, 2023
6 tasks
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