New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing metadata should be possible without bumping a version #971

Open
lifthrasiir opened this Issue Nov 25, 2014 · 1 comment

Comments

Projects
None yet
4 participants
@lifthrasiir
Copy link
Contributor

lifthrasiir commented Nov 25, 2014

Currently Cargo doesn't allow the metadata to be separately updated. This doesn't seem right (as the semantic versioning only concerns about the public API and the metadata is not a part of the public API).

In order to fix this issue, the publish endpoint (/api/v1/crates/new) should be adjusted to accept the metadata without the tarball (well, or have a new endpoint for that), and the server will check if the name, version, dependencies and features match to those stored before updating that. In the CLI the cargo publish command should ask for the metadata update when the version hasn't been changed.

@sfackler

This comment has been minimized.

Copy link
Member

sfackler commented Nov 25, 2014

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment