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

Switch to the new Cargo.lock format #24334

Merged
merged 1 commit into from Oct 4, 2019
Merged

Switch to the new Cargo.lock format #24334

merged 1 commit into from Oct 4, 2019

Conversation

@nox
Copy link
Member

nox commented Oct 1, 2019

The way the Cargo.lock file is encoded on stable Rust is quite unfriendly
to Git when multiple pull requests change that file at the same time,
how version numbers are everywhere and all checksums are in the same place
often produces merge conflicts for nothing.

This patch brings the new Cargo.lock format to Servo.

rust-lang/rust#63579

The main caveat is that for now, cargo-tree and similar tools won't work
anymore.

I checked that the duplicate crate tidy check still does its job though.


This change is Reviewable

@nox
Copy link
Member Author

nox commented Oct 1, 2019

Cc @jdm for deciding whether it's worth breaking third-party cargo-related tools until a Cargo stable version is aware of the new format.

@nox nox mentioned this pull request Oct 1, 2019
3 of 5 tasks complete
@bors-servo
Copy link
Contributor

bors-servo commented Oct 2, 2019

The latest upstream changes (presumably #24335) made this pull request unmergeable. Please resolve the merge conflicts.

@nox
Copy link
Member Author

nox commented Oct 4, 2019

The way the Cargo.lock file is encoded on stable Rust is quite unfriendly
to Git when multiple pull requests change that file at the same time,
how version numbers are everywhere and all checksums are in the same place
often produces merge conflicts for nothing.

This patch brings the new Cargo.lock format to Servo.

	rust-lang/rust#63579

The main caveat is that for now, cargo-tree and similar tools won't work
anymore.

I checked that the duplicate crate tidy check still does its job though.
@nox nox force-pushed the new-manifest-format branch from 6cdca77 to 0ce8cf9 Oct 4, 2019
@nox nox removed the S-needs-rebase label Oct 4, 2019
@nox
Copy link
Member Author

nox commented Oct 4, 2019

@jdm told me "go for it" on IRC, but I wanted a way to be able to go back first, and that's done, so LGTM:

@bors-servo r=jdm

@bors-servo
Copy link
Contributor

bors-servo commented Oct 4, 2019

📌 Commit 0ce8cf9 has been approved by jdm

@highfive highfive assigned jdm and unassigned SimonSapin Oct 4, 2019
@bors-servo
Copy link
Contributor

bors-servo commented Oct 4, 2019

Testing commit 0ce8cf9 with merge c86c347...

bors-servo added a commit that referenced this pull request Oct 4, 2019
Switch to the new Cargo.lock format

The way the Cargo.lock file is encoded on stable Rust is quite unfriendly
to Git when multiple pull requests change that file at the same time,
how version numbers are everywhere and all checksums are in the same place
often produces merge conflicts for nothing.

This patch brings the new Cargo.lock format to Servo.

rust-lang/rust#63579

The main caveat is that for now, cargo-tree and similar tools won't work
anymore.

I checked that the duplicate crate tidy check still does its job though.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24334)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 4, 2019

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Oct 4, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Oct 4, 2019

Testing commit 0ce8cf9 with merge c94ca29...

bors-servo added a commit that referenced this pull request Oct 4, 2019
Switch to the new Cargo.lock format

The way the Cargo.lock file is encoded on stable Rust is quite unfriendly
to Git when multiple pull requests change that file at the same time,
how version numbers are everywhere and all checksums are in the same place
often produces merge conflicts for nothing.

This patch brings the new Cargo.lock format to Servo.

rust-lang/rust#63579

The main caveat is that for now, cargo-tree and similar tools won't work
anymore.

I checked that the duplicate crate tidy check still does its job though.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24334)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 4, 2019

☀️ Test successful - linux-rel-css, linux-rel-wpt, status-taskcluster
Approved by: jdm
Pushing c94ca29 to master...

@bors-servo bors-servo merged commit 0ce8cf9 into master Oct 4, 2019
3 checks passed
3 checks passed
Taskcluster (pull_request) TaskGroup: success
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
@bors-servo bors-servo deleted the new-manifest-format branch Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.