Title: Enable cover cz_conventional_commits via [tool.commitizen.customize] · Issue #1270 · commitizen-tools/commitizen · GitHub
Open Graph Title: Enable cover cz_conventional_commits via [tool.commitizen.customize] · Issue #1270 · commitizen-tools/commitizen
X Title: Enable cover cz_conventional_commits via [tool.commitizen.customize] · Issue #1270 · commitizen-tools/commitizen
Description: Description hey there👋 it's a fantastic cil tools. thanks for your guys contribution! it's impossible to cover the default options such as commit Patten via toml after checking the docs and raw code,only will work on complicated full cus...
Open Graph Description: Description hey there👋 it's a fantastic cil tools. thanks for your guys contribution! it's impossible to cover the default options such as commit Patten via toml after checking the docs and raw cod...
X Description: Description hey there👋 it's a fantastic cil tools. thanks for your guys contribution! it's impossible to cover the default options such as commit Patten via toml after checking the docs and...
Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/1270
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":" Enable cover cz_conventional_commits via [tool.commitizen.customize]","articleBody":"### Description\r\n\r\nhey there👋 it's a fantastic cil tools. thanks for your guys contribution!\r\n\r\nit's impossible to cover the default options such as commit Patten via toml after checking the docs and raw code,only will work on complicated full customization in toml which is scary.\r\n😭\r\n\r\nthe following is the version i would like to use:\r\n```toml\r\n[tool.commitizen]\r\nname = \"cz_conventional_commits\"\r\ntag_format = \"$version\"\r\nversion_scheme = \"semver\"\r\nversion_provider = \"pep621\"\r\nupdate_changelog_on_bump = true\r\nmajor_version_zero = true\r\nchangelog_incremental = false\r\n\r\n[tool.commitizen.customize]\r\ncommit_parser = \"^((?P\u003cchange_type\u003efeat|fix|refactor|perf|docs|style|refactor|BREAKING CHANGE)(?:\\\\((?P\u003cscope\u003e[^()\\r\\n]*)\\\\)|\\\\()?(?P\u003cbreaking\u003e!)?|\\\\w+!):\\\\s(?P\u003cmessage\u003e.*)?\"\r\nchangelog_pattern = \"^((BREAKING[\\\\-\\\\ ]CHANGE|\\\\w+)(\\\\(.+\\\\))?!?):\"\r\nchange_type_map = {\"feat\"=\"Feat\",\"fix\"=\"Fix\",\"refactor\"= \"Refactor\",\"perf\"=\"Perf\",\"docs\"=\"Docs\",\"style\"=\"Style\"}\r\n```\r\nof course,`[tool.commitizen.customize]` would be invalid because of `[tool.commitizen]` `name` is not `cz_customize` according to the [docs](https://commitizen-tools.github.io/commitizen/customization/#customizing-the-changelog-template) and raw code.\r\n\r\nit looks like we **coverd** `cz_conventional_commits` version with `[tool.commitizen.customize]`,which is what we need.\r\n\r\nso let's replace the `name` as `cz_customize`, it will work on `cz bump --dry-run`,but `cz commit -a` would failed for _**no complete**_ definition `[tool.commitizen.customize]`,also docs had given the complete one looks terrified.\r\n\r\n\r\n### Possible Solution\r\n\r\ni think we can realize it via making `class CustomizeCommitsCz:`to inherit from `ConventionalCommitsCz` directly.\r\n","author":{"url":"https://github.com/AtticusZeller","@type":"Person","name":"AtticusZeller"},"datePublished":"2024-10-22T14:39:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/1270/commitizen/issues/1270"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6e93d68d-8cd5-1dba-072f-e7ae568b64b9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B97E:26C5EC:DE4D3C:1373DFF:6A4E893D |
| html-safe-nonce | 56d891a3e3d5da2f7dd5df0b9ec5bf696fb4cfb9bd1b6a79d53dbbf380dfa4c8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTdFOjI2QzVFQzpERTREM0M6MTM3M0RGRjo2QTRFODkzRCIsInZpc2l0b3JfaWQiOiI2MzU4MDQ5NTcxNjU5MTQ0MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1e467b3028037d7c35c7492b1a2a4a7ccc90ce3a18fc2c94cfca501a98dfe57c |
| hovercard-subject-tag | issue:2605659629 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/commitizen-tools/commitizen/1270/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5adf8c1e962142cf486a40083cbaf748d9422d5c3596a86c7c11ae6498c269ef/commitizen-tools/commitizen/issues/1270 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5adf8c1e962142cf486a40083cbaf748d9422d5c3596a86c7c11ae6498c269ef/commitizen-tools/commitizen/issues/1270 |
| og:image:alt | Description hey there👋 it's a fantastic cil tools. thanks for your guys contribution! it's impossible to cover the default options such as commit Patten via toml after checking the docs and raw cod... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AtticusZeller |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git |
| octolytics-dimension-user_id | 62252524 |
| octolytics-dimension-user_login | commitizen-tools |
| octolytics-dimension-repository_id | 106127589 |
| octolytics-dimension-repository_nwo | commitizen-tools/commitizen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 106127589 |
| octolytics-dimension-repository_network_root_nwo | commitizen-tools/commitizen |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width