I’ve recently written a small command line utility using Python 3.6 which will produce a
CHANGELOG.md file from the commit differences between two different GitLab project branches. I’ve released this as an open source Python package and it’s available from PyPi here. Not intended to be a direct replacement for writing a manual changelog, the utility should be used as a draft upon which to build.
If you’re interested in using this utility, you can install it using pip by running the following command:
pip install gitlab-changelog-generator
An example command to generate a
CHANGELOG.md file from the difference in commits between
release branches for a locally hosted GitLab repository project named ‘test-project’, labelling the version as 1.1.
changegen --ip localhost --group test-projects --project test-project --branches master release --version 1.1
I’ve got some tidying up left to do such as better exception handling and cleaner logging, but the package works in it’s current state. You can contribute features or towards existing issues by raising a pull request at the project GitHub repository.