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

filter refspecs in git-repository #534

Merged
merged 32 commits into from
Sep 18, 2022
Merged

filter refspecs in git-repository #534

merged 32 commits into from
Sep 18, 2022

Conversation

Byron
Copy link
Member

@Byron Byron commented Sep 16, 2022

Tasks

  • integrate mappings with git-repository
  • gix remote sub-command to display information about what would be done
  • nicer printing of fixes
  • output server info and total amount of remote refs returned (or those that didn't pass the filter)

Predecessor

)

Previously it was inaccurately named and described due to an
insufficient understanding of the ref database.
Now the types have to be converted to refer to our remote's refspecs,
possibly, even though maybe that's too much and a simple 1:1 conversion
that degenerates information is enough for all the use-cases.
…t_refs_to_map()`. (#450)

With it it's possible to establish a relationship between what's about
to be fetched to local tracking branches as established by refspecs for
fetching.
This also puts the burden of accessing specs and keeping these values
consistent to the user.
This allows for interesting visualizations, and maybe make clear
how ref-specs work to users by showing them with what they matched.
…installation configuration paths. (#450)

Note that these are lazily cached as they call the `git` binary.
This also fixes a bug that may cause the actual System location to be
ignored and replaced with the git installation location. Now it's
additive.
…450)

It does more work as well, but it seems unnecessary to maintian a bigger
API surface and it might be key to turning this into a step-by-step
transition to fetching packs and updating local references.
Without implementation though, which is mainly display.
@Byron Byron merged commit 3773b92 into main Sep 18, 2022
@Byron Byron deleted the filter-refs branch September 18, 2022 13:20
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