Update changelog json file stored in S3 bucket based on open Trello lists with semantic versioning names, e.g. 'v0.10.0'. If called with a version argument, only the content of that version will be updated in the changelog; otherwise, all changelog versions matching open version Trello lists will be updated.
- Requires Python 3.x (initial development using Python 3.7.x)
pip install git+https://github.com/data-mermaid/mermaid-changelog.git
Development environment includes:
- Black for code formatting
- isort for formatting imports
- flake8 for styling and code quality
pyenv virtualenv 3.7.1 mermaid-changelog
pyenv activate mermaid-changelog
git clone https://github.com/data-mermaid/mermaid-changelog.git
cd mermaid-changelog
pip install --editable .
pip install -r requirements-dev.txt
# Get API key and token from https://trello.com/app-key
TRELLO_API_KEY=
TRELLO_TOKEN=
# AWS Key and Secret with S3 Read/Write permissions
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
# AWS S3 Bucket where changelog will be written to
AWS_CHANGELOG_BUCKET=
TRELLO_BOARD_NAME=
# Default: "Collect App, API, Summary API, Dash App"
APP_LABELS =
# Default: "Bug, Hotfix"
BUG_LABELS =
# Defaults: "changelog.json"
CHANGELOG_FILE=
chlog -v <version>
or chlog --version <version>
: Update specific changelog version from corresponding open Trello
list
chlog
: Update all changelog versions with corresponding open Trello lists
Example: chlog -v v0.10.3