mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Remove "up to 60 seconds" from waiting message.
This level of detail isn't particularly important to the user and just clutters up the output.
This commit is contained in:
parent
f60666ca6e
commit
7b317f3624
@ -460,7 +460,7 @@ fn wait_for_publish(
|
|||||||
format!("{short_pkg_description} to {source_description}"),
|
format!("{short_pkg_description} to {source_description}"),
|
||||||
)?;
|
)?;
|
||||||
config.shell().note(format!(
|
config.shell().note(format!(
|
||||||
"Waiting up to {max} seconds for `{short_pkg_description}` to be available at {source_description}.\n\
|
"Waiting for `{short_pkg_description}` to be available at {source_description}.\n\
|
||||||
You may press ctrl-c to skip waiting; the crate should be available shortly."
|
You may press ctrl-c to skip waiting; the crate should be available shortly."
|
||||||
))?;
|
))?;
|
||||||
let mut progress = Progress::with_style("Waiting", ProgressStyle::Ratio, config);
|
let mut progress = Progress::with_style("Waiting", ProgressStyle::Ratio, config);
|
||||||
|
@ -115,7 +115,7 @@ See [..]
|
|||||||
[PACKAGED] [..] files, [..] ([..] compressed)
|
[PACKAGED] [..] files, [..] ([..] compressed)
|
||||||
[UPLOADING] foo v0.0.1 ([CWD])
|
[UPLOADING] foo v0.0.1 ([CWD])
|
||||||
[UPLOADED] foo v0.0.1 to registry `crates-io`
|
[UPLOADED] foo v0.0.1 to registry `crates-io`
|
||||||
note: Waiting up to 60 seconds for `foo v0.0.1` to be available at registry `crates-io`.
|
note: Waiting for `foo v0.0.1` to be available at registry `crates-io`.
|
||||||
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
||||||
[PUBLISHED] foo v0.0.1 at registry `crates-io`
|
[PUBLISHED] foo v0.0.1 at registry `crates-io`
|
||||||
",
|
",
|
||||||
@ -159,7 +159,7 @@ See [..]
|
|||||||
[PACKAGED] [..] files, [..] ([..] compressed)
|
[PACKAGED] [..] files, [..] ([..] compressed)
|
||||||
[UPLOADING] foo v0.0.1 ([CWD])
|
[UPLOADING] foo v0.0.1 ([CWD])
|
||||||
[UPLOADED] foo v0.0.1 to registry `dummy-registry`
|
[UPLOADED] foo v0.0.1 to registry `dummy-registry`
|
||||||
note: Waiting up to 60 seconds for `foo v0.0.1` to be available at registry `dummy-registry`.
|
note: Waiting for `foo v0.0.1` to be available at registry `dummy-registry`.
|
||||||
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
||||||
[PUBLISHED] foo v0.0.1 at registry `dummy-registry`
|
[PUBLISHED] foo v0.0.1 at registry `dummy-registry`
|
||||||
",
|
",
|
||||||
@ -202,7 +202,7 @@ See [..]
|
|||||||
[PACKAGED] [..] files, [..] ([..] compressed)
|
[PACKAGED] [..] files, [..] ([..] compressed)
|
||||||
[UPLOADING] foo v0.0.1 ([CWD])
|
[UPLOADING] foo v0.0.1 ([CWD])
|
||||||
[UPLOADED] foo v0.0.1 to registry `dummy-registry`
|
[UPLOADED] foo v0.0.1 to registry `dummy-registry`
|
||||||
note: Waiting up to 60 seconds for `foo v0.0.1` to be available at registry `dummy-registry`.
|
note: Waiting for `foo v0.0.1` to be available at registry `dummy-registry`.
|
||||||
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
||||||
[PUBLISHED] foo v0.0.1 at registry `dummy-registry`
|
[PUBLISHED] foo v0.0.1 at registry `dummy-registry`
|
||||||
",
|
",
|
||||||
@ -837,7 +837,7 @@ fn publish_allowed_registry() {
|
|||||||
[..]
|
[..]
|
||||||
[UPLOADING] foo v0.0.1 ([CWD])
|
[UPLOADING] foo v0.0.1 ([CWD])
|
||||||
[UPLOADED] foo v0.0.1 to registry `alternative`
|
[UPLOADED] foo v0.0.1 to registry `alternative`
|
||||||
note: Waiting up to 60 seconds for `foo v0.0.1` to be available at registry `alternative`.
|
note: Waiting for `foo v0.0.1` to be available at registry `alternative`.
|
||||||
You may press ctrl-c [..]
|
You may press ctrl-c [..]
|
||||||
[PUBLISHED] foo v0.0.1 at registry `alternative`
|
[PUBLISHED] foo v0.0.1 at registry `alternative`
|
||||||
",
|
",
|
||||||
@ -2528,7 +2528,7 @@ See [..]
|
|||||||
[PACKAGED] [..] files, [..] ([..] compressed)
|
[PACKAGED] [..] files, [..] ([..] compressed)
|
||||||
[UPLOADING] delay v0.0.1 ([CWD])
|
[UPLOADING] delay v0.0.1 ([CWD])
|
||||||
[UPLOADED] delay v0.0.1 to registry `crates-io`
|
[UPLOADED] delay v0.0.1 to registry `crates-io`
|
||||||
note: Waiting up to 60 seconds for `delay v0.0.1` to be available at registry `crates-io`.
|
note: Waiting for `delay v0.0.1` to be available at registry `crates-io`.
|
||||||
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
||||||
[PUBLISHED] delay v0.0.1 at registry `crates-io`
|
[PUBLISHED] delay v0.0.1 at registry `crates-io`
|
||||||
",
|
",
|
||||||
@ -2610,7 +2610,7 @@ See [..]
|
|||||||
[PACKAGED] [..] files, [..] ([..] compressed)
|
[PACKAGED] [..] files, [..] ([..] compressed)
|
||||||
[UPLOADING] delay_with_underscore v0.0.1 ([CWD])
|
[UPLOADING] delay_with_underscore v0.0.1 ([CWD])
|
||||||
[UPLOADED] delay_with_underscore v0.0.1 to registry `crates-io`
|
[UPLOADED] delay_with_underscore v0.0.1 to registry `crates-io`
|
||||||
note: Waiting up to 60 seconds for `delay_with_underscore v0.0.1` to be available at registry `crates-io`.
|
note: Waiting for `delay_with_underscore v0.0.1` to be available at registry `crates-io`.
|
||||||
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
||||||
[PUBLISHED] delay_with_underscore v0.0.1 at registry `crates-io`
|
[PUBLISHED] delay_with_underscore v0.0.1 at registry `crates-io`
|
||||||
",
|
",
|
||||||
@ -2702,7 +2702,7 @@ See [..]
|
|||||||
[PACKAGED] [..] files, [..] ([..] compressed)
|
[PACKAGED] [..] files, [..] ([..] compressed)
|
||||||
[UPLOADING] delay v0.0.2 ([CWD])
|
[UPLOADING] delay v0.0.2 ([CWD])
|
||||||
[UPLOADED] delay v0.0.2 to registry `crates-io`
|
[UPLOADED] delay v0.0.2 to registry `crates-io`
|
||||||
note: Waiting up to 60 seconds for `delay v0.0.2` to be available at registry `crates-io`.
|
note: Waiting for `delay v0.0.2` to be available at registry `crates-io`.
|
||||||
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
||||||
[PUBLISHED] delay v0.0.2 at registry `crates-io`
|
[PUBLISHED] delay v0.0.2 at registry `crates-io`
|
||||||
",
|
",
|
||||||
@ -2818,7 +2818,7 @@ See [..]
|
|||||||
[PACKAGED] [..] files, [..] ([..] compressed)
|
[PACKAGED] [..] files, [..] ([..] compressed)
|
||||||
[UPLOADING] delay v0.0.1 ([CWD])
|
[UPLOADING] delay v0.0.1 ([CWD])
|
||||||
[UPLOADED] delay v0.0.1 to registry `crates-io`
|
[UPLOADED] delay v0.0.1 to registry `crates-io`
|
||||||
note: Waiting up to 2 seconds for `delay v0.0.1` to be available at registry `crates-io`.
|
note: Waiting for `delay v0.0.1` to be available at registry `crates-io`.
|
||||||
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
||||||
warning: timed out waiting for `delay v0.0.1` to be available in registry `crates-io`
|
warning: timed out waiting for `delay v0.0.1` to be available in registry `crates-io`
|
||||||
note: The registry may have a backlog that is delaying making the crate available. The crate should be available soon.
|
note: The registry may have a backlog that is delaying making the crate available. The crate should be available soon.
|
||||||
@ -2867,7 +2867,7 @@ See [..]
|
|||||||
[PACKAGED] [..] files, [..] ([..] compressed)
|
[PACKAGED] [..] files, [..] ([..] compressed)
|
||||||
[UPLOADING] delay v0.0.2 ([CWD])
|
[UPLOADING] delay v0.0.2 ([CWD])
|
||||||
[UPLOADED] delay v0.0.2 to registry `crates-io`
|
[UPLOADED] delay v0.0.2 to registry `crates-io`
|
||||||
note: Waiting up to 60 seconds for `delay v0.0.2` to be available at registry `crates-io`.
|
note: Waiting for `delay v0.0.2` to be available at registry `crates-io`.
|
||||||
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
||||||
[PUBLISHED] delay v0.0.2 at registry `crates-io`
|
[PUBLISHED] delay v0.0.2 at registry `crates-io`
|
||||||
",
|
",
|
||||||
|
@ -221,7 +221,7 @@ See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for
|
|||||||
[PACKAGED] [..]
|
[PACKAGED] [..]
|
||||||
[UPLOADING] foo v0.0.1 ([..])
|
[UPLOADING] foo v0.0.1 ([..])
|
||||||
[UPLOADED] foo v0.0.1 to registry `crates-io`
|
[UPLOADED] foo v0.0.1 to registry `crates-io`
|
||||||
note: Waiting up to 60 seconds for `foo v0.0.1` to be available at registry `crates-io`.
|
note: Waiting for `foo v0.0.1` to be available at registry `crates-io`.
|
||||||
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
||||||
[PUBLISHED] foo v0.0.1 at registry `crates-io`
|
[PUBLISHED] foo v0.0.1 at registry `crates-io`
|
||||||
",
|
",
|
||||||
|
@ -562,7 +562,7 @@ fn publish() {
|
|||||||
[PACKAGED] [..]
|
[PACKAGED] [..]
|
||||||
[UPLOADING] foo v0.1.0 [..]
|
[UPLOADING] foo v0.1.0 [..]
|
||||||
[UPLOADED] foo v0.1.0 to registry `crates-io`
|
[UPLOADED] foo v0.1.0 to registry `crates-io`
|
||||||
note: Waiting up to 60 seconds for `foo v0.1.0` to be available at registry `crates-io`.
|
note: Waiting for `foo v0.1.0` to be available at registry `crates-io`.
|
||||||
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
You may press ctrl-c to skip waiting; the crate should be available shortly.
|
||||||
[PUBLISHED] foo v0.1.0 at registry `crates-io`
|
[PUBLISHED] foo v0.1.0 at registry `crates-io`
|
||||||
",
|
",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user