Title: Add commit hash and issue number to the changelog format as optional variables · Issue #1229 · commitizen-tools/commitizen · GitHub
Open Graph Title: Add commit hash and issue number to the changelog format as optional variables · Issue #1229 · commitizen-tools/commitizen
X Title: Add commit hash and issue number to the changelog format as optional variables · Issue #1229 · commitizen-tools/commitizen
Description: Description It would be nice to get for each commit in the generated changelog as as optional variables: short commit SHAs, linked to the commit in github issue number, linked to the issue in github See an example that was generated with...
Open Graph Description: Description It would be nice to get for each commit in the generated changelog as as optional variables: short commit SHAs, linked to the commit in github issue number, linked to the issue in githu...
X Description: Description It would be nice to get for each commit in the generated changelog as as optional variables: short commit SHAs, linked to the commit in github issue number, linked to the issue in githu...
Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/1229
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add commit hash and issue number to the changelog format as optional variables","articleBody":"### Description\r\n\r\nIt would be nice to get for each commit in the generated changelog as as [optional variables](https://commitizen-tools.github.io/commitizen/commands/changelog/#description):\r\n- [short commit SHAs](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls#commit-shas), linked to the commit in github\r\n- [issue number](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls#commit-shas), linked to the issue in github\r\n\r\nSee an [example](https://github.com/nongrata081/ng-assessment/blob/master/CHANGELOG.md) that was generated with [conventional-changelog-cli](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-cli) (node.js). See [npm script](https://github.com/nongrata081/ng-assessment/blob/3f08717655e9d354960dff81b528a794fc9e643a/package.json#L12) that generates the changelog.\r\n\r\nThe justification is that having short commit hash and issue number as clickable links in repo gives a possibility to quickly access the related code and issues/threads in github, thus having full context of the item / entity worked on, without having to search for it by hand, that would take much more time.\r\n\r\n\u003cimg width=\"813\" alt=\"changelog-example\" src=\"https://github.com/user-attachments/assets/b1388a78-fb61-4cda-9e29-6d164722c9be\"\u003e\r\n\r\n\r\n\r\n### Possible Solution\r\n\r\nadd linked commit hash and issue number as [optional variables](https://commitizen-tools.github.io/commitizen/commands/changelog/#description) to each commit to changelog format\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Additional context\r\n\r\n_No response_","author":{"url":"https://github.com/skyisuniverse","@type":"Person","name":"skyisuniverse"},"datePublished":"2024-09-07T11:30:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/1229/commitizen/issues/1229"}
| 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:074753fa-1a83-c9f5-5c86-e0cea0ffda21 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9B26:35FB06:8258F5:B24354:6A4DB592 |
| html-safe-nonce | dde0f428d81b5fe33d124a3f3aac988b9aeeb6cadf464af27d86a2e6847de473 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjI2OjM1RkIwNjo4MjU4RjU6QjI0MzU0OjZBNERCNTkyIiwidmlzaXRvcl9pZCI6IjU4MzcwOTAyMjE4MzM2OTY2NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 444a275e87748ea488ec5e078154f98e1134cb45b132b934baf7dc2c87e8b697 |
| hovercard-subject-tag | issue:2511605532 |
| 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/1229/issue_layout |
| twitter:image | https://opengraph.githubassets.com/211aca74d274ab58e045e5c86650acde15ea84736f8926031607ccaf20bf77be/commitizen-tools/commitizen/issues/1229 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/211aca74d274ab58e045e5c86650acde15ea84736f8926031607ccaf20bf77be/commitizen-tools/commitizen/issues/1229 |
| og:image:alt | Description It would be nice to get for each commit in the generated changelog as as optional variables: short commit SHAs, linked to the commit in github issue number, linked to the issue in githu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | skyisuniverse |
| 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 | 32f7b614aca06e6bbd89842b1370df1328264f68 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width