Skip to main content

Automatic Changelog generator using Jinja2 templates.

Project description

git-changelog

pipeline status coverage report documentation pypi version Gitter

Automatic changelog generator. From git logs to change logs.

Table of contents

Features

Requirements

git-changelog requires Python 3.6 or above.

To install Python 3.6, I recommend using pyenv.
# install pyenv
git clone https://github.com/pyenv/pyenv ~/.pyenv

# setup pyenv (you should also put these three lines in .bashrc or similar)
export PATH="${HOME}/.pyenv/bin:${PATH}"
export PYENV_ROOT="${HOME}/.pyenv"
eval "$(pyenv init -)"

# install Python 3.6
pyenv install 3.6.8

# make it available globally
pyenv global system 3.6.8

Installation

With pip:

python3.6 -m pip install git-changelog

With pipx:

python3.6 -m pip install --user pipx

pipx install --python python3.6 git-changelog

Usage (command-line)

usage: git-changelog [-h] [-o OUTPUT] [-s {angular,atom,basic}]
                     [-t {angular,keepachangelog}] [-v]
                     REPOSITORY

Command line tool for git-changelog Python package.

positional arguments:
  REPOSITORY            The repository path, relative or absolute.

optional arguments:
  -h, --help            Show this help message and exit.
  -o OUTPUT, --output OUTPUT
                        Output to given file. Default: stdout.
  -s {angular,atom,basic}, --style {angular,atom,basic}
                        The commit style to match against.
  -t {angular,keepachangelog}, --template {angular,keepachangelog}
                        The Jinja2 template to use. Prefix with "path:" to
                        specify the path to a directory containing a file
                        named "changelog.md".
  -v, --version         Show the current version of the program and exit.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git-changelog-0.2.0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

git_changelog-0.2.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file git-changelog-0.2.0.tar.gz.

File metadata

  • Download URL: git-changelog-0.2.0.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.6.9 Linux/5.3.12-arch1-1

File hashes

Hashes for git-changelog-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a38a22af622d414afb2e9ecd21570d284e957757025ffd4c238d3fbb744326b0
MD5 4d7b14f5aea6b95ebdfe95892a30a74a
BLAKE2b-256 7b9113d1d4a02d659502558eaf0392dca1114b6b3537947996e0493093cbfe44

See more details on using hashes here.

File details

Details for the file git_changelog-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: git_changelog-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.6.9 Linux/5.3.12-arch1-1

File hashes

Hashes for git_changelog-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 549925004b061638aaa52f4c7a7f8e4fcefe34a9f21fa7d112d58c66579d08b9
MD5 98ff2a5d39aedaa9a290cd039703be7e
BLAKE2b-256 c6c9bddc5782d7fac5d1f2a4897fa610f7755c75e45bee1d22839f7832c8e699

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page