Skip to content

Commit 355bc56

Browse files
committed
fix(publish): Remove quotes around packages
These aren't there elsewhere
1 parent ba789f0 commit 355bc56

11 files changed

+57
-57
lines changed

src/cargo/ops/registry/publish.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ impl PublishPlan {
736736
fn package_list(pkgs: impl IntoIterator<Item = PackageId>, final_sep: &str) -> String {
737737
let mut names: Vec<_> = pkgs
738738
.into_iter()
739-
.map(|pkg| format!("`{} v{}`", pkg.name(), pkg.version()))
739+
.map(|pkg| format!("{} v{}", pkg.name(), pkg.version()))
740740
.collect();
741741
names.sort();
742742

tests/testsuite/alt_registry.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for
356356
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
357357
[UPLOADING] foo v0.0.1 ([ROOT]/foo)
358358
[UPLOADED] foo v0.0.1 to registry `alternative`
359-
[NOTE] waiting for `foo v0.0.1` to be available at registry `alternative`.
359+
[NOTE] waiting for foo v0.0.1 to be available at registry `alternative`.
360360
You may press ctrl-c to skip waiting; the crate should be available shortly.
361361
[PUBLISHED] foo v0.0.1 at registry `alternative`
362362
@@ -519,7 +519,7 @@ See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for
519519
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
520520
[UPLOADING] foo v0.0.1 ([ROOT]/foo)
521521
[UPLOADED] foo v0.0.1 to registry `alternative`
522-
[NOTE] waiting for `foo v0.0.1` to be available at registry `alternative`.
522+
[NOTE] waiting for foo v0.0.1 to be available at registry `alternative`.
523523
You may press ctrl-c to skip waiting; the crate should be available shortly.
524524
[PUBLISHED] foo v0.0.1 at registry `alternative`
525525
@@ -601,7 +601,7 @@ See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for
601601
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
602602
[UPLOADING] foo v0.0.1 ([ROOT]/foo)
603603
[UPLOADED] foo v0.0.1 to registry `alternative`
604-
[NOTE] waiting for `foo v0.0.1` to be available at registry `alternative`.
604+
[NOTE] waiting for foo v0.0.1 to be available at registry `alternative`.
605605
You may press ctrl-c to skip waiting; the crate should be available shortly.
606606
[PUBLISHED] foo v0.0.1 at registry `alternative`
607607

tests/testsuite/artifact_dep.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2258,7 +2258,7 @@ fn publish_artifact_dep() {
22582258
[PACKAGED] 4 files, [FILE_SIZE]B ([FILE_SIZE]B compressed)
22592259
[UPLOADING] foo v0.1.0 ([ROOT]/foo)
22602260
[UPLOADED] foo v0.1.0 to registry `crates-io`
2261-
[NOTE] waiting for `foo v0.1.0` to be available at registry `crates-io`.
2261+
[NOTE] waiting for foo v0.1.0 to be available at registry `crates-io`.
22622262
You may press ctrl-c to skip waiting; the crate should be available shortly.
22632263
[PUBLISHED] foo v0.1.0 at registry `crates-io`
22642264

tests/testsuite/cargo_features.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for
643643
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
644644
[UPLOADING] a v0.0.1 ([ROOT]/foo)
645645
[UPLOADED] a v0.0.1 to registry `crates-io`
646-
[NOTE] waiting for `a v0.0.1` to be available at registry `crates-io`.
646+
[NOTE] waiting for a v0.0.1 to be available at registry `crates-io`.
647647
You may press ctrl-c to skip waiting; the crate should be available shortly.
648648
[PUBLISHED] a v0.0.1 at registry `crates-io`
649649

tests/testsuite/credential_process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ fn publish() {
7979
[UPLOADING] foo v0.1.0 ([ROOT]/foo)
8080
{"v":1,"registry":{"index-url":"[..]","name":"alternative"},"kind":"get","operation":"publish","name":"foo","vers":"0.1.0","cksum":"[..]"}
8181
[UPLOADED] foo v0.1.0 to registry `alternative`
82-
[NOTE] waiting for `foo v0.1.0` to be available at registry `alternative`.
82+
[NOTE] waiting for foo v0.1.0 to be available at registry `alternative`.
8383
You may press ctrl-c [..]
8484
[PUBLISHED] foo v0.1.0 at registry `alternative`
8585

tests/testsuite/cross_publish.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ fn publish_with_target() {
114114
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
115115
[UPLOADING] foo v0.0.0 ([ROOT]/foo)
116116
[UPLOADED] foo v0.0.0 to registry `crates-io`
117-
[NOTE] waiting for `foo v0.0.0` to be available at registry `crates-io`.
117+
[NOTE] waiting for foo v0.0.0 to be available at registry `crates-io`.
118118
You may press ctrl-c to skip waiting; the crate should be available shortly.
119119
[PUBLISHED] foo v0.0.0 at registry `crates-io`
120120

tests/testsuite/features_namespaced.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ fn publish_no_implicit() {
930930
[PACKAGED] 4 files, [FILE_SIZE]B ([FILE_SIZE]B compressed)
931931
[UPLOADING] foo v0.1.0 ([ROOT]/foo)
932932
[UPLOADED] foo v0.1.0 to registry `crates-io`
933-
[NOTE] waiting for `foo v0.1.0` to be available at registry `crates-io`.
933+
[NOTE] waiting for foo v0.1.0 to be available at registry `crates-io`.
934934
You may press ctrl-c to skip waiting; the crate should be available shortly.
935935
[PUBLISHED] foo v0.1.0 at registry `crates-io`
936936
@@ -1074,7 +1074,7 @@ fn publish() {
10741074
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
10751075
[UPLOADING] foo v0.1.0 ([ROOT]/foo)
10761076
[UPLOADED] foo v0.1.0 to registry `crates-io`
1077-
[NOTE] waiting for `foo v0.1.0` to be available at registry `crates-io`.
1077+
[NOTE] waiting for foo v0.1.0 to be available at registry `crates-io`.
10781078
You may press ctrl-c to skip waiting; the crate should be available shortly.
10791079
[PUBLISHED] foo v0.1.0 at registry `crates-io`
10801080

tests/testsuite/inheritable_workspace_fields.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ fn inherit_own_workspace_fields() {
167167
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
168168
[UPLOADING] foo v1.2.3 ([ROOT]/foo)
169169
[UPLOADED] foo v1.2.3 to registry `crates-io`
170-
[NOTE] waiting for `foo v1.2.3` to be available at registry `crates-io`.
170+
[NOTE] waiting for foo v1.2.3 to be available at registry `crates-io`.
171171
You may press ctrl-c to skip waiting; the crate should be available shortly.
172172
[PUBLISHED] foo v1.2.3 at registry `crates-io`
173173
@@ -334,7 +334,7 @@ See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for
334334
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
335335
[UPLOADING] bar v0.2.0 ([ROOT]/foo)
336336
[UPLOADED] bar v0.2.0 to registry `crates-io`
337-
[NOTE] waiting for `bar v0.2.0` to be available at registry `crates-io`.
337+
[NOTE] waiting for bar v0.2.0 to be available at registry `crates-io`.
338338
You may press ctrl-c to skip waiting; the crate should be available shortly.
339339
[PUBLISHED] bar v0.2.0 at registry `crates-io`
340340
@@ -501,7 +501,7 @@ See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for
501501
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
502502
[UPLOADING] bar v0.2.0 ([ROOT]/foo)
503503
[UPLOADED] bar v0.2.0 to registry `crates-io`
504-
[NOTE] waiting for `bar v0.2.0` to be available at registry `crates-io`.
504+
[NOTE] waiting for bar v0.2.0 to be available at registry `crates-io`.
505505
You may press ctrl-c to skip waiting; the crate should be available shortly.
506506
[PUBLISHED] bar v0.2.0 at registry `crates-io`
507507
@@ -762,7 +762,7 @@ See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-lice
762762
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
763763
[UPLOADING] bar v1.2.3 ([ROOT]/foo/bar)
764764
[UPLOADED] bar v1.2.3 to registry `crates-io`
765-
[NOTE] waiting for `bar v1.2.3` to be available at registry `crates-io`.
765+
[NOTE] waiting for bar v1.2.3 to be available at registry `crates-io`.
766766
You may press ctrl-c to skip waiting; the crate should be available shortly.
767767
[PUBLISHED] bar v1.2.3 at registry `crates-io`
768768
@@ -936,7 +936,7 @@ See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for
936936
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
937937
[UPLOADING] bar v0.2.0 ([ROOT]/foo/bar)
938938
[UPLOADED] bar v0.2.0 to registry `crates-io`
939-
[NOTE] waiting for `bar v0.2.0` to be available at registry `crates-io`.
939+
[NOTE] waiting for bar v0.2.0 to be available at registry `crates-io`.
940940
You may press ctrl-c to skip waiting; the crate should be available shortly.
941941
[PUBLISHED] bar v0.2.0 at registry `crates-io`
942942

0 commit comments

Comments
 (0)