changeloggh is a command line tool that generates changelog files for github
Project description
changeloggh
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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 956e51aa4aaa0678916c776756f200776f978bf7ca65eb632081bdd971b55c4f |
|
MD5 | 1d26a559a7d2bba006ddfac55da0344e |
|
BLAKE2b-256 | 9d49ea99796954a8bc71a23e56c79b74d97ea0f7d0bb4d14d0f2a0349b6a11ce |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61f9ec86e0e589aaa9ba56d95843faa71f9c0abbcb6af1df53e500ec90a31ab2 |
|
MD5 | 39fade39c7621865d2b44ea25e7fa595 |
|
BLAKE2b-256 | 19f2093f57fb2d917c8311a1c39805054d70c72125d051c55daa559308e4661e |