ClickHouse/utils/changelog
2022-12-09 21:33:06 +01:00
..
.gitignore Add caching for GitHub PR objects 2022-05-25 00:05:53 +02:00
changelog.py Create GitHub cache directory optionally by default 2022-12-09 21:33:06 +01:00
git_helper.py Rewrite changelog generator to pure python 2022-05-10 11:25:36 +02:00
github_helper.py Use github_helper in changelog, use a robot token in CI 2022-07-20 17:28:46 +02:00
README.md Update README.md 2022-09-14 17:53:15 +03:00
requirements.txt Rewrite changelog generator to pure python 2022-05-10 11:25:36 +02:00

How To Generate Changelog

Generate github token:

Dependencies:

sudo apt-get update
sudo apt-get install git python3 python3-fuzzywuzzy python3-github
python3 changelog.py -h

Usage example:

git fetch --tags # changelog.py depends on having the tags available, this will fetch them

python3 changelog.py --output=changelog-v22.4.1.2305-prestable.md --gh-user-or-token="$GITHUB_TOKEN" v21.6.2.7-prestable
python3 changelog.py --output=changelog-v22.4.1.2305-prestable.md --gh-user-or-token="$USER" --gh-password="$PASSWORD" v21.6.2.7-prestable