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

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>

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 files 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.1.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

changeloggh-1.1.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: changeloggh-1.1.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for changeloggh-1.1.0.tar.gz
Algorithm Hash digest
SHA256 956e51aa4aaa0678916c776756f200776f978bf7ca65eb632081bdd971b55c4f
MD5 1d26a559a7d2bba006ddfac55da0344e
BLAKE2b-256 9d49ea99796954a8bc71a23e56c79b74d97ea0f7d0bb4d14d0f2a0349b6a11ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: changeloggh-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for changeloggh-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61f9ec86e0e589aaa9ba56d95843faa71f9c0abbcb6af1df53e500ec90a31ab2
MD5 39fade39c7621865d2b44ea25e7fa595
BLAKE2b-256 19f2093f57fb2d917c8311a1c39805054d70c72125d051c55daa559308e4661e

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