-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(plugin): add plugin, commit message questions, changelog template (
#1) * feat(plugin): add plugin, commit message questions and changelog template - reads options from target project "pyproject.toml" - changelog mapping dynamically from types - switch for disable emoji from target project "pyproject.toml" - configured bump_pattern and bump_map for changelog - add commit parser passing conventional-commit-linter rules and changelog hooks - switch for disable section "Unreleased" from target project "pyproject.toml" - "change_type_order" possible set from from target project "pyproject.toml" - add "cz info" (short info) and "cz example" (full example) to the CLI commands - add customizable changelog title, header and footer - ci: versions from scm_tools - ci: updated to support Python 3.9 * docs(readme): add basic usage and configuration * ci(github-actions): replace publish-pypi workflow with PYPA version * fix(changelog): update changelog builder to be compatible with mdformat linter * fix(changelog): do not add changelog headers when "cz bump" * ci: update .gitignore file, remove TODO.md * fix(template): fixed Changelog template - displaying w/wo authors, commits * fix(changelog): fix custom header,title,footer, update defaults * docs(readme): update examples with comments * feat: add pre-commit hook for autoupdate CHANGELOG * change(bump): release 0.2.6 → 0.3.0 [skip-ci] * ci(pre-commit): ignore hook "update-changelog" in CI * change(bump): release 0.3.0 → 0.3.1 [skip-ci] * docs(readme): update GitHub badges, add pypi and compatible python
- Loading branch information
1 parent
d8f208c
commit f2fa815
Showing
22 changed files
with
1,104 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ on: | |
jobs: | ||
check-pre-commit: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
@@ -17,4 +19,4 @@ jobs: | |
- name: Run pre-commit | ||
uses: pre-commit/[email protected] | ||
env: | ||
SKIP: pip-compile | ||
SKIP: pip-compile,update-changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,5 @@ | |
/docs/_build/ | ||
*.egg-info/ | ||
__pycache__/ | ||
_version.py | ||
TODO.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
- id: update-changelog | ||
name: Update changelog (section Unreleased) | ||
entry: 'cz changelog > /dev/null' | ||
language: system | ||
pass_filenames: false | ||
description: Updates changelog - section Unreleased | ||
additional_dependencies: | ||
- czespressif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# CHANGELOG | ||
|
||
> All notable changes to this project are documented in this file. | ||
> This list is not exhaustive - only important changes, fixes, and new features in the code are reflected here. | ||
<sub>The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) | ||
</sub> | ||
|
||
--- | ||
|
||
## Unreleased | ||
|
||
### 🚨 Breaking changes | ||
|
||
- This will trigger a major version bump *(Tomas Sebestik - 8b702d6)* | ||
|
||
### 📖 Documentation | ||
|
||
- **readme**: update GitHub badges, add pypi and compatible python *(Tomas Sebestik - 8b702d6)* | ||
|
||
--- | ||
|
||
## v0.3.1 (2024-09-10) | ||
|
||
--- | ||
|
||
## v0.3.0 (2024-09-10) | ||
|
||
### ✨ New features | ||
|
||
- add pre-commit hook for autoupdate CHANGELOG *(Tomas Sebestik - 8fd458b)* | ||
|
||
### 🐛 Bug fixes | ||
|
||
- **changelog**: fix custom header,title,footer, update defaults *(Tomas Sebestik - ed9b8f3)* | ||
- **template**: fixed Changelog template - displaying w/wo authors, commits *(Tomas Sebestik - f151532)* | ||
|
||
### 📖 Documentation | ||
|
||
- **readme**: update examples with comments *(Tomas Sebestik - 65464ef)* | ||
|
||
--- | ||
|
||
## v0.2.6 (2024-09-09) | ||
|
||
### ✨ New features | ||
|
||
- **plugin**: add plugin, commit message questions and changelog template *(Tomas Sebestik - dac86eb)* | ||
|
||
### 🐛 Bug fixes | ||
|
||
- **changelog**: do not add changelog headers when "cz bump" *(Tomas Sebestik - 65631a9)* | ||
- **changelog**: update changelog builder to be compatible with mdformat linter *(Tomas Sebestik - e6ba7d8)* | ||
|
||
### 📖 Documentation | ||
|
||
- **readme**: add basic usage and configuration *(Tomas Sebestik - e713491)* | ||
|
||
--- | ||
|
||
## v0.1.0 (2024-09-07) | ||
|
||
### ✨ New features | ||
|
||
- init commit, project basic structure (from template commitizen) *(Tomas Sebestik - 61c03ec)* | ||
|
||
--- | ||
|
||
**[Espressif Systems CO LTD. (2024)](https://www.espressif.com/)** | ||
|
||
- [Commitizen tools plugin with Espressif code style](https://www.github.com/espressif/cz-plugin-espressif) | ||
- [Espressif Coding Standards and Best Practices](https://www.github.com/espressif/standards) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.