Title: feat(changelog): expose commit parents by unleashed · Pull Request #1 · unleashed/commitizen · GitHub
Open Graph Title: feat(changelog): expose commit parents by unleashed · Pull Request #1 · unleashed/commitizen
X Title: feat(changelog): expose commit parents by unleashed · Pull Request #1 · unleashed/commitizen
Description: Description Expose commit parent(s) digests to the changelog process. This has an application for projects that want to generate changelogs based on merge commits only, but it is likely useful in more contexts, for example listing commits that belong to the same PR under its own section. Checklist Add test cases to all the changes you introduce Run poetry all locally to ensure this change passes linter check and test Test the changes on the local machine manually Update the documentation for the changes Expected behavior The changelog generation code exposes the parents field with a list of parent digests in git commits. Steps to Test This Pull Request You can create a changelog template iterating the parents field of changes and for merge commits you should have at least 2 parents. Additional context Useful in the git workflow I'm currently working on, where merge commits cannot be told apart by the changelog generation machinery and I need to distinguish them as they are the only ones that can be taken into account without rewriting the project's git history due to using varied standards throughout its life.
Open Graph Description: Description Expose commit parent(s) digests to the changelog process. This has an application for projects that want to generate changelogs based on merge commits only, but it is likely useful in m...
X Description: Description Expose commit parent(s) digests to the changelog process. This has an application for projects that want to generate changelogs based on merge commits only, but it is likely useful in m...
Opengraph URL: https://github.com/unleashed/commitizen/pull/1
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:16221d8c-3af3-d588-b8b8-24c2d9928d44 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D3D4:2F76D:63D8580:80CE087:6976554E |
| html-safe-nonce | 54ce44d93a7d678174c01235351327c545cf051f0c026f50ce1c09cb2531c1a8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0Q0OjJGNzZEOjYzRDg1ODA6ODBDRTA4Nzo2OTc2NTU0RSIsInZpc2l0b3JfaWQiOiI4MjM3Njc3Mjc2MTIwMzcyNTU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 75a3d0100844f9ddc889c4a977f1731077d766391dcf9048291c7dcdcde2fd8c |
| hovercard-subject-tag | pull_request:2407026017 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/unleashed/commitizen/pull/1/files |
| twitter:image | https://avatars.githubusercontent.com/u/201794?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/201794?s=400&v=4 |
| og:image:alt | Description Expose commit parent(s) digests to the changelog process. This has an application for projects that want to generate changelogs based on merge commits only, but it is likely useful in m... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/unleashed/commitizen git https://github.com/unleashed/commitizen.git |
| octolytics-dimension-user_id | 201794 |
| octolytics-dimension-user_login | unleashed |
| octolytics-dimension-repository_id | 951934134 |
| octolytics-dimension-repository_nwo | unleashed/commitizen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 106127589 |
| octolytics-dimension-repository_parent_nwo | commitizen-tools/commitizen |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width