Skip to content
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

Avoid suggesting star dependencies. #294

Merged
merged 2 commits into from
Oct 1, 2015
Merged

Avoid suggesting star dependencies. #294

merged 2 commits into from
Oct 1, 2015

Conversation

huonw
Copy link
Contributor

@huonw huonw commented Oct 1, 2015

A * version constraint makes it hard/impossible to release a breaking
change (e.g. clap 2.0) without causing people's code to break. cargo update with a * dependency will happily move from (say) 1.4 to 2.0,
even though semver says these may be a breaking change. Using a more
precise dependency constraint gives the crate author more flexibility in
making breaking changes, and makes users of the crate happier if/when
they do happen.

rust-lang/rfcs#1241 contains a bit more
discussion about this.

@yo-bot
Copy link

yo-bot commented Oct 1, 2015

Thanks for the pull request, and welcome! The clap team is excited to review your changes, and you should hear from @kbknapp (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

A `*` version constraint makes it hard/impossible to release a breaking
change (e.g. clap 2.0) without causing people's code to break.  `cargo
update` with a `*` dependency will happily move from (say) 1.4 to 2.0,
even though semver says these may be a breaking change. Using a more
precise dependency constraint gives the crate author more flexibility in
making breaking changes, and makes users of the crate happier if/when
they do happen.

rust-lang/rfcs#1241 contains a bit more
discussion about this.
@Vinatorul
Copy link
Contributor

Indeed, it should be done, thank you!
Also you can make a commit adding yourself to CONTRIBUTORS.md.

@huonw
Copy link
Contributor Author

huonw commented Oct 1, 2015

Done!

@Vinatorul
Copy link
Contributor

Thank you!
@homu r+

@homu
Copy link
Contributor

homu commented Oct 1, 2015

📌 Commit 45b101b has been approved by Vinatorul

@homu
Copy link
Contributor

homu commented Oct 1, 2015

⌛ Testing commit 45b101b with merge edec5ae...

homu added a commit that referenced this pull request Oct 1, 2015
Avoid suggesting star dependencies.

A `*` version constraint makes it hard/impossible to release a breaking
change (e.g. clap 2.0) without causing people's code to break.  `cargo
update` with a `*` dependency will happily move from (say) 1.4 to 2.0,
even though semver says these may be a breaking change. Using a more
precise dependency constraint gives the crate author more flexibility in
making breaking changes, and makes users of the crate happier if/when
they do happen.

rust-lang/rfcs#1241 contains a bit more
discussion about this.
@homu
Copy link
Contributor

homu commented Oct 1, 2015

☀️ Test successful - status

@homu homu merged commit 45b101b into clap-rs:master Oct 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants