git-fetch-commits

Crates.iogit-fetch-commits
lib.rsgit-fetch-commits
version0.1.0
sourcesrc
created_at2023-12-27 11:19:47.18817
updated_at2023-12-27 11:19:47.18817
descriptionA cool little tool for pulling commit data from a git repository
homepage
repository
max_upload_size
id1081592
size46,162
Tom Wells (drshade)

documentation

README

Git Fetch Commits

Just a cool tool to point at a git repo and return a JSON formatted summary of all commits, including file names, commit messages, timestamp and some basic change metrics.

Maybe a handy tool if you wanted to perform large scale analysis of commit history across multiple git repositories.

Usage

# Compile the project
$ cargo build

# Run
$ cargo run <remote_url_of_repo>

Outputs

JSON output is directed to stdout, whereas progress & logging directed to stderr.

Caveats

  • Only supports remote repos for now. Probably need a switch to support local / filesystem type repos.

Git Authentication

Currently supports SSL Agent based auth as well as Plaintext auth.

Commit count: 0

cargo fmt