Skip to main content

changeloggh is a command line tool that generates changelog files for github

Project description

changeloggh

Python GitHub MIT License GitHub Actions Codecov Python Versions Version Dependencies Platform

changeloggh is a command line tool to generate and administrate changelog files for GitHub according to https://keepachangelog.com/en/1.1.0/.

Screenshots

Installation

pipx install changeloggh

Upgrade with pip:

pipx upgrade changeloggh

Usage

Alias clgh

Help:

changeloggh --help

Version:

changeloggh --version

Init CHANGELOG:

changeloggh init <GitHub Repo>

Add changes:

changeloggh <added|changed|deprecated|removed|fixed|security> "entry 1" "entry 2" ...

Bump version:

changeloggh bump <major|minor|patch>

Release version:

changeloggh release <version>

Import MD:

changeloggh import

Print current version:

changeloggh latest

Print CHANGELOG:

changeloggh print --format <rich|json|text>

Live CHANGELOG version:

changeloggh live

Development

Installing poetry:

pipx install poetry

Installing development dependencies:

poetry install

Installing pre-commit:

poetry run pre-commit install

Running unit tests:

poetry run python -m scripts.tests

Applying code styles:

poetry run python -m scripts.styles

Running code analysis:

poetry run python -m scripts.analyze

Running code coverage:

poetry run python -m scripts.coverage

Running cli using poetry:

poetry run changeloggh

Release a new version

Check https://python-poetry.org/docs/cli/#version

poetry run python -m scripts.bump --help
poetry run python -m scripts.bump <major|minor|patch>

Why a lock file?

A lot of tools (like yarn, npm, poetry ,etc) use lock files to ensures that installations remain identical and reproducible across systems. A lock file saves important metadata, so that is why changeloggh is using this approach. The changelog.lock file saves and structures changelog data in json format. It's highly recommended to commit the changelog.lock file into your repository.

Limitations

  • Does not support other format besides semver major.minor.patch, ex.: 1.1.1.
  • It needs a changelog.lock.

Alternatives

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

changeloggh-1.2.1.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

changeloggh-1.2.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file changeloggh-1.2.1.tar.gz.

File metadata

  • Download URL: changeloggh-1.2.1.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for changeloggh-1.2.1.tar.gz
Algorithm Hash digest
SHA256 c31fecf5fe5bd5afe0e7eaf42defba6bf372684fc65101f50a6fbf028c2cb9bb
MD5 ad19158dd17b122c7702ea225372e5ed
BLAKE2b-256 cfe5cd3036ea57d8e77bc659236875238a05fbd3dc35941c85ae7448c64a6a6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for changeloggh-1.2.1.tar.gz:

Publisher: package.yml on sauljabin/changeloggh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file changeloggh-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: changeloggh-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for changeloggh-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbf72558ec35eb10048647dbb685a913f1254ff350b0aaf12e2460efbef27ee8
MD5 c6a7d1a69d3bcb0de5c4797035f085f4
BLAKE2b-256 415a2089c9dfffc6b1b52cf476e7dd3c165bad26672f46af94e7a8d2845bd8ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for changeloggh-1.2.1-py3-none-any.whl:

Publisher: package.yml on sauljabin/changeloggh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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