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

Use git2-rs or gitoxide instead of git command! #39

Open
thinkgos opened this issue Jan 18, 2024 · 1 comment
Open

Use git2-rs or gitoxide instead of git command! #39

thinkgos opened this issue Jan 18, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers rust Pull requests that update Rust code

Comments

@thinkgos
Copy link
Owner

thinkgos commented Jan 18, 2024

we use git command on search, install ... , We depend on the environment git. remove this dependence may be much better.

git crate for git.

  • gitoxide: pure rust implementation of Git
  • git2-rs: libgit2 bindings for Rust
@thinkgos thinkgos added enhancement New feature or request good first issue Good for newcomers rust Pull requests that update Rust code labels Jan 18, 2024
@thinkgos thinkgos changed the title Use git2-rs or gitoxide instead of command git! Use git2-rs or gitoxide instead of git command! Jan 18, 2024
@thinkgos
Copy link
Owner Author

thinkgos commented Feb 2, 2024

first we can use octocrab(GitHub API client) to get some inforamation, then if failed, we can fallback use git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers rust Pull requests that update Rust code
Projects
None yet
Development

No branches or pull requests

1 participant