-
Notifications
You must be signed in to change notification settings - Fork 602
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #1589 - jtgeibel:deny-alt-registry-deps, r=jtgeibel
Reject publishing of crates that depend on an alternative registry See also #1579 and rust-lang/crates-io-cargo-teams#21.
- Loading branch information
Showing
5 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
src/tests/http-data/krate_new_crate_allow_empty_alternative_registry_dependency
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
[ | ||
{ | ||
"request": { | ||
"uri": "http://alexcrichton-test.s3.amazonaws.com/crates/foo/foo-1.0.0.crate", | ||
"method": "PUT", | ||
"headers": [ | ||
[ | ||
"accept", | ||
"*/*" | ||
], | ||
[ | ||
"content-length", | ||
"35" | ||
], | ||
[ | ||
"host", | ||
"alexcrichton-test.s3.amazonaws.com" | ||
], | ||
[ | ||
"accept-encoding", | ||
"gzip" | ||
], | ||
[ | ||
"content-type", | ||
"application/x-tar" | ||
] | ||
], | ||
"body": "H4sIAAAAAAAA/+3AAQEAAACCIP+vbkhQwKsBLq+17wAEAAA=" | ||
}, | ||
"response": { | ||
"status": 200, | ||
"headers": [], | ||
"body": "" | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters