ClickHouse/utils/changelog
2024-06-12 14:43:22 +02:00
..
.gitignore Add caching for GitHub PR objects 2022-05-25 00:05:53 +02:00
changelog.py Move changelog script to tests/ci 2024-06-12 14:43:22 +02:00
README.md Migrate changelog from outdated fuzzywuzzy to a new thefuzz 2024-06-04 21:29:53 +02:00
requirements.txt Migrate changelog from outdated fuzzywuzzy to a new thefuzz 2024-06-04 21:29:53 +02:00

How To Generate Changelog

Generate github token:

Dependencies:

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

Usage example:

Note: The working directory is ClickHouse/utils/changelog

GITHUB_TOKEN="<your token>"

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