Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Generate a well formatted RST/MarkDown file from git releases or commit messages

License

NotificationsYou must be signed in to change notification settings

thevickypedia/gitverse

Repository files navigation

Pypi-versionPython

pages-build-deploymentpypi-publish

Pypi-formatPypi-status

MaintainedGitHub Repo createdGitHub commit activityGitHub last commit

GitVerse

Get GitHub's release notes or commit history and format it intoreStructuredText/Markdown documents.

Installation

pip install gitverse

Usage

Release Notes (Tags)

Generate release notes from releases tagged in GitHub

gitverse-release

Tries to get release notes, using GitHub API
If failed, uses the commit message as notes for the associated release
This feature optionally takesGIT_TOKEN as an environment variable if it is generated for a personal repo

Known issue related to the order of release notes
  • There is a known issue with GitHub where thegit tag command returns incorrect timestamp(when tags are created in different timezones)
  • If the release notes are not generated in the expected order, please run the following command to verify
git for-each-ref --sort='-creatordate' --format'%(refname:short) %(creatordate:iso8601)' refs/tags
  • If the output is in expected order, please raise anissue

Commit History

Generate commit history from git log

gitverse-commit

Options

  • debug - Enable debug mode for logging.
  • reverse - Generate commit history/release notes in reverse order.

Flags

  • -b Gather commit notes specific to a branch. UsesDefault branch if not passed. (Only forgitverse-commit)
  • -f Write the commit notes to a custom filename.
  • -t Title or index line for the file generated.

Sample

release_notes.rst

changelog.rst

Linting

PreCommit will ensure linting, and the doc creation are run on every commit.

Requirement

pip install sphinx==5.1.1 pre-commit==2.20.0 recommonmark==0.7.1

Usage

pre-commit run --all-files

Pypi Package

pypi-module

https://pypi.org/project/gitverse/

Runbook

made-with-sphinx-doc

https://thevickypedia.github.io/gitverse/

License & copyright

© Vignesh Rao, GitVerse

Licensed under theMIT License

About

Generate a well formatted RST/MarkDown file from git releases or commit messages

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp