-
-
Notifications
You must be signed in to change notification settings - Fork 293
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
[gixp pack-receive] The first proper fetch to a bare repository #104
Comments
What's the status on |
If this is outlook isn't too frightening for you, I'd be happy to get you involved in some capacity. |
I have never contributed to gitoxide so I'm not too familiar with it yet, but I learn things quickly - nothing frightens me :) so yes, I'm more than happy to try things out if you give me some pointers in the right direction. |
Have you had a chance to check out the backlog here? https://github.com/Byron/gitoxide/projects/1 A good way to get acquainted with
A way forward would be for you to find something you are comfortable to get started, then we could kick it off in a 1:1 even. Just let me know. PS: I connected to you on keybase, a way to reach out to me in a more realtime and private fashion, as needed. |
@Nytelife26 @Byron Had the chance to get progress on this one ? :) |
All building blocks for a bare clone exist, they haven't been put into a cohesive package though. A non-bare clone is in the works which will include the bare one by its very nature. |
Do what's needed to fetch as good as git does (on a bare repository, one without a working tree). This particularly includes proper ref handling as well as safety in the light of concurrent repository access.
Tasks
gixp pack-receive
intogixp clone
creating an empty repository (for lack of index handling/checkout) and cloning the first pack.git-protocol
.git-repository
to greatly simplifying doing ref-listings and fetches?Archive
Research
Research
Reflog Handling
Refs Writing
REF_LOG_ONLY
but they are deleted with the owning reference.File Locking
git-lock
.Reflogs
Refs Writing
cargo
uses flock for comparison with different semantics.Signal-Hook
std::mem::forget
to implement it correctly.Done Tasks
ctrlc
usage with signal-hook (i.e. current atexit handler for interrupts)git-features::interrupt
intogit-repository
as this kind of utility is for application usage only. There thegit-tempfile
integration makes sense, too.with_mut
less cumbersome to use by assuming the interrupt handler will indeed abort.()
- unit errors per feature toggle.commit()
is recoverablegit-ref
filebuffer
Reference::peel_to_id()
should optionally peel tags as well to obtain the final object id #140The text was updated successfully, but these errors were encountered: