-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add gitoxide
feature
#52
Conversation
CI seems to be legit?!
|
You're right, I will see if I can reproduce this error on an i686-windows machine. Will report back here as soon as I find something, sorry about the delay! The tests running on Ubuntu seem to pass and x86_64-windows on appveyor also seem to run fine though :) |
Thanks for the initiative. I can't say I'm overly enthusiastic about the proposal, as the user-facing features derived from |
Oh, that's a bummer.
Thanks for that :)! And this is exactly why we integrate into as many and diverse projects as possible. Lastly, please don't take this PR as any kind of pressure - as far as I am concerned I am already happy if |
@Byron All your comments are fair points and I welcome the initiative. My words of advice would be a) not to overburden the |
Thank you, I will be sure to choose wisely. From my experience it's all about priorities in the end as a lot of features are needed and there is no way around them, and wanting to integrate with another project is usually great to change priorities to make it work.
In any case, if the timeline of getting |
A quick update: gitoxide should now have support for 32-bit systems. The checks here fail because cargo cannot download crates due to an |
I think during this time GitHub was broken and I wouldn't be surprised if it would just get through if the job is being restarted. |
The appveyor failure is due to it still being on an VS2015-image, which I now switched over. Congratulations on making Is there a prospect of replacing |
Thank you! It wasn't even that hard. It should be noted that on 32 bit platforms, some limitations apply as packs can't exceed a certain size then.
It's fair to wait until this is possible - Tests would still use |
That would entail a de-facto dependency on a |
Yes, it leverages the presence of |
I guess its fair enough to assume that a |
Hi @lukaslueg, I have started a new integration PR which will supersede this one when it's posted here later this year. Thus I recommend closing this PR in the meantime. Thank you, and sorry for the delays. |
Looking forward to the gitoxide integration @Byron! I just ran into some compile errors when attempting to use |
@AlJohri Can |
@AlJohri I am finally working on |
Hi there,
We saw that
built
depends on thegit2
crate to populate some of itsGIT_*
related variables. Have you considered usinggitoxide
for that purpose?In general,
gitoxide
aims to provide the same functionality asgit2
(and much more beyond that). It is built entirely in rust from the ground up, with a high focus on correctness, usability, and performance.Benefits
gitoxide
is generally faster thangit2
and uses fewer system resources.gitoxide
aims to offer more git functionality thangit2
.gitoxide
offers a friendlier API interface and documentation.git-repository
with itsmax-performance-safe
feature does not depend on any C build tooling / libraries.gitoxide
's first major release.Considerations
gitoxide
is still missing the capability of doing a diff between worktree and index (akagit status
). However, this feature will be available within the first half of 2023.built
withgitoxide
will be higher, as for the momentgit2
is still required forgit status
functionality. This will change and compile times should be about the same as soon asgit status
is available ingitoxide
.Request for Feedback
I went ahead and added an implementation for
gitoxide
behind a feature toggle to show what it could look like.There are a few opportunities to refactor and make this code more maintainable, but I first wanted to showcase the changes in a more simple way and I would be happy to adjust this if this PR moves along.
I would appreciate your feedback if there is any interest in integrating
gitoxide
intobuilt
, and if not I am also happy to close this PR.Thank you for your time