Title: Fix/cargo workspace deps version for publishing by vemilano · Pull Request #2017 · commitizen-tools/commitizen · GitHub
Open Graph Title: Fix/cargo workspace deps version for publishing by vemilano · Pull Request #2017 · commitizen-tools/commitizen
X Title: Fix/cargo workspace deps version for publishing by vemilano · Pull Request #2017 · commitizen-tools/commitizen
Description: Description This PR makes 2 things: Fixes #2001. Commitizen was crashing when a workspace member had a fixed version Add support for rust projects with workspace members that want to publish their crates on crates.io Regarding the second point, to provide more details, crates.io requires that each crate have a version specified in Cargo.toml. For projects that use a workspace, this means that all members using version.workspace = true must also have a version specified at the workspace.dependencies level (the specified version must be the same as that of workspace.version). When performing a version bump, in addition to updating workspace.version (in Cargo.toml) and the versions in Cargo.lock, we must also update the versions specified in Cargo.toml, since they are actually dynamically managed by Cargo via version.workspace = true. Projects such as crate-ci/cargo-release or pksunkara/cargo-workspaces also use the same process Checklist I have read the contributing guidelines Was generative AI tooling used to co-author this PR? no Code Changes Add test cases to all the changes you introduce Run uv run poe all locally to ensure this change passes linter check and tests Manually test the changes: Verify the feature/bug fix works as expected in real-world scenarios Test edge cases and error conditions Ensure backward compatibility is maintained Document any manual testing steps performed Update the documentation for the changes
Open Graph Description: Description This PR makes 2 things: Fixes #2001. Commitizen was crashing when a workspace member had a fixed version Add support for rust projects with workspace members that want to publish their...
X Description: Description This PR makes 2 things: Fixes #2001. Commitizen was crashing when a workspace member had a fixed version Add support for rust projects with workspace members that want to publish their...
Opengraph URL: https://github.com/commitizen-tools/commitizen/pull/2017
X: @github
Domain: www.github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:51257004-57dd-8709-f603-f8958e2128b8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EB58:1DA1C2:516E6B:763862:6A61EC58 |
| html-safe-nonce | b65bbc272676b9b57a4364688d7e3a217afcbe57e6f38e65dd722a8e72c4bc26 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjU4OjFEQTFDMjo1MTZFNkI6NzYzODYyOjZBNjFFQzU4IiwidmlzaXRvcl9pZCI6IjcyOTU0Nzk2MjMxMjM1OTQzMjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8c0ea2040712f0098815c929f308b3ddb08170cb049c403e7eeec99c4dcc5918 |
| hovercard-subject-tag | pull_request:3898926012 |
| 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/commitizen-tools/commitizen/pull/2017/files |
| twitter:image | https://avatars.githubusercontent.com/u/230173219?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/230173219?s=400&v=4 |
| og:image:alt | Description This PR makes 2 things: Fixes #2001. Commitizen was crashing when a workspace member had a fixed version Add support for rust projects with workspace members that want to publish their... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5dd1217fff37e297563b9d318ee02bf6378c8957c6195b77786bb8896fc9c95d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 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 | 554667f6dda2a53c83687de64fabc457970f0f04 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width