
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
This project is forked from original tomgi/git-stats.
NovaGitStats is a git repository statistics generator. It browses the repository and outputs html page with statistics.
$ gem install nova_git_stats
# apt-get install ruby ruby-nokogiri ruby-nokogiri-diff ruby-nokogumbo
# gem install nova_git_stats
$ sudo apt-get install ruby ruby-dev gcc zlib1g-dev make
$ sudo gem install nova_git_stats
$ git_stats
Commands:
git_stats generate # Generates the statistics of a git repository
git_stats help [COMMAND] # Describe available commands or one specific command
git_stats version # Show GitStats version number and quit
$ git_stats help generate
Usage:
git_stats generate
Options:
-p, [--path=PATH] # Path to git repository from which statistics should be generated.
# Default: .
-o, [--out-path=OUT_PATH] # Output path where statistics should be written.
# Default: ./git_stats
-l, [--language=LANGUAGE] # Language of written statistics.
# Default: en
-f, [--first-commit-sha=FIRST_COMMIT_SHA] # Commit from where statistics should start.
-t, [--last-commit-sha=LAST_COMMIT_SHA] # Commit where statistics should stop.
# Default: HEAD
-s, [--silent], [--no-silent] # Silent mode. Don't output anything.
-d, [--tree-path=TREE_PATH] # Tree path of where statistics should be generated.
# Default: .
-c, [--comment-string=COMMENT_STRING] # The string which is used for comments.
# Default: //
Generates the statistics of a git repository
$ git_stats generate
git rev-list --pretty=format:'%h|%at|%ai|%aE' HEAD | grep -v commit
git shortlog -se HEAD
...
$ git_stats generate -o stats --langugage de
git rev-list --pretty=format:'%h|%at|%ai|%aE' HEAD | grep -v commit
git shortlog -se HEAD
...
> repo = GitStats::GitData::Repo.new(path: '.', first_commit_sha: 'abcd1234', last_commit_sha: 'HEAD')
> repo.authors
=> [...]
> repo.commits
=> [...]
> commit.files
=> [...]
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that nova_git_stats demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.