Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
521 commits
Select commit Hold shift + click to select a range
0d5086e
style(cz_check): Add quote to displaying rev and msg
josix Aug 6, 2020
debe2ce
bump: version 2.0.2 → 2.1.0
actions-user Aug 6, 2020
750213c
docs(README): fix link to documentation
woile Aug 6, 2020
7ec5c1f
ci(github-action): use commitizen github action
Lee-W Aug 30, 2020
f27baba
Merge pull request #252 from commitizen-tools/use-commitizen-github-a…
woile Aug 31, 2020
01520eb
feat(cz_check): cz check can read from a string input
jordanSu Aug 30, 2020
b207e6d
bump: version 2.1.0 → 2.2.0
actions-user Aug 31, 2020
38a1c60
test(bump): Add commit-msgs for different increments
josix Sep 1, 2020
fa532b6
test(bump): Remove bump case with msg ends with `!`
josix Sep 1, 2020
b26f408
test(bump): Add more MAJOR increment msgs for testing
josix Sep 1, 2020
6efb23f
Merge pull request #257 from josix/update/bump_test
woile Sep 1, 2020
78c4529
feat(cli): rewrite cli instructions to be more succinct about what th…
alecgerona Sep 2, 2020
4965f0a
fix(cli): wrap the word enter with brackets
alecgerona Sep 2, 2020
683317b
fix(cli): add guideline for subject input
alecgerona Sep 2, 2020
93e0932
bump: version 2.2.0 → 2.3.0
actions-user Sep 3, 2020
3f2f702
ci(github-action): use personal access token
woile Sep 3, 2020
59982b9
Merge pull request #262 from commitizen-tools/github-action-patch-1
woile Sep 3, 2020
ef4a9bd
fix: conventional commit schema
Sep 5, 2020
1f2bd00
Merge pull request #265 from blaggacao/patch-2
woile Sep 7, 2020
492270e
bump: version 2.3.0 → 2.3.1
actions-user Sep 7, 2020
f3070c1
feat(cz_check): cz check can read commit message from pipe
jordanSu Sep 17, 2020
f44496f
docs(cz_check): the 'check' document is refactored and the usage of r…
jordanSu Sep 17, 2020
86a6c50
bump: version 2.3.1 → 2.4.0
actions-user Sep 18, 2020
3b07f53
docs: add new jenkins tutorial
woile Sep 18, 2020
061f47c
docs: update gitlab and github ci tutorials
woile Sep 18, 2020
d8e9bad
ci: add token to bumpversion.yml on checkout
woile Sep 18, 2020
5b56b7e
fix(cz_customize): make schema_pattern customiziable through config f…
Lee-W Oct 4, 2020
2136ed5
Merge pull request #276 from commitizen-tools/add-schema_pattern-to-c…
woile Oct 4, 2020
86bbcd5
bump: version 2.4.0 → 2.4.1
actions-user Oct 4, 2020
0be6d0b
docs: correct markdown on github actions tutorial page
woile Oct 4, 2020
5c0dd54
Merge pull request #277 from commitizen-tools/fix-ga-docs
woile Oct 4, 2020
863a785
fix(commands/bump): Add NoneIncrementExit to fix git fatal error when…
christian-hawk Oct 25, 2020
9795466
refactor(commands/bump): Remove comment and changed ... for pass
christian-hawk Oct 25, 2020
74738af
style(commands/bump): fix format
christian-hawk Oct 25, 2020
2a94361
fix(init.py): mypy error (types)
christian-hawk Oct 25, 2020
a62354f
test(test_git): get_tag_names should have List[Optional[str]] annotation
christian-hawk Oct 25, 2020
6370be0
test(test_git.py): F401 'typing.Union' imported but unused
christian-hawk Oct 25, 2020
4b7c175
Merge pull request #284 from christian-hawk/christian-hawk-patch
woile Oct 26, 2020
14b6c38
bump: version 2.4.1 → 2.4.2
actions-user Oct 26, 2020
6fba3ab
feat(commands/changelog): add config file options for start_rev and i…
Nov 4, 2020
9e9fdb2
docs(changelog): add config file options `changelog_incremental` and …
Nov 4, 2020
86efdcb
Merge pull request #294 from janw/add-changelog-argument-options
woile Nov 4, 2020
1ca22f4
bump: version 2.4.2 → 2.5.0
actions-user Nov 4, 2020
9263057
feat(commands/bump): add config option to create changelog on bump
janw Nov 4, 2020
7a2bf96
test: provide tests for update_changelog_on_bump config option
janw Nov 4, 2020
9501fea
docs(bump): document usage of the `update_changelog_on_bump` flag
janw Nov 4, 2020
f1577b3
bump: version 2.5.0 → 2.6.0
actions-user Nov 4, 2020
f00750e
Add Homebrew Instructions
harens Oct 6, 2020
ae03624
Homebrew Github Action Added
harens Oct 6, 2020
3b8b829
feat(bump): add flag `--local-version` that supports bumping only the…
marcossantiago Nov 12, 2020
42e4361
test(bump): add missing tests for local-version flag
marcossantiago Nov 13, 2020
a651ec1
docs(bump): update bump documentation
marcossantiago Nov 13, 2020
720befe
docs(bump): fix typo
marcossantiago Nov 14, 2020
6cfa014
Merge pull request #303 from marcossantiago/bump_add_local_version_flags
woile Nov 14, 2020
de44a0a
bump: version 2.6.0 → 2.7.0
actions-user Nov 14, 2020
b5d8665
feat(commitizen/cli): add the integration with argcomplete
danvergara Nov 14, 2020
bf56194
test(tests/test_cli): add a test function to test the activation of t…
danvergara Nov 14, 2020
61c13e4
docs(docs/README): add the instructions to activate the auto-completi…
danvergara Nov 14, 2020
df3a87d
feat: allow files-only to set config version and create changelog
marcossantiago Nov 11, 2020
2a39747
test(bump_command): test if the version in the configuration file was…
marcossantiago Nov 12, 2020
71f34f7
docs(bump): add explanation for '--files-only' flag
marcossantiago Nov 14, 2020
d42f744
bump: version 2.7.0 → 2.8.0
actions-user Nov 15, 2020
7bafa42
fix: prevent prerelase from creating a bump when there are no commits
woile Nov 21, 2020
ef15316
Merge pull request #307 from commitizen-tools/281-prerelease-bug
woile Nov 21, 2020
ca4b972
bump: version 2.8.0 → 2.8.1
actions-user Nov 21, 2020
5120d10
docs(README.md): adds missing link
edvm Nov 21, 2020
019fc94
Merge pull request #308 from edvm/issue/306
woile Nov 21, 2020
8debb52
fix: support `!` in cz check command
woile Nov 21, 2020
fe69da8
docs: correct typos and outdated info
woile Nov 21, 2020
84a81e5
Merge pull request #309 from commitizen-tools/283-fix-shortcut-breaking
woile Nov 21, 2020
d98864a
bump: version 2.8.1 → 2.8.2
actions-user Nov 21, 2020
58c5a92
docs: inform about GITHUB_TOKEN vs PERSONAL_ACCESS_TOKEN in Github ac…
woile Nov 21, 2020
f69f1db
Merge pull request #310 from commitizen-tools/fix-docs
woile Nov 21, 2020
5486075
ci: trigger homebrew job only when publish was finished
woile Nov 21, 2020
c1322da
Merge pull request #311 from commitizen-tools/ci-fix-homebrew
woile Nov 21, 2020
2da7390
feat(commitizen/config/json_config): add json support for configuration
danvergara Nov 27, 2020
d3ccd79
test(tests/test_config): add support to run test for json config
danvergara Nov 27, 2020
61a06f2
docs(dosc/config): add instructions on how to define a json config file
danvergara Nov 27, 2020
33bfe1d
test(test_cs_customize): add support for testing customization for Js…
danvergara Nov 29, 2020
987107a
docs(customization): add a json config file as a example for the new …
danvergara Nov 29, 2020
58fc55a
feat(Init): add the json config support as an option at Init
danvergara Dec 2, 2020
cb91fea
fix(json_config): fix the emtpy_config_content method
danvergara Dec 2, 2020
3d4a549
test(test_init_command): test the json config behavior when the Init …
danvergara Dec 2, 2020
e9321c5
bump: version 2.8.2 → 2.9.0
actions-user Dec 2, 2020
87b39d4
Merge pull request #305 from danvergara/provide-shell-completion-for-cz
woile Dec 2, 2020
57fe0ea
bump: version 2.9.0 → 2.10.0
actions-user Dec 2, 2020
c09f377
feat: add yaml as a config option
danvergara Dec 8, 2020
514ff61
Merge pull request #315 from danvergara/add-yaml-support-for-config
woile Dec 10, 2020
c51a521
bump: version 2.10.0 → 2.11.0
actions-user Dec 10, 2020
aa2959d
fix(commit): attach user info to backup for permission denied issue
SHAQ522 Dec 16, 2020
88a5a1e
Merge pull request #317 from SHAQ522/SHAQ522-fix-permission-deny-backup
woile Dec 16, 2020
edc06c3
bump: version 2.11.0 → 2.11.1
actions-user Dec 16, 2020
425c020
docs: add cz_legacy to 3rd party section
KyleKing Dec 24, 2020
155f23c
feat(deps): Update and relax tomlkit version requirement
Woklex Dec 24, 2020
cfd4b1d
bump: version 2.11.1 → 2.12.0
actions-user Dec 30, 2020
b435289
fix: read commit_msg_file with utf-8
williamfzc Dec 30, 2020
a4ba9b6
Merge pull request #324 from williamfzc/patch-1
woile Dec 30, 2020
2b7732d
bump: version 2.12.0 → 2.12.1
actions-user Dec 30, 2020
1474d39
refactor: move expected COMMITS_TREE to global
KyleKing Dec 26, 2020
fb08300
feat(#319): add optional change_type_order
KyleKing Dec 26, 2020
bf857f4
refactor(#323): address PR feedback
KyleKing Dec 30, 2020
9d1a53e
style: restore whitespace for info_path in JSON
KyleKing Dec 30, 2020
34ba400
refactor: raise an InvalidConfigurationError
KyleKing Dec 31, 2020
03406b0
bump: version 2.12.1 → 2.13.0
actions-user Jan 1, 2021
99d4024
build(#325): upgrade isort for black compatibility
KyleKing Dec 31, 2020
1a33099
docs(bump): update cli tag format flag
Jan 15, 2021
d20152b
Merge pull request #333 from serpa-dystematic/patch-1
woile Jan 15, 2021
20a54bf
feat(#271): enable creation of annotated tags when bumping
diefans Sep 22, 2020
ff2f56c
Merge pull request #332 from cliles/feature/271-redux
woile Jan 20, 2021
ae9ba6f
bump: version 2.13.0 → 2.14.0
actions-user Jan 20, 2021
427a9ec
fix: remove yaml warnings when using '.cz.yaml'
vinayvennela Feb 2, 2021
aaba2b6
bump: version 2.14.0 → 2.14.1
actions-user Feb 2, 2021
3ef5257
ci: attempt to fix homebrew action
woile Feb 2, 2021
58c9c5a
fix(git): handle the empty commit and empty email cases
Lee-W Feb 4, 2021
d6a817c
style(init): remove unused comment out
Lee-W Feb 4, 2021
f01a03c
test(git): add test case to get_latest_tag_name
Lee-W Feb 6, 2021
055fc17
docs(readme): add download count badge
Lee-W Feb 6, 2021
b901bea
Merge pull request #341 from commitizen-tools/fix-git-message-parsing
woile Feb 6, 2021
fc38851
Merge pull request #342 from commitizen-tools/add-pypi-download-per-m…
woile Feb 6, 2021
8fabcff
bump: version 2.14.1 → 2.14.2
actions-user Feb 6, 2021
3fdf42d
docs(faq): add new questions to faq
woile Feb 7, 2021
bf3fce4
docs: update links on resources
woile Feb 7, 2021
65d001f
Merge pull request #343 from commitizen-tools/docs/update-faq
woile Feb 9, 2021
1605d69
docs: correct title in faq
woile Feb 9, 2021
2387ea7
Merge pull request #344 from commitizen-tools/docs/update-faq
woile Feb 9, 2021
0621bc4
feat(changelog): add support for multiline BREAKING paragraph
woile Feb 19, 2021
67c599e
Merge pull request #348 from commitizen-tools/feat/multiline-body
woile Feb 21, 2021
85f0cb9
bump: version 2.14.2 → 2.15.0
actions-user Feb 21, 2021
4671258
fix(config): change read mode from `r` to `rb`
Feb 21, 2021
3a4d13f
Merge pull request #353 from loonghao/change_read_mode
woile Feb 21, 2021
d098416
bump: version 2.15.0 → 2.15.1
actions-user Feb 21, 2021
2756e91
fix(git): fix get_commits deliminator
Lee-W Feb 24, 2021
f6eaa8e
Merge pull request #354 from commitizen-tools/fix-git-commit-parsing
woile Feb 24, 2021
3110190
bump: version 2.15.1 → 2.15.2
actions-user Feb 24, 2021
07d1b78
docs(CHANGELOG): regenerate missing data from previous bug
woile Feb 24, 2021
ed06664
fix: add utf-8 encode when write toml file
chikacc Feb 26, 2021
928aa30
Merge pull request #356 from 7kachika/master
woile Feb 26, 2021
e1c1ca8
bump: version 2.15.2 → 2.15.3
actions-user Feb 26, 2021
80bc84a
feat(bump): send incremental changelog to stdout and bump output to s…
woile Mar 5, 2021
ab35a01
test: correct yaml load warning
woile Mar 5, 2021
ea372e3
docs(bump): explain new flag --changelog-to-stdout
woile Mar 5, 2021
3b591f0
bump: version 2.15.3 → 2.16.0
actions-user Mar 8, 2021
e2c7303
docs(tutorial/github_action): explain how to create a github release
woile Mar 8, 2021
e8955d4
docs(README): correct typo
thedrow Mar 21, 2021
8902b40
docs: remove duplicated file name
yajo Mar 31, 2021
8794f9c
Merge pull request #363 from Yajo/patch-1
woile Mar 31, 2021
cd7018e
feat: Support versions on random positions
jaysonsantos Mar 20, 2021
8689546
chore: Fix CR questions
jaysonsantos Mar 31, 2021
32916ab
bump: version 2.16.0 → 2.17.0
actions-user Apr 2, 2021
b8bc952
fix(commands/init): fix toml config format error
Lee-W Apr 8, 2021
ff7670f
Merge pull request #369 from commitizen-tools/weilee/fix-init-linebreak
woile Apr 8, 2021
b541add
bump: version 2.17.0 → 2.17.1
actions-user Apr 8, 2021
5b3c9e2
fix(wip): add test for current breaking change
woile Apr 9, 2021
f4cbc35
fix(bump): replace all occurances that match regex
Lee-W Apr 10, 2021
5706e1c
Merge pull request #372 from commitizen-tools/fix/version_files_multiple
woile Apr 10, 2021
2b64adf
bump: version 2.17.1 → 2.17.2
actions-user Apr 10, 2021
6be8d93
ci: update package version in pyproject.toml
woile Apr 10, 2021
b94418b
Merge pull request #373 from commitizen-tools/ci/fix-package-version
woile Apr 10, 2021
127d1b0
fix: fix multiple versions bumps when version changes the string size
jaysonsantos Apr 17, 2021
8a35457
bump: version 2.17.2 → 2.17.3
actions-user Apr 19, 2021
8638512
fix: version update in a docker-compose.yaml file
Peter-Slump Apr 22, 2021
c013297
Merge pull request #375 from Peter-Slump/fix/update_docker_compose_file
woile Apr 22, 2021
ba94e3f
bump: version 2.17.3 → 2.17.4
actions-user Apr 22, 2021
ff45677
fix docs typo
trim21 May 5, 2021
6082b64
bump: version 2.17.4 → 2.17.5
actions-user May 6, 2021
881ad02
fix(cz/conventional_commits): optionally expect '!' right before ':' …
shifqu May 6, 2021
ba58b22
test(cz/conventional_commits): test check command and process_commit …
shifqu May 6, 2021
e107411
style(tests): format tests
shifqu May 6, 2021
5d8bc74
Merge pull request #382 from shifqu/fix-convetional-commits-schema-pa…
woile May 6, 2021
aa0debe
bump: version 2.17.5 → 2.17.6
actions-user May 6, 2021
b774129
test(bump): add test cast that fails to bump correctly
Lee-W May 25, 2021
20d0629
fix(bump): fix offset error due to partially match
Lee-W May 25, 2021
45b3566
build(poetry): add pytest-regression as dev dependency
Lee-W May 25, 2021
3987299
test(bump): refactor test_multiplt_versions_to_bump through file_regr…
Lee-W May 25, 2021
a36063b
style(config): ignore TomlConfig._parse_setting type annotation
Lee-W May 25, 2021
dcb18bb
test(bump_update_verison_in_files): refactor test cases through pytes…
Lee-W May 26, 2021
fde3b72
test(bump): add test case that fails when using regex with version fi…
Lee-W May 26, 2021
76b3030
fix(bump): fix error due to bumping version file without eol through …
Lee-W May 26, 2021
b36594d
test(bump): refactor file loading with extracted utility function
Lee-W May 26, 2021
9607874
test(git): add test case for is_staging_clean
Lee-W May 26, 2021
6192fc3
bump: version 2.17.6 → 2.17.7
actions-user May 26, 2021
72d9dbd
fix(changelog): annotated tags not generating proper changelog
woile May 28, 2021
16b0986
Merge pull request #388 from commitizen-tools/378-fix-annotated
woile May 28, 2021
8829441
bump: version 2.17.7 → 2.17.8
actions-user May 28, 2021
96265ce
ci(homebrewpublish): add tag to homebrew formula action
woile May 28, 2021
0d44d24
Merge pull request #389 from commitizen-tools/fix/homebrew-ci
woile May 28, 2021
7eec5a0
fix(changelog): generating changelog after a pre-release
woile Jun 11, 2021
d82727c
docs(README): add pre-commit badge
woile Jun 11, 2021
8f1b2cb
Merge pull request #390 from commitizen-tools/fix/357-release-candidate
woile Jun 11, 2021
7573d16
bump: version 2.17.8 → 2.17.9
actions-user Jun 11, 2021
00f81d3
fix: add support for jinja2 v3
woile Jun 21, 2021
f2272bd
Merge pull request #392 from commitizen-tools/fix/391-jinja-support
woile Jun 22, 2021
dc22f2e
bump: version 2.17.9 → 2.17.10
actions-user Jun 22, 2021
986f2d8
fix: correct indentation for json config for better readability
woile Jun 23, 2021
a958ed4
Merge pull request #394 from commitizen-tools/fix/json-indent
woile Jun 24, 2021
bec20eb
bump: version 2.17.10 → 2.17.11
actions-user Jun 24, 2021
9eae518
fix(git.py): ensure signed commits in changelog when git config log.s…
lobotmcj Jul 6, 2021
184c439
test(git.py): Test get_commits() with a gpg-signed commit
lobotmcj Jul 6, 2021
7a470bb
Merge pull request #398 from lobotmcj/397-changelog-excludes-signed-c…
woile Jul 6, 2021
4dad5c8
bump: version 2.17.11 → 2.17.12
actions-user Jul 6, 2021
99648b5
docs(README): fix URL in README.md
WojciechKusa Jul 13, 2021
7a34778
docs(README): fix URL in README.md
WojciechKusa Jul 14, 2021
50d57ac
bump: version 2.17.12 → 2.17.13
actions-user Jul 14, 2021
d5eeef6
ci: run tests on linux, mac and windows
woile Nov 21, 2020
a074a79
ci: run tests on oldest py3.6 and last 2 py3.9 and py3.8
woile Nov 21, 2020
0781835
style: remove unused mypy comment
woile Aug 2, 2021
33c3c49
docs(contributing): do not request modifications to changelog
woile Jul 27, 2021
07ac1ea
Merge pull request #409 from commitizen-tools/docs/contributing-update
woile Aug 2, 2021
cfec0f5
feat(prompt): add keyboard shortcuts with config option
zevisert Jul 17, 2021
3910f84
test: update tests for keyboard shortcuts
zevisert Aug 6, 2021
6820271
style: formatting
zevisert Aug 9, 2021
e333537
refactor(shortcuts): move check for shortcut config setting to apply …
zevisert Aug 12, 2021
90c9918
docs(shortcuts): update to include info about keyboard shortcut options
zevisert Aug 12, 2021
dedcb2d
style: forgot to run black
zevisert Aug 12, 2021
cf64670
bump: version 2.17.13 → 2.18.0
actions-user Aug 13, 2021
d1e6dad
docs: add docs for 3rd party module cz-github-jira-conventional
falko-apheris Aug 13, 2021
dc6e4b0
Merge pull request #1 from falko-apheris/falko-apheris-patch-1
falko-apheris Aug 13, 2021
ec38ce3
Merge pull request #413 from falko-apheris/master
woile Aug 13, 2021
79b3156
Address typos and layout
bcdady Sep 11, 2021
e92e07f
fix(commit): correct the stage checker before commiting
xaviml Sep 11, 2021
a2d6312
test(git): extend test for is_staging_clean
xaviml Sep 12, 2021
a288fd9
Merge pull request #420 from xaviml/fix/clean-stage
woile Sep 12, 2021
4309813
bump: version 2.18.0 → 2.18.1
github-actions[bot] Sep 12, 2021
9924180
doc: inverse major and minor
12rambau Sep 15, 2021
d09c085
Merge pull request #421 from 12rambau/patch-1
woile Sep 15, 2021
ca0e4bc
fix(cli): handle argparse different behavior after python 3.9
Lee-W Sep 26, 2021
a06f3b1
Merge pull request #430 from commitizen-tools/fix-argparse-behavior-c…
woile Sep 27, 2021
ca31452
bump: version 2.18.1 → 2.18.2
github-actions[bot] Sep 27, 2021
609cacd
feat: utility for showing system information
sarsharma Sep 27, 2021
976d5d2
bump: version 2.18.2 → 2.19.0
github-actions[bot] Sep 27, 2021
7b7b0c9
feat: add signoff parameter to commit command
manang Sep 29, 2021
7d2c3c2
build: bump packaging to 22 to allow 21.0
trend-peter-wu Oct 4, 2021
5e22040
feat(cli.py): add shortcut for signoff command
manang Oct 6, 2021
7b50f50
Merge pull request #439 from manang/signoff
woile Oct 6, 2021
5a764bf
bump: version 2.19.0 → 2.20.0
github-actions[bot] Oct 6, 2021
87281ff
docs: move all FAQs to docs/faq.md
Bogay Sep 26, 2021
0949575
docs(faq): add WinError 995 description to FAQ
Bogay Sep 26, 2021
dd8e75a
docs(faq): reword FAQ about WinError 995
Bogay Sep 26, 2021
9e6ac64
docs: replace htperlinks' URL with filename
Bogay Sep 28, 2021
ed11488
style(github-template): remove trailing space
Lee-W Oct 6, 2021
e9eb262
docs: fix missing link
Bogay Oct 7, 2021
7e8d795
docs(contributing): add instruction to verify documentation change
Bogay Oct 7, 2021
0d407d7
docs(readme): remove sections only contains one link
Bogay Oct 7, 2021
1ea05ac
docs(config): fix broken links
Bogay Oct 7, 2021
71aabe8
ci(github-actions): set force to true for Homebrew bump formula
Lee-W Oct 9, 2021
d6a1e23
Merge pull request #445 from commitizen-tools/fix-homebrew-publish
woile Oct 9, 2021
d7332d7
feat(commands/commit): apply prepare-commit-msg hook
saygox Aug 13, 2020
6a665d9
test(commands/commit): set staging_is_clean to pre_commit_msg_hook
saygox Aug 14, 2020
906b83c
feat(commands/commit): apply prepare-commit-msg hook for Mac
saygox Nov 6, 2021
79d17df
style: format code
Lee-W Nov 7, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codacy.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
exclude_paths:
- 'tests/**'
- 'docs/**'
- 'docs/**'
4 changes: 0 additions & 4 deletions .flake8

This file was deleted.

44 changes: 44 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
name: 🛠 Bug report
about: Create a report to help us improve
title: "Good bug title tells us about precise symptom, not about the root cause."
labels: "bug"
assignees: ""
---

## Description
<!-- A clear and concise description of what the bug is. -->

## Steps to reproduce
<!-- Steps to reproduce the behavior:
1. Run ...
2. ...
3. ... -->

## Current behavior
<!-- What happens actually so you think this is a bug. -->

## Desired behavior
<!--
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.
-->

## Environment
<!--
For older commitizen versions, please include the
output of the following commands manually:

cz version
python --version
python3 -c "import platform; print(platform.system())"
-->
Add output of the following command to include the following
- commitizen version:
- python version:
- operating system:
```bash
cz version --report
```
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: 📖 Documentation
about: Suggest an improvement for the documentation of this project
title: "Content to be added or fixed"
labels: "documentation"
assignees: ""
---

## Type

* [ ] Content inaccurate
* [ ] Content missing
* [ ] Typo

## URL
<!-- URL to the code we did not clearly describe or the document page where the content is inaccurate -->

## Description
<!-- A clear and concise description of what content should be added or fixed -->
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: 🚀 Feature request
about: Suggest an idea for this project
title: "<One feature request per issue>"
labels: "feature"
assignees: ""
---

## Description
<!-- A clear and concise description for us to know your idea. -->

## Possible Solution
<!-- A clear and concise description of what you want to happen. -->

## Additional context
<!-- Add any other context or screenshots about the feature request here. -->

## Related Issue
<!-- If applicable, add link to existing issue also help us know better. -->
29 changes: 29 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!--
Thanks for sending a pull request!
Please fill in the following content to let us know better about this change.
-->

## Description
<!-- Describe what the change is -->


## Checklist

- [ ] Add test cases to all the changes you introduce
- [ ] Run `./script/format` and `./script/test` locally to ensure this change passes linter check and test
- [ ] Test the changes on the local machine manually
- [ ] Update the documentation for the changes

## Expected behavior
<!-- A clear and concise description of what you expected to happen -->


## Steps to Test This Pull Request
<!-- Steps to reproduce the behavior:
1. ...
2. ...
3. ... -->


## Additional context
<!-- Add any other RELATED ISSUE, context or screenshots about the pull request here. -->
43 changes: 12 additions & 31 deletions .github/workflows/bumpversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,17 @@ on:
- master

jobs:
build:
if: "!contains(github.event.head_commit.message, 'bump')"
bump-version:
if: "!startsWith(github.event.head_commit.message, 'bump:')"
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.x']
name: "Bump version and create changelog with commitizen"
steps:
- uses: actions/checkout@v2
with:
token: '${{ secrets.PERSONAL_ACCESS_TOKEN }}'
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python --version
python -m pip install -U commitizen
- name: Configure repo
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git pull origin master --tags
- name: Create bump
run: |
cz bump --yes
git tag
- name: Push changes
uses: Woile/github-push-action@master
with:
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
tags: "true"
- name: Check out
uses: actions/checkout@v2
with:
fetch-depth: 0
token: '${{ secrets.PERSONAL_ACCESS_TOKEN }}'
- name: Create bump and changelog
uses: commitizen-tools/commitizen-action@master
with:
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
33 changes: 33 additions & 0 deletions .github/workflows/docspublish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish documentation

on:
push:
branches:
- master

jobs:
publish-documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: '${{ secrets.PERSONAL_ACCESS_TOKEN }}'
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install -U mkdocs mkdocs-material
- name: Build docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python -m mkdocs build
- name: Push doc to Github Page
uses: peaceiris/actions-gh-pages@v2
env:
PERSONAL_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./site
32 changes: 32 additions & 0 deletions .github/workflows/homebrewpublish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish to Homebrew

on:
workflow_run:
workflows: ["Upload Python Package"]
types:
- completed

jobs:
deploy:
runs-on: macos-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install -U commitizen
- name: Set Project version env variable
run: |
echo "project_version=$(cz version --project)" >> $GITHUB_ENV
- name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
with:
token: ${{secrets.PERSONAL_ACCESS_TOKEN}}
formula: commitizen
tag: v${{ env.project_version }}
force: true
18 changes: 9 additions & 9 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@ name: Python package
on: [pull_request]

jobs:
build:

runs-on: ubuntu-latest
python-check:
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8]

python-version: [3.6, 3.8, 3.9]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --pre -U poetry
python -m pip install -U pip poetry
poetry --version
poetry install
- name: Run tests
- name: Run tests and linters
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/pythonpublish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,12 @@ jobs:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --pre -U poetry mkdocs mkdocs-material
python -m pip install -U pip poetry mkdocs mkdocs-material
poetry --version
poetry install
- name: Build and publish
- name: Publish
env:
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
./scripts/publish
poetry run mkdocs build
- name: Push doc to Github Page
uses: peaceiris/actions-gh-pages@v2
env:
PERSONAL_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./site
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ venv.bak/
# mypy
.mypy_cache/

.idea
.vscode/
*.bak

Expand Down
34 changes: 34 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
default_stages: [push]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.1.0
hooks:
- id: check-vcs-permalinks
- id: end-of-file-fixer
exclude: "tests/[test_*|data]/*"
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: debug-statements
- id: no-commit-to-branch

- repo: https://github.com/Woile/commitizen
rev: v1.23.0
hooks:
- id: commitizen
stages: [commit-msg]

- repo: local
hooks:
- id: format
name: format
language: system
pass_filenames: false
entry: ./scripts/format
types: [python]

- id: linter and test
name: linter and test
language: system
pass_filenames: false
entry: ./scripts/test
types: [python]
8 changes: 8 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@
language_version: python3
require_serial: true
minimum_pre_commit_version: "0.15.4"
- id: commitizen-prepare-commit-msg
name: commitizen prepare commit msg
description: "prepare commit message"
entry: cz commit --commit-msg-file
language: python
language_version: python3
require_serial: true
minimum_pre_commit_version: "0.15.4"
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

Loading