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

Fix updating submodules past failures #4837

Merged
merged 1 commit into from
Dec 20, 2017

Conversation

alexcrichton
Copy link
Member

If a submodule-of-a-submodule failed to update then Cargo the next time
around wouldn't automatically retry updating the next submodule. This commit
fixes that by ensuring that if a parent git repository looks updated we still
recurse into its own submodules to ensure they're all updated.

cc #4071

@rust-highfive
Copy link

r? @matklad

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

@matklad
Copy link
Member

matklad commented Dec 19, 2017

@bors r+

@bors
Copy link
Collaborator

bors commented Dec 19, 2017

📌 Commit 08081a7 has been approved by matklad

@bors
Copy link
Collaborator

bors commented Dec 19, 2017

⌛ Testing commit 08081a781a3dbe9951c38c4282c036b509d4a1a2 with merge dceb8c410ab01bfc6bb6cd4ce31d1446f77889d1...

@bors
Copy link
Collaborator

bors commented Dec 19, 2017

💔 Test failed - status-appveyor

@alexcrichton
Copy link
Member Author

@bors: r=matklad

@bors
Copy link
Collaborator

bors commented Dec 19, 2017

📌 Commit 6b48d70 has been approved by matklad

@bors
Copy link
Collaborator

bors commented Dec 19, 2017

⌛ Testing commit 6b48d70daa35d6b0cbad8ceaccecc707e3ecadfa with merge 5c88a361c11bd44c24e8b21a7e3d7f86924d4332...

@bors
Copy link
Collaborator

bors commented Dec 19, 2017

💔 Test failed - status-travis

If a submodule-of-a-submodule failed to update then Cargo the next time
around wouldn't automatically retry updating the next submodule. This commit
fixes that by ensuring that if a parent git repository looks updated we still
recurse into its own submodules to ensure they're all updated.

cc rust-lang#4071
@alexcrichton
Copy link
Member Author

@bors: r=matklad

@bors
Copy link
Collaborator

bors commented Dec 20, 2017

📌 Commit ddc74a5 has been approved by matklad

@bors
Copy link
Collaborator

bors commented Dec 20, 2017

⌛ Testing commit ddc74a5 with merge fac7e25...

bors added a commit that referenced this pull request Dec 20, 2017
Fix updating submodules past failures

If a submodule-of-a-submodule failed to update then Cargo the next time
around wouldn't automatically retry updating the next submodule. This commit
fixes that by ensuring that if a parent git repository looks updated we still
recurse into its own submodules to ensure they're all updated.

cc #4071
@bors
Copy link
Collaborator

bors commented Dec 20, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: matklad
Pushing fac7e25 to master...

@bors bors merged commit ddc74a5 into rust-lang:master Dec 20, 2017
@alexcrichton alexcrichton deleted the failed-submodule-checkout branch December 21, 2017 15:16
@ehuss ehuss added this to the 1.24.0 milestone Feb 6, 2022
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.

None yet

5 participants