-
-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: draft of the --empty parameter #696
Conversation
Fixes commitizen-tools#607 BREAKING CHANGE: Python 3.6 is not officially supported anymore. Please migrate from 3.6 to 3.7 or greater.
…ytest-freezer` removing warnings
…n loading Plugins are now loaded using the `commitizen.plugin` entrypoint while legacy plugin are not loaded anymore but a warning is raised when one is seen. Fixes commitizen-tools#495 BREAKING CHANGE: Plugins are now exposed as `commitizen.plugin` entrypoints
… versions providers
Reads version from the repository last tag matching `tag_format` Fixes commitizen-tools#641
Topological ordering should be used when ordering commits in changelog history. This allows commits to be shown properly in the order they were added to the codebase, even if non-linear merges were used
…mmit-order fix(commands/changelog): use topological order for commit ordering
Running tests concurrently can cause temporary files, such as the file used to backup the commit message, to be deleted by one test but accessed by another test later on.
…lease feat(changelog): add merge-prerelease flag
…-tools#686) * feat(bump): version_provider=semver optional option to make version compatible with semver Signed-off-by: apkawa <[email protected]> * refactor(bump): version_provider rename to version_type; `pep` option rename to `pep440` Signed-off-by: apkawa <[email protected]> * docs(bump): add `version_type` info to config.md Signed-off-by: apkawa <[email protected]> * refactor(bump): to use VersionProtocol interface instead packaging.Version subclass Signed-off-by: apkawa <[email protected]> * test(bump): `VersionProtocol` workaround mypy for py==3.7 Signed-off-by: apkawa <[email protected]> * fix(changelog): `changelog` command does not find version tag with `version_type=semver` option Signed-off-by: apkawa <[email protected]> * refactor: minor review fixes * test(changelog): fix test_changelog_incremental_with_merge_prerelease issue with freeze_time Signed-off-by: apkawa <[email protected]> --------- Signed-off-by: apkawa <[email protected]>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## v3 #696 +/- ##
==========================================
- Coverage 98.11% 97.82% -0.29%
==========================================
Files 41 42 +1
Lines 1855 1934 +79
==========================================
+ Hits 1820 1892 +72
- Misses 35 42 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
any specific reason why this PR was removed ? is the |
I apologize, I don't know why it was closed (and it doesn't let me open it again). Please feel free to open a new one |
Let me base it directly on v3 it will everyone's life easier |
Everything is in master again, open a new pr to master (which has V3 now) |
Description
First draft of a new feature. The idea is to grant the user the capability to run
cz bump
without prior commits. The reasons are described in the associated issue.here we add an
--empty
parameter to the bump methodwhen this parameter is set and if no increment is find, a automatic "PATCH" is released.
I'll wait for your feedback before working on tests and documentation.
Checklist
./scripts/format
and./scripts/test
locally to ensure this change passes linter check and testAdditional context
Fix #662