Skip to content

Don't consider versions with build metadata to be unstable #1835

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

Merged
merged 1 commit into from
Sep 11, 2019

Conversation

sgrif
Copy link
Contributor

@sgrif sgrif commented Sep 11, 2019

Our backend was behaving properly in this regard, but the front end was
considering any version that had build metadata to be unstable. There's
no reason for us to have this detection be hand-rolled, we can use a
proper semver library to determine whether something is a prerelease or
not.

I've manually confirmed this has the expected behavior for the crate
openssl-src, which was reported with incorrect behavior.

@rust-highfive
Copy link

r? @jtgeibel

(rust_highfive has picked a reviewer for you, use r? to override)

Our backend was behaving properly in this regard, but the front end was
considering any version that had build metadata to be unstable. There's
no reason for us to have this detection be hand-rolled, we can use a
proper semver library to determine whether something is a prerelease or
not.
@sgrif sgrif force-pushed the sg-proper-prerelease-checking branch from a4fbaa7 to 7c3ff21 Compare September 11, 2019 14:29
@sgrif
Copy link
Contributor Author

sgrif commented Sep 11, 2019

@bors r=locks

@bors
Copy link
Contributor

bors commented Sep 11, 2019

📌 Commit 7c3ff21 has been approved by locks

@bors
Copy link
Contributor

bors commented Sep 11, 2019

⌛ Testing commit 7c3ff21 with merge 8636637...

bors added a commit that referenced this pull request Sep 11, 2019
Don't consider versions with build metadata to be unstable

Our backend was behaving properly in this regard, but the front end was
considering any version that had build metadata to be unstable. There's
no reason for us to have this detection be hand-rolled, we can use a
proper semver library to determine whether something is a prerelease or
not.

I've manually confirmed this has the expected behavior for the crate
`openssl-src`, which was reported with incorrect behavior.
@bors
Copy link
Contributor

bors commented Sep 11, 2019

☀️ Test successful - checks-travis
Approved by: locks
Pushing 8636637 to master...

@bors bors merged commit 7c3ff21 into rust-lang:master Sep 11, 2019
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