Skip to content

Commit 1cccb1b

Browse files
committed
chore: add a CHANGELOG and use commitizen to populate it
1 parent bc79dae commit 1cccb1b

4 files changed

Lines changed: 557 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,9 @@ repos:
1414
- id: ruff
1515
args: [--fix]
1616
- id: ruff-format
17+
18+
- repo: https://github.com/commitizen-tools/commitizen
19+
rev: v4.13.9
20+
hooks:
21+
- id: commitizen
22+
stages: [commit-msg]

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
## 1.0.0 (2021-03-06)
2+
3+
### Features
4+
5+
- Support Python 3; drop Python 2
6+
7+
### Chores
8+
9+
- Switch from Travis CI to GitHub Actions
10+
11+
## 0.5.0 (2016-08-22)
12+
13+
### Features
14+
15+
- Make the buildwith export command configurable via `BUILDWITH_COMMAND`
16+
- Echo the mozconfig path as part of the default build command
17+
18+
### Bug Fixes
19+
20+
- Quote `$BUILDWITH_HOME` to handle paths with spaces
21+
- Use `subprocess.call` to improve command-line handling
22+
23+
## 0.4.0 (2016-05-15)
24+
25+
### Features
26+
27+
- Show usage when config name isn't provided to `buildwith`
28+
29+
### Bug Fixes
30+
31+
- Explicit clobbering when writing `.active` file
32+
33+
## 0.3.0 (2013-09-18)
34+
35+
### Features
36+
37+
- Keep track of activated mozconfig in file for persistence across shell sessions
38+
- Append mozconfig name to `MOZ_OBJDIR` line in template
39+
40+
### Bug Fixes
41+
42+
- Fix tab completion for zsh
43+
- Fix leftover `_virtualenvs` artifact

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ mozconfig = "mozconfigwrapper:mozconfig"
3030

3131
[dependency-groups]
3232
dev = [
33+
"commitizen",
3334
"pre-commit",
3435
"pytest",
3536
]
@@ -43,6 +44,12 @@ target-version = "py39"
4344
[tool.ruff.lint]
4445
select = ["E", "F", "W", "I"]
4546

47+
[tool.commitizen]
48+
version_provider = "pep621"
49+
tag_format = "v$version"
50+
update_changelog_on_bump = true
51+
changelog_start_rev = "8218f5b"
52+
4653
[build-system]
4754
requires = ["uv-build"]
4855
build-backend = "uv_build"

0 commit comments

Comments
 (0)