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

Cookbook ideas for semver #276

Closed
KodrAus opened this Issue Sep 18, 2017 · 11 comments

Comments

Projects
None yet
5 participants
@KodrAus

KodrAus commented Sep 18, 2017

Come up with ideas for nice introductory examples of using the semver crate, possibly in combination with other crates, that would be good to show in the Rust Cookbook. Please leave a comment here with your ideas! You don't necessarily have to write the example code yourself but PRs are always welcome!

@budziq

This comment has been minimized.

Show comment
Hide comment
@budziq

budziq Sep 18, 2017

Collaborator

Possibly a good place to start is in the crate reverse dependencies

One application that comes right away is:

  • check version of external command - i.e. parse output of "$my_binnary --version" external command
  • parse a complex version string ("1.0.49-125+g72ee7853" please note "pre" and "build metadata")
Collaborator

budziq commented Sep 18, 2017

Possibly a good place to start is in the crate reverse dependencies

One application that comes right away is:

  • check version of external command - i.e. parse output of "$my_binnary --version" external command
  • parse a complex version string ("1.0.49-125+g72ee7853" please note "pre" and "build metadata")
@KodrAus

This comment has been minimized.

Show comment
Hide comment
@KodrAus

KodrAus Sep 22, 2017

What about:

  • parse and increment the major, minor or patch version based on input? (That's almost a 1-liner though)
  • find the latest version in a set that satisfies the given range (like docs.rs does in its urls)

KodrAus commented Sep 22, 2017

What about:

  • parse and increment the major, minor or patch version based on input? (That's almost a 1-liner though)
  • find the latest version in a set that satisfies the given range (like docs.rs does in its urls)
@convoliution

This comment has been minimized.

Show comment
Hide comment
@convoliution

convoliution Sep 28, 2017

Contributor

Would these examples go into a new, "Semantic Versioning" section of the Cookbook, or the like?
("Crate Development", perhaps?)

Contributor

convoliution commented Sep 28, 2017

Would these examples go into a new, "Semantic Versioning" section of the Cookbook, or the like?
("Crate Development", perhaps?)

@budziq

This comment has been minimized.

Show comment
Hide comment
@budziq

budziq Sep 28, 2017

Collaborator

@mykalu for now we will go with "Application development" and then split off some examples to new section when there are enough of examples sharing some theme.

Collaborator

budziq commented Sep 28, 2017

@mykalu for now we will go with "Application development" and then split off some examples to new section when there are enough of examples sharing some theme.

@convoliution

This comment has been minimized.

Show comment
Hide comment
@convoliution

convoliution Sep 29, 2017

Contributor

semver is not currently filed under any category on crates.io. I'm looking at the Configuration category as a likely fit, but it's probably not my place to make a call on that. Any thoughts?

Contributor

convoliution commented Sep 29, 2017

semver is not currently filed under any category on crates.io. I'm looking at the Configuration category as a likely fit, but it's probably not my place to make a call on that. Any thoughts?

@budziq

This comment has been minimized.

Show comment
Hide comment
@budziq

budziq Sep 29, 2017

Collaborator

@mykalu Sound great to me! Any how it is easy enough to change and the crate will have a category added as the result of the Libz Blitz (would you like to propose your suggestion on their evaluation thread?).

Collaborator

budziq commented Sep 29, 2017

@mykalu Sound great to me! Any how it is easy enough to change and the crate will have a category added as the result of the Libz Blitz (would you like to propose your suggestion on their evaluation thread?).

@convoliution

This comment has been minimized.

Show comment
Hide comment
@convoliution

convoliution Sep 29, 2017

Contributor

@budziq Sounds good, will do!

Contributor

convoliution commented Sep 29, 2017

@budziq Sounds good, will do!

@anna-liao

This comment has been minimized.

Show comment
Hide comment
@anna-liao

anna-liao Nov 23, 2017

Contributor

@KodrAus @budziq Just wondering, what is the etiquette if I am interested in working on a claimed issue that hasn't had an update in awhile?

Contributor

anna-liao commented Nov 23, 2017

@KodrAus @budziq Just wondering, what is the etiquette if I am interested in working on a claimed issue that hasn't had an update in awhile?

@KodrAus

This comment has been minimized.

Show comment
Hide comment
@KodrAus

KodrAus Nov 24, 2017

@anna-liao Feel free to jump on any issues that have been idle for a while!

KodrAus commented Nov 24, 2017

@anna-liao Feel free to jump on any issues that have been idle for a while!

@budziq

This comment has been minimized.

Show comment
Hide comment
@budziq

budziq Nov 24, 2017

Collaborator

@anna-liao just ping me and the author mentioning that you would like to work on the issue from now on.

Collaborator

budziq commented Nov 24, 2017

@anna-liao just ping me and the author mentioning that you would like to work on the issue from now on.

@AndyGauge

This comment has been minimized.

Show comment
Hide comment
@AndyGauge

AndyGauge Apr 23, 2018

Collaborator

All of the recommended recipes are merged. There's no outstanding discussions here, I'm closing the tracking issue.

Collaborator

AndyGauge commented Apr 23, 2018

All of the recommended recipes are merged. There's no outstanding discussions here, I'm closing the tracking issue.

@AndyGauge AndyGauge closed this Apr 23, 2018

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