commitizen 4.19.2__tar.gz → 4.19.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {commitizen-4.19.2 → commitizen-4.19.4}/PKG-INFO +1 -1
- commitizen-4.19.4/commitizen/__version__.py +1 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/commands/commit.py +4 -4
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/providers/scm_provider.py +7 -1
- {commitizen-4.19.2 → commitizen-4.19.4}/pyproject.toml +2 -2
- {commitizen-4.19.2 → commitizen-4.19.4}/pyproject.toml.orig +2 -2
- commitizen-4.19.2/commitizen/__version__.py +0 -1
- {commitizen-4.19.2 → commitizen-4.19.4}/LICENSE +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/__init__.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/__main__.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/bump.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/changelog.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/changelog_formats/__init__.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/changelog_formats/asciidoc.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/changelog_formats/base.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/changelog_formats/markdown.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/changelog_formats/restructuredtext.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/changelog_formats/textile.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/cli.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/cmd.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/commands/__init__.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/commands/bump.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/commands/changelog.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/commands/check.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/commands/example.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/commands/info.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/commands/init.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/commands/list_cz.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/commands/schema.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/commands/version.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/config/__init__.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/config/base_config.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/config/factory.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/config/json_config.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/config/toml_config.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/config/yaml_config.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/cz/__init__.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/cz/base.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/cz/conventional_commits/__init__.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/cz/conventional_commits/conventional_commits.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/cz/conventional_commits/conventional_commits_info.txt +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/cz/customize/__init__.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/cz/customize/customize.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/cz/customize/customize_info.txt +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/cz/exceptions.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/cz/jira/__init__.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/cz/jira/jira.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/cz/jira/jira_info.txt +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/cz/utils.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/defaults.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/exceptions.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/factory.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/git.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/hooks.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/out.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/project_info.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/providers/__init__.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/providers/base_provider.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/providers/cargo_provider.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/providers/commitizen_provider.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/providers/composer_provider.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/providers/npm_provider.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/providers/pep621_provider.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/providers/poetry_provider.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/providers/uv_provider.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/py.typed +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/question.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/tags.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/templates/CHANGELOG.adoc.j2 +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/templates/CHANGELOG.md.j2 +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/templates/CHANGELOG.rst.j2 +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/templates/CHANGELOG.textile.j2 +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/version_increment.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/commitizen/version_schemes.py +0 -0
- {commitizen-4.19.2 → commitizen-4.19.4}/docs/README.md +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "4.19.4"
|
|
@@ -38,7 +38,7 @@ class CommitArgs(TypedDict, total=False):
|
|
|
38
38
|
edit: bool
|
|
39
39
|
extra_cli_args: list[str]
|
|
40
40
|
message_length_limit: int
|
|
41
|
-
body_length_limit: int
|
|
41
|
+
body_length_limit: int | None
|
|
42
42
|
no_retry: bool
|
|
43
43
|
signoff: bool
|
|
44
44
|
write_message_to_file: Path | None
|
|
@@ -109,9 +109,9 @@ class Commit:
|
|
|
109
109
|
Wrap the body of the commit message to the --body-length-limit length.
|
|
110
110
|
"""
|
|
111
111
|
|
|
112
|
-
body_length_limit = self.arguments.get(
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
body_length_limit = self.arguments.get("body_length_limit")
|
|
113
|
+
if body_length_limit is None:
|
|
114
|
+
body_length_limit = self.config.settings["body_length_limit"]
|
|
115
115
|
# By the contract, body_length_limit is set to 0 for no limit
|
|
116
116
|
if not body_length_limit or body_length_limit <= 0:
|
|
117
117
|
return message
|
|
@@ -18,7 +18,13 @@ class ScmProvider(VersionProvider):
|
|
|
18
18
|
rules = TagRules.from_settings(self.config.settings)
|
|
19
19
|
tags = get_tags(reachable_only=True)
|
|
20
20
|
version_tags = rules.get_version_tags(tags)
|
|
21
|
-
|
|
21
|
+
# Floating tags (e.g. `v1.0` next to `v1.0.0`) compare equal. Among equal
|
|
22
|
+
# versions, prefer the most specific (longest) spelling.
|
|
23
|
+
version = max(
|
|
24
|
+
(rules.extract_version(t) for t in version_tags),
|
|
25
|
+
key=lambda v: (v, len(str(v))),
|
|
26
|
+
default=None,
|
|
27
|
+
)
|
|
22
28
|
return str(version) if version is not None else "0.0.0"
|
|
23
29
|
|
|
24
30
|
def set_version(self, version: str) -> None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "commitizen"
|
|
3
|
-
version = "4.19.
|
|
3
|
+
version = "4.19.4"
|
|
4
4
|
description = "Python commitizen client tool"
|
|
5
5
|
license = "MIT"
|
|
6
6
|
license-files = ["LICENSE"]
|
|
@@ -140,7 +140,7 @@ documentation = [
|
|
|
140
140
|
script = ["rich>=13.7.1"]
|
|
141
141
|
|
|
142
142
|
[build-system]
|
|
143
|
-
requires = ["uv_build >= 0.9.17, < 0.
|
|
143
|
+
requires = ["uv_build >= 0.9.17, < 0.14"]
|
|
144
144
|
build-backend = "uv_build"
|
|
145
145
|
|
|
146
146
|
[tool.commitizen]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "commitizen"
|
|
3
|
-
version = "4.19.
|
|
3
|
+
version = "4.19.4"
|
|
4
4
|
description = "Python commitizen client tool"
|
|
5
5
|
authors = [{ name = "Santiago Fraire", email = "santiwilly@gmail.com" }]
|
|
6
6
|
maintainers = [
|
|
@@ -133,7 +133,7 @@ script = [
|
|
|
133
133
|
]
|
|
134
134
|
|
|
135
135
|
[build-system]
|
|
136
|
-
requires = ["uv_build >= 0.9.17, < 0.
|
|
136
|
+
requires = ["uv_build >= 0.9.17, < 0.14"]
|
|
137
137
|
build-backend = "uv_build"
|
|
138
138
|
|
|
139
139
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "4.19.2"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{commitizen-4.19.2 → commitizen-4.19.4}/commitizen/cz/conventional_commits/conventional_commits.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|