Title: Inconsistent carriage returns in generated changelogs · Issue #955 · python-semantic-release/python-semantic-release · GitHub
Open Graph Title: Inconsistent carriage returns in generated changelogs · Issue #955 · python-semantic-release/python-semantic-release
X Title: Inconsistent carriage returns in generated changelogs · Issue #955 · python-semantic-release/python-semantic-release
Description: The problem The commit object returned from GitPython seems to sometimes contain DOS CRs (^M)s (even when the original commit message does not contain them). This results in inconsistent carriage return style in generated changelogs with...
Open Graph Description: The problem The commit object returned from GitPython seems to sometimes contain DOS CRs (^M)s (even when the original commit message does not contain them). This results in inconsistent carriage r...
X Description: The problem The commit object returned from GitPython seems to sometimes contain DOS CRs (^M)s (even when the original commit message does not contain them). This results in inconsistent carriage r...
Opengraph URL: https://github.com/python-semantic-release/python-semantic-release/issues/955
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Inconsistent carriage returns in generated changelogs","articleBody":"## The problem\r\nThe commit object returned from GitPython seems to sometimes contain DOS CRs (`^M`)s (even when the original commit message does not contain them). This results in inconsistent carriage return style in generated changelogs with the default template\r\n\r\n## Expected behavior\r\nConsistent CRs in generated changelog\r\n\r\n## Environment\r\n```shell\r\n% python3 --version\r\nPython 3.12.3\r\n% pip3 --version \r\npip 24.0 from /opt/homebrew/lib/python3.12/site-packages/pip (python 3.12)\r\n% semantic-release --version\r\nsemantic-release, version 9.8.1\r\n```\r\n\r\nI can make a PR to fix this, though may need some help with figuring out the best way(s) to test if applicable.","author":{"url":"https://github.com/wyardley","@type":"Person","name":"wyardley"},"datePublished":"2024-06-15T06:05:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/955/python-semantic-release/issues/955"}
| 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:991e4185-6629-b2a3-a8c6-4f5900a9ee14 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EE32:701B4:4A15D3:5F445D:69928950 |
| html-safe-nonce | 885158af54f12e7db44fa559784aea5a450d35a5bb1315a1d646e14d5724d994 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTMyOjcwMUI0OjRBMTVEMzo1RjQ0NUQ6Njk5Mjg5NTAiLCJ2aXNpdG9yX2lkIjoiNjI2MTQ4NzQ5ODA5NjE4MzYzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 709e0191a15a96e89b0cab66c979dcdd3f27b542e77d6da0540d2b696bd2c38c |
| hovercard-subject-tag | issue:2354576262 |
| 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/python-semantic-release/python-semantic-release/955/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8e43c0fd062b21d0f50b4310eb145c2dc855fb67d72efff12c4acd40fad19ca0/python-semantic-release/python-semantic-release/issues/955 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8e43c0fd062b21d0f50b4310eb145c2dc855fb67d72efff12c4acd40fad19ca0/python-semantic-release/python-semantic-release/issues/955 |
| og:image:alt | The problem The commit object returned from GitPython seems to sometimes contain DOS CRs (^M)s (even when the original commit message does not contain them). This results in inconsistent carriage r... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wyardley |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/python-semantic-release/python-semantic-release git https://github.com/python-semantic-release/python-semantic-release.git |
| octolytics-dimension-user_id | 116517554 |
| octolytics-dimension-user_login | python-semantic-release |
| octolytics-dimension-repository_id | 39765732 |
| octolytics-dimension-repository_nwo | python-semantic-release/python-semantic-release |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 39765732 |
| octolytics-dimension-repository_network_root_nwo | python-semantic-release/python-semantic-release |
| 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 | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width