Skip to content

Commit 3aabc79

Browse files
authored
Drop index/ prefix when uploading crate metadata. (#4826)
The metadata is already uploaded into a dedicated bucket, so the additional index/ prefix is unnecessary.
1 parent 46b8d40 commit 3aabc79

33 files changed

+54
-45
lines changed

src/tests/http-data/krate_publish_features_version_2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
},
6969
{
7070
"request": {
71-
"uri": "http://alexcrichton-test.s3.amazonaws.com/index/3/f/foo",
71+
"uri": "http://alexcrichton-test.s3.amazonaws.com/3/f/foo",
7272
"method": "PUT",
7373
"headers": [
7474
[

src/tests/http-data/krate_publish_good_badges

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
},
6969
{
7070
"request": {
71-
"uri": "http://alexcrichton-test.s3.amazonaws.com/index/fo/ob/foobadger",
71+
"uri": "http://alexcrichton-test.s3.amazonaws.com/fo/ob/foobadger",
7272
"method": "PUT",
7373
"headers": [
7474
[

src/tests/http-data/krate_publish_good_categories

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
},
6969
{
7070
"request": {
71-
"uri": "http://alexcrichton-test.s3.amazonaws.com/index/fo/o_/foo_good_cat",
71+
"uri": "http://alexcrichton-test.s3.amazonaws.com/fo/o_/foo_good_cat",
7272
"method": "PUT",
7373
"headers": [
7474
[

src/tests/http-data/krate_publish_ignored_badges

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
},
6969
{
7070
"request": {
71-
"uri": "http://alexcrichton-test.s3.amazonaws.com/index/fo/o_/foo_ignored_badge",
71+
"uri": "http://alexcrichton-test.s3.amazonaws.com/fo/o_/foo_ignored_badge",
7272
"method": "PUT",
7373
"headers": [
7474
[

src/tests/http-data/krate_publish_ignored_categories

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
},
6969
{
7070
"request": {
71-
"uri": "http://alexcrichton-test.s3.amazonaws.com/index/fo/o_/foo_ignored_cat",
71+
"uri": "http://alexcrichton-test.s3.amazonaws.com/fo/o_/foo_ignored_cat",
7272
"method": "PUT",
7373
"headers": [
7474
[

src/tests/http-data/krate_publish_new_crate_allow_empty_alternative_registry_dependency

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
{
3737
"request": {
38-
"uri": "http://alexcrichton-test.s3.amazonaws.com/index/3/f/foo",
38+
"uri": "http://alexcrichton-test.s3.amazonaws.com/3/f/foo",
3939
"method": "PUT",
4040
"headers": [
4141
[

src/tests/http-data/krate_publish_new_krate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
},
6969
{
7070
"request": {
71-
"uri": "http://alexcrichton-test.s3.amazonaws.com/index/fo/o_/foo_new",
71+
"uri": "http://alexcrichton-test.s3.amazonaws.com/fo/o_/foo_new",
7272
"method": "PUT",
7373
"headers": [
7474
[

src/tests/http-data/krate_publish_new_krate_git_upload

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
},
6969
{
7070
"request": {
71-
"uri": "http://alexcrichton-test.s3.amazonaws.com/index/3/f/fgt",
71+
"uri": "http://alexcrichton-test.s3.amazonaws.com/3/f/fgt",
7272
"method": "PUT",
7373
"headers": [
7474
[

src/tests/http-data/krate_publish_new_krate_git_upload_appends

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
},
136136
{
137137
"request": {
138-
"uri": "http://alexcrichton-test.s3.amazonaws.com/index/3/f/fpp",
138+
"uri": "http://alexcrichton-test.s3.amazonaws.com/3/f/fpp",
139139
"method": "PUT",
140140
"headers": [
141141
[
@@ -202,7 +202,7 @@
202202
},
203203
{
204204
"request": {
205-
"uri": "http://alexcrichton-test.s3.amazonaws.com/index/3/f/fpp",
205+
"uri": "http://alexcrichton-test.s3.amazonaws.com/3/f/fpp",
206206
"method": "PUT",
207207
"headers": [
208208
[

src/tests/http-data/krate_publish_new_krate_git_upload_with_conflicts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
},
6969
{
7070
"request": {
71-
"uri": "http://alexcrichton-test.s3.amazonaws.com/index/fo/o_/foo_conflicts",
71+
"uri": "http://alexcrichton-test.s3.amazonaws.com/fo/o_/foo_conflicts",
7272
"method": "PUT",
7373
"headers": [
7474
[

0 commit comments

Comments
 (0)