gitoxide/.github/copilot-instructions.md at main · GitoxideLabs/gitoxide

An idiomatic, lean, fast & safe pure Rust implementation of Git - GitoxideLabs/gitoxide

GitHub

Hello #FediHelp I am trying to create a script using #git in #rustlang

I need to:
- blame (including blaming a file from other commits than the current one)
- show basic information about a commit (sha-1, author, date, commit message)
- iterate on the hunks of the diff introduced by a given commit (hunk with the +/- sign and context)

Should I:

- Shell out and parse the result of git cli output
- use #libgit2 binding
- use #gitoxide if possible, libgit2 when the API I need does not exist yet

I just installed #gix (which is part of #gitoxide, a reimplementation of git in #rustlang), and whaoo, `gix clone` is fast, that’s impressive!

https://github.com/GitoxideLabs/gitoxide

GitHub - GitoxideLabs/gitoxide: An idiomatic, lean, fast & safe pure Rust implementation of Git

An idiomatic, lean, fast & safe pure Rust implementation of Git - GitoxideLabs/gitoxide

GitHub

Good and quick video but #LetsGetRusty about a new version control manager called #GitOxide. Not quite production ready yet, but it's like Git, just written in Rust.

Rewrite everything in Rust!

Side note, the name seems to refer to rust as a result of oxidation instead of the fungus the language is named after.

#Rust #git #VersionControl #memorysafety #programming

https://youtube.com/watch?v=VpdtFNX-Uyg&si=oNprK8rAVTlbM-GD

Git is getting blazingly fast

YouTube

I'm excited for the prospect of #Rust being in the #Git project. :)

I would've switched to #gitoxide but it has a shit license.

https://www.phoronix.com/news/GCC-Rust-Developer-Discussion

(yes, the phoronix comments are toxic as they always are)

#FOSS

Git Developers Discuss The Possibility Of Beginning To Use Rust Code

Used #gitoxide to include the git hash of the HEAD commit in a program at compile time :D

You have to add gix to your [build-dependencies] in Cargo.toml

#RustLang #Rust

Well. Using #gitoxide instead of #git (libgit2 specifically) made a MAJOR performance speed up. It's still taking a lot of time, but it takes a lot less time. It's visibly faster this way.

Currently, running yet another flamegraph to make sure I am not spending too much time on something else.

And tomorrow I will figure out resuming things properly.

Nosey Parker, the fast and low-noise #secrets detector I'm building, is now 2-3x faster on big #Git repos after switching from libgit2 to #Gitoxide. Can scan 100GB of Linux kernel history in ~1min on an M1 Max!

https://github.com/praetorian-inc/noseyparker

GitHub - praetorian-inc/noseyparker: Nosey Parker is a command-line tool that finds secrets and sensitive information in textual data and Git history.

Nosey Parker is a command-line tool that finds secrets and sensitive information in textual data and Git history. - praetorian-inc/noseyparker

GitHub

#Gitoxide: Checking out he #Linux #kernel in under a second

Discussion
https://github.com/Byron/gitoxide/discussions/349

Checking out the Linux kernel in under a second · Discussion #349 · Byron/gitoxide

Here we will explore how to increase the speed when checking out a repository using the Linux kernel as popular and well-known example. We will see how fast we can go with git itself and then trans...

GitHub