MCPcopy Create free account

hub / github.com/commitizen-tools/commitizen / functions

Functions1,032 in github.com/commitizen-tools/commitizen

↓ 1 callersMethod_ask_version_provider
Ask for setting: version_provider
commitizen/commands/init.py:284
↓ 1 callersMethod_ask_version_scheme
Ask for setting: version_scheme
commitizen/commands/init.py:295
↓ 1 callersFunction_calculate_sorted_changes
( change_type_order: list[str], changes: Mapping[str, Any] )
commitizen/changelog.py:216
↓ 1 callersMethod_char_for_open
Get the EOL character for `open()`.
commitizen/git.py:39
↓ 1 callersFunction_derive_major_version_zero
Derive a ``bump_map_major_version_zero`` from a user-supplied ``bump_map`` by demoting any ``MAJOR`` rule to ``MINOR``. See #1728: when a ``c
commitizen/cz/customize/customize.py:29
↓ 1 callersFunction_export_cmd_as_svg
(cmd: str, file_path: Path)
scripts/gen_cli_help_screenshots.py:27
↓ 1 callersMethod_export_template
(self, dist: str)
commitizen/commands/changelog.py:182
↓ 1 callersMethod_filter_comments
Filter the commit message by removing comments. When using `git commit --verbose`, we exclude the diff that is going to generated, li
commitizen/commands/check.py:142
↓ 1 callersMethod_find_increment
Determine the highest configured increment across candidate commits.
commitizen/commands/bump.py:148
↓ 1 callersMethod_find_incremental_rev
Try to find the 'start_rev'. We use a similarity approach. We know how to parse the version from the markdown changelog, but not the
commitizen/commands/changelog.py:131
↓ 1 callersFunction_format_env
_format_env() prefixes all given environment variables with the given prefix so it can be passed directly to cmd.run().
commitizen/hooks.py:26
↓ 1 callersMethod_from_bump_map_value
Resolve a configured bump-map value or reject invalid rule output. This preserves the historical behavior where a matched custom bump-map
commitizen/version_increment.py:73
↓ 1 callersMethod_get_commit_args
(self)
commitizen/commands/bump.py:454
↓ 1 callersMethod_get_commit_message
(self)
commitizen/commands/check.py:120
↓ 1 callersMethod_get_commits
(self)
commitizen/commands/check.py:131
↓ 1 callersMethod_get_config_data
(self)
commitizen/commands/init.py:325
↓ 1 callersFunction_get_gpg_keyid
(signer_mail)
tests/conftest.py:125
↓ 1 callersMethod_get_increment_base
( self, increment: Increment | None, exact_increment: bool )
commitizen/version_schemes.py:275
↓ 1 callersFunction_get_log_as_str_list
Get string representation of each log entry
commitizen/git.py:331
↓ 1 callersMethod_get_message
(self)
commitizen/commands/commit.py:169
↓ 1 callersMethod_get_message_by_prompt_commit_questions
(self)
commitizen/commands/commit.py:79
↓ 1 callersMethod_get_next_git_version
Calculate the next version based on commits.
commitizen/commands/version.py:159
↓ 1 callersMethod_get_prerelease
(self)
commitizen/version_schemes.py:370
↓ 1 callersMethod_parse_setting
We expect to have a section in .cz.json looking like ``` { "commitizen": { "name": "cz_conventional_commi
commitizen/config/json_config.py:51
↓ 1 callersMethod_parse_setting
We expect to have a section in pyproject looking like ``` [tool.commitizen] name = "cz_conventional_commits" ```
commitizen/config/toml_config.py:54
↓ 1 callersMethod_parse_setting
We expect to have a section in cz.yaml looking like ``` commitizen: name: cz_conventional_commits ```
commitizen/config/yaml_config.py:40
↓ 1 callersMethod_read_backup_message
(self)
commitizen/commands/commit.py:69
↓ 1 callersFunction_resolve_config_candidates
()
commitizen/config/__init__.py:12
↓ 1 callersFunction_resolve_files_and_regexes
Resolve all distinct files with their regexp from a list of glob patterns with optional regexp
commitizen/bump.py:69
↓ 1 callersMethod_resolve_increment_and_new_version
( self, current_version: VersionProtocol, current_tag: git.GitTag | None )
commitizen/commands/bump.py:199
↓ 1 callersMethod_safe_cast
(cls, eol: str)
commitizen/git.py:31
↓ 1 callersFunction_try_decode
(bytes_: bytes)
commitizen/cmd.py:24
↓ 1 callersMethod_validate_arguments
(self, current_version: VersionProtocol)
commitizen/commands/bump.py:175
↓ 1 callersMethod_validate_subject_length
(self, message: str)
commitizen/commands/commit.py:100
↓ 1 callersMethod_wrap_body
Wrap the body of the commit message to the --body-length-limit length.
commitizen/commands/commit.py:116
↓ 1 callersMethod_write_changelog
( self, changelog_out: str, lines: list[str], changelog_meta: changelog.Metadata )
commitizen/commands/changelog.py:163
↓ 1 callersFunction_write_config_to_file
( *, path: Path, cz_name: str, version_provider: str, version_scheme: str, version: Ve
commitizen/commands/init.py:357
↓ 1 callersMethodask
(self)
tests/commands/test_init_command.py:24
↓ 1 callersFunctionavailable_hook_installers
Return hook installer CLIs found on PATH. ``pre-commit`` and ``prek`` are interchangeable. ``pre-commit`` is listed first when both are prese
commitizen/project_info.py:10
↓ 1 callersFunctioncase
( id: str, content: str, latest_version: str | None = None, latest_version_position: int | Non
tests/test_changelog_format_restructuredtext.py:26
↓ 1 callersFunctionchangelog_release_hook
(release: dict, tag: git.GitTag | None)
tests/test_changelog.py:1501
↓ 1 callersMethodexample
Example of the commit message.
commitizen/cz/base.py:145
↓ 1 callersMethodexample
(self)
commitizen/cz/conventional_commits/conventional_commits.py:177
↓ 1 callersMethodexample
(self)
commitizen/cz/jira/jira.py:60
↓ 1 callersFunctionexit_code_from_str_or_skip
(s: str)
commitizen/cli.py:635
↓ 1 callersFunctionformat
(config: BaseConfig)
tests/test_changelog_format_textile.py:99
↓ 1 callersMethodformat_exception_message
Format commit errors.
commitizen/cz/base.py:195
↓ 1 callersMethodfrom_line
(cls, line: str, inner_delimiter: str)
commitizen/git.py:159
↓ 1 callersMethodfrom_match
Resolve one extracted bump token against a configured bump map. The first regular-expression key that matches wins, preserving the cu
commitizen/version_increment.py:91
↓ 1 callersFunctiongen_cli_help_screenshots
Generate the screenshot for help message on each cli command and save them as svg files.
scripts/gen_cli_help_screenshots.py:11
↓ 1 callersFunctiongen_cli_interactive_gifs
Generate GIF screenshots for interactive commands using VHS.
scripts/gen_cli_interactive_gifs.py:5
↓ 1 callersMethodgenerate_build_metadata
Generate build-metadata Build-metadata (local version) is not used in version calculations but added after + statically.
commitizen/version_schemes.py:204
↓ 1 callersMethodgenerate_devrelease
Generate devrelease The devrelease version should be passed directly and is not inferred based on the previous version.
commitizen/version_schemes.py:193
↓ 1 callersMethodgenerate_prerelease
Generate prerelease X.YaN # Alpha release X.YbN # Beta release X.YrcN # Release Candidate X.Y # Final
commitizen/version_schemes.py:167
↓ 1 callersMethodget
(self, document: TOMLDocument)
commitizen/providers/cargo_provider.py:31
↓ 1 callersMethodget
(self, document: tomlkit.TOMLDocument)
commitizen/providers/base_provider.py:104
↓ 1 callersFunctionget_changelog_template
(loader: BaseLoader, template: str)
commitizen/changelog.py:224
↓ 1 callersFunctionget_commit_tag
(commit: GitCommit, tags: list[GitTag])
commitizen/changelog.py:88
↓ 1 callersMethodget_current_branch
Get current git branch name.
tests/utils.py:85
↓ 1 callersMethodget_latest_full_release_from_file
(self, file: IO[Any])
commitizen/changelog_formats/base.py:83
↓ 1 callersFunctionget_latest_tag_name
()
commitizen/git.py:280
↓ 1 callersMethodget_metadata_from_file
(self, file: IO[Any])
commitizen/changelog_formats/base.py:46
↓ 1 callersFunctionget_next_tag_name_after_version
(tags: Iterable[GitTag], version: str)
commitizen/changelog.py:296
↓ 1 callersMethodget_package_version
(self, document: Mapping[str, str])
commitizen/providers/npm_provider.py:74
↓ 1 callersFunctionget_tag_name
(v: str)
commitizen/changelog.py:352
↓ 1 callersFunctionget_tag_names
()
commitizen/git.py:294
↓ 1 callersFunctionget_tag_regexes
( version_regex: str, )
commitizen/defaults.py:155
↓ 1 callersFunctionget_tags
( dateformat: str = "%Y-%m-%d", reachable_only: bool = False )
commitizen/git.py:240
↓ 1 callersMethodget_version
(self)
commitizen/providers/commitizen_provider.py:12
↓ 1 callersMethodincrement_base
(self, increment: Increment | None = None)
commitizen/version_schemes.py:215
↓ 1 callersMethodinfo
(self)
commitizen/cz/conventional_commits/conventional_commits.py:220
↓ 1 callersMethodinfo
(self)
commitizen/cz/jira/jira.py:75
↓ 1 callersMethodinit_empty_config_content
(self)
commitizen/config/yaml_config.py:29
↓ 1 callersMethodmessage
Format your git message.
commitizen/cz/base.py:132
↓ 1 callersMethodmessage
(self, answers: Mapping[str, str])
commitizen/cz/jira/jira.py:53
↓ 1 callersFunctionparse_no_raise
Convert the given string to exit codes. Receives digits and strings and outputs the parsed integer which represents the exit code found in ex
commitizen/cli.py:628
↓ 1 callersFunctionpost_commit
()
hooks/post-commit.py:10
↓ 1 callersFunctionprepare_commit_msg
(commit_msg_file: str)
hooks/prepare-commit-msg.py:15
↓ 1 callersFunctionprocess_commit_message
( hook: MessageBuilderHook | None, parsed: re.Match[str], commit: GitCommit, ref_changes: Muta
commitizen/changelog.py:174
↓ 1 callersMethodquestions
Questions regarding the commit message.
commitizen/cz/base.py:128
↓ 1 callersMethodquestions
(self)
commitizen/cz/jira/jira.py:17
↓ 1 callersFunctionrequired_validator
(answer: str, msg: object = None)
commitizen/cz/utils.py:12
↓ 1 callersMethodschema
(self)
commitizen/cz/customize/customize.py:98
↓ 1 callersMethodschema
(self)
commitizen/cz/conventional_commits/conventional_commits.py:186
↓ 1 callersMethodschema
(self)
commitizen/cz/jira/jira.py:69
↓ 1 callersMethodschema_pattern
Regex matching the schema used for message validation.
commitizen/cz/base.py:153
↓ 1 callersMethodset
(self, document: tomlkit.TOMLDocument, version: str)
commitizen/providers/base_provider.py:107
↓ 1 callersMethodset_lock_version
(self, version: str)
commitizen/providers/cargo_provider.py:45
↓ 1 callersMethodset_lock_version
( self, document: dict[str, Any], version: str )
commitizen/providers/npm_provider.py:83
↓ 1 callersMethodset_lock_version
(self, version: str)
commitizen/providers/uv_provider.py:28
↓ 1 callersMethodset_package_version
( self, document: dict[str, Any], version: str )
commitizen/providers/npm_provider.py:77
↓ 1 callersMethodset_shrinkwrap_version
( self, document: dict[str, Any], version: str )
commitizen/providers/npm_provider.py:90
↓ 1 callersMethodset_version
(self, version: str)
commitizen/providers/commitizen_provider.py:17
↓ 1 callersMethodvalidate_commit_message
Validate commit message against the pattern.
commitizen/cz/base.py:160
Method__call__
( self, parser: argparse.ArgumentParser, namespace: argparse.Namespace, values
commitizen/cli.py:48
Method__call__
(self)
commitizen/commands/schema.py:12
Method__call__
(self)
commitizen/commands/list_cz.py:12
Method__call__
Steps executed to bump.
commitizen/commands/bump.py:253
Method__call__
(self)
commitizen/commands/commit.py:184
Method__call__
Validate if commit messages follows the conventional pattern. Raises: InvalidCommitMessageError: if the commit provided does not
commitizen/commands/check.py:87
← previousnext →101–200 of 1,032, ranked by callers