commitizen icon indicating copy to clipboard operation
commitizen copied to clipboard

`retry_after_failure` config option should also apply to `bump` command

Open jakob-keller opened this issue 1 year ago • 1 comments

Description

commitizen supports the --retry argument for multiple commands:

  • commit: https://commitizen-tools.github.io/commitizen/commands/commit/#retry
  • bump: https://commitizen-tools.github.io/commitizen/commands/bump/#-retry

This is really useful when working with pre-commit hooks.

As a further improvement of developer experience, the retry_after_failure config option is available.

That config option currently applies to the commit command only. It is not applied when running the bump command.

It would be great, if the retry_after_failure config option would also apply to the bump command.

Possible Solution

No response

Additional context

#732 requested retry config support for the commit command, which was implemented in #1027.

Additional context

No response

jakob-keller avatar Dec 01 '24 23:12 jakob-keller

@Lee-W wdyt? But I think we should have a better config option name like retry_after_failure_bump if we want to implement this feature, or we need to redesign the config options in some future version.

bearomorphism avatar Dec 03 '25 15:12 bearomorphism