Skip to main content

Automatic Changelog generator using Jinja2 templates.

Project description

git-changelog

ci documentation pypi version gitter

Automatic Changelog generator using Jinja2 templates. From git logs to change logs.

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.12

# make it available globally
pyenv global system 3.6.12

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.4.1.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

git_changelog-0.4.1-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: git-changelog-0.4.1.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.9.14-arch1-1

File hashes

Hashes for git-changelog-0.4.1.tar.gz
Algorithm Hash digest
SHA256 605e6a9fc23579aacf916b3aad266a77d5ceedf447d3a0e8d180efef661dd77c
MD5 554a35d9bbda96dea62119b538d4c950
BLAKE2b-256 16c82963fa282749085d03a7db4d191ae38fbae75c6746e39c87051319c6a2ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: git_changelog-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.9.14-arch1-1

File hashes

Hashes for git_changelog-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4fb01e8ddae8dc291e600e4acc2c2bbca7c7bf83c6a2b895d4ff8c5c45926076
MD5 4a1d6c40428c894f1bf19b7b0188a9e1
BLAKE2b-256 79265b60b2dd9a885533e044610a23f52613d78a83e863d0e1b34f53f96d8c4f

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