Title: changelog generation is not working as expected in case of cz_customize? · Issue #466 · commitizen-tools/commitizen · GitHub
Open Graph Title: changelog generation is not working as expected in case of cz_customize? · Issue #466 · commitizen-tools/commitizen
X Title: changelog generation is not working as expected in case of cz_customize? · Issue #466 · commitizen-tools/commitizen
Description: Description Maybe I'm missing something but I'm not able to generate a changelog properly with custom configurations (cz_customize). Steps to reproduce cz --debug changelog --dry-run Current behavior I've tried different configurations t...
Open Graph Description: Description Maybe I'm missing something but I'm not able to generate a changelog properly with custom configurations (cz_customize). Steps to reproduce cz --debug changelog --dry-run Current behavi...
X Description: Description Maybe I'm missing something but I'm not able to generate a changelog properly with custom configurations (cz_customize). Steps to reproduce cz --debug changelog --dry-run Curren...
Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/466
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"changelog generation is not working as expected in case of cz_customize?","articleBody":"## Description\r\nMaybe I'm missing something but I'm not able to generate a changelog properly with custom configurations (cz_customize).\r\n\r\n## Steps to reproduce\r\ncz --debug changelog --dry-run\r\n\r\n## Current behavior\r\nI've tried different configurations through cz_customize, although the customization related to commits seems ok, the changelog generation doesn't work for me. I'm not able to generate a changelog as I do with the cz_conventional_commits. There is no filtering on the commits, no grouping by change_type as you can see below.\r\n\r\nFile: **_.cz.yaml_**\r\n```yaml\r\ncommitizen:\r\n name: cz_customize\r\n customize:\r\n message_template: \"{{change_type}}:{% if show_message %} {{message}}{% endif %}\"\r\n example: 'feature: this feature enable customize through config file'\r\n schema: \"\u003ctype\u003e: \u003cbody\u003e\"\r\n schema_pattern: (build|ci|docs|feat|fix|perf|refactor|style|test|chore|revert|bump)(\\(\\S+\\))?!?:(\\s.*)\r\n changelog_pattern: ^(feat|fix|chore|refactor|perf)(\\(.+\\))?(!)?\r\n change_type_order: [\"BREAKING CHANGE\", \"feat\", \"fix\", \"refactor\", \"chore\", \"perf\"]\r\n info_path: cz_customize_info.txt\r\n info: This is customized info\r\n questions:\r\n - type: list\r\n name: change_type\r\n choices:\r\n - value: feature\r\n name: 'feature: A new feature.'\r\n - value: bug fix\r\n name: 'bug fix: A bug fix.'\r\n message: Select the type of change you are committing\r\n - type: input\r\n name: message\r\n message: Body.\r\n - type: confirm\r\n name: show_message\r\n message: Do you want to add body message in commit?\r\n```\r\n\r\n```console\r\ncz --debug changelog --dry-run\r\n```\r\n\r\n```\r\n## Unreleased\r\n\r\n\r\n- feat(DL-4567): new feature test\r\n- fix(DL-1234): qweqwe\r\n```\r\n**Screenshots**\r\n\r\n\r\n\r\n## Desired behavior\r\nFile: **_.cz.yaml_**\r\n```yaml\r\ncommitizen:\r\n name: cz_customize\r\n customize:\r\n message_template: \"{{change_type}}:{% if show_message %} {{message}}{% endif %}\"\r\n example: 'feature: this feature enable customize through config file'\r\n schema: \"\u003ctype\u003e: \u003cbody\u003e\"\r\n schema_pattern: (build|ci|docs|feat|fix|perf|refactor|style|test|chore|revert|bump)(\\(\\S+\\))?!?:(\\s.*)\r\n changelog_pattern: ^(feat|fix|chore|refactor|perf)(\\(.+\\))?(!)?\r\n change_type_order: [\"BREAKING CHANGE\", \"feat\", \"fix\", \"refactor\", \"chore\", \"perf\"]\r\n info_path: cz_customize_info.txt\r\n info: This is customized info\r\n questions:\r\n - type: list\r\n name: change_type\r\n choices:\r\n - value: feature\r\n name: 'feature: A new feature.'\r\n - value: bug fix\r\n name: 'bug fix: A bug fix.'\r\n message: Select the type of change you are committing\r\n - type: input\r\n name: message\r\n message: Body.\r\n - type: confirm\r\n name: show_message\r\n message: Do you want to add body message in commit?\r\n```\r\n```console\r\ncz --debug changelog --dry-run`\r\n```\r\n\r\n```\r\n## Unreleased\r\n\r\n### Feat\r\n\r\n- **DL-4567**: new feature test\r\n\r\n### Fix\r\n\r\n- **DL-1234**: qweqwe\r\n```\r\n**Screenshots**\r\n\r\n\r\n\r\n## Environment\r\nCommitizen Version: 2.20.0\r\nPython Version: 3.10.0 (default, Oct 12 2021, 22:37:59) [Clang 13.0.0 (clang-1300.0.29.3)]\r\nOperating System: Darwin\r\n","author":{"url":"https://github.com/brunopereira7","@type":"Person","name":"brunopereira7"},"datePublished":"2021-12-22T18:43:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/466/commitizen/issues/466"}
| 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:e62b6723-b2c8-2855-73e3-77799bc0a0a2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D2CC:E21F7:F4B462:FA1E8E:6A4DC5DE |
| html-safe-nonce | 935b68dde37d67df77edfeec42a0e459578de3e528d9406e1e4f0fa07af2de0d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkNDOkUyMUY3OkY0QjQ2MjpGQTFFOEU6NkE0REM1REUiLCJ2aXNpdG9yX2lkIjoiMzQ1MzA5MzY4MDE3NjAyMDE0IiwicmVnaW9uX2VkZ2UiOiJzZWEiLCJyZWdpb25fcmVuZGVyIjoic2VhIn0= |
| visitor-hmac | 6b5a20baeaca5bf79cbd111a0dc5ff1a45bd36f9fbb9424af69b13950977404a |
| hovercard-subject-tag | issue:1087086432 |
| 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/466/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5fe449d1b88aedeb5d690a5385456ad8689cf732540a7bfdb14bc6447144531d/commitizen-tools/commitizen/issues/466 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5fe449d1b88aedeb5d690a5385456ad8689cf732540a7bfdb14bc6447144531d/commitizen-tools/commitizen/issues/466 |
| og:image:alt | Description Maybe I'm missing something but I'm not able to generate a changelog properly with custom configurations (cz_customize). Steps to reproduce cz --debug changelog --dry-run Current behavi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brunopereira7 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width