Skip to content

Changes needed to use gitoxide for radicle-link test setup #190

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

Merged
merged 91 commits into from
Sep 7, 2021

Conversation

Byron
Copy link
Member

@Byron Byron commented Aug 31, 2021

  • git-actor::Signature::now_local_or_utc()
  • Access::write_object(…)
  • git_object::Object::into_*
  • git_object::Object::try_into_*
  • git_ref::transaction::PreviousValue - more options to specify expected value constraint
  • Simplify References so there is only owned "Raw" references which will work for reftable too and keep things much simpler
  • git_repository::Easy::commit(…)
  • Easy::head() API
  • git-ref::Reference file::Store access cleanup
  • easy::Reference::log*() reflog access (for tests)
  • Easy::iter_references()
  • into_fully_peeled_id() for easy::Reference
  • Easy::set_namespce()
  • namespace support in file store including
    • find_reference(), including
    • follow()
    • iteration
    • transactions
  • ancestor-traversal

Byron added 27 commits August 31, 2021 20:56
…in all relevant crates.

That way server binaries don't have to deal with the extra dependencies.
…just to use its lock mode.
…to simulate the initial commit situation which led to improvements
in the provided API.
…because it still spams the disk anyway, and having it might improve
build speeds.
…n't is lacking…

…as we need a constraint that can't be represented with the current
system.
…maybe this is where we should see that mutating this just to use it in
reflogs isn't the way.
…to avoid bugs that we otherwise would have introduced (without a
failing test mind you).
…such as the distinction between packed and loose refs as well as
how consumers can use references.

This means git-repository will have a much simpler time to deal
with differences between file stores and reftables stores and
it will be easier to grant access to peeling and symref following.
Follow module structure
Byron added 11 commits September 6, 2021 07:55
…and it works like it should.
This shows that finding needs namespace support if it is even something
that we need.
… namespaces…

…which doesn't work unless the fully qualified namespaced name is
provided. This is correct behaviour.

To fix this, one would have to search in a known namespace, which
can be done with some refactoring. This would allow refs to be found
by partial name.

However, doing this is only useful for client applications who want
to namespace a repository and allow the user to search by partial name.
@Byron Byron marked this pull request as draft September 6, 2021 07:56
@Byron Byron merged commit 49f5453 into main Sep 7, 2021
@Byron Byron deleted the repository-integration branch February 9, 2022 00:25
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