Skip to content

Publishing multiple packages should not say “You may press ctrl-c to skip waiting” #15005

Closed
@kpreid

Description

@kpreid

Problem

When using the new unstable support for publishing multiple packages in one command, Cargo prints its usual message during uploading:

You may press ctrl-c to skip waiting; the crate should be available shortly.

However, this does not make sense for any packages but the last one, because the only things it could possibly do are cancel the remaining packages (unwanted), run the risk of erroring out due to not waiting before publishing the next package (unwanted), or do nothing (misleading).

Possible Solution(s)

Cargo should not print this message. Perhaps a more useful while-you-wait message would be to report how many packages remain to be published (or how many have been and the total).

Notes

@rustbot label +Z-package-workspace

Version

cargo 1.85.0-nightly (d73d2caf9 2024-12-31)
release: 1.85.0-nightly
commit-hash: d73d2caf9e41a39daf2a8d6ce60ec80bf354d2a7
commit-date: 2024-12-31
host: aarch64-apple-darwin
libgit2: 1.8.1 (sys:0.19.0 vendored)
libcurl: 8.7.1 (sys:0.4.74+curl-8.9.0 system ssl:(SecureTransport) LibreSSL/3.3.6)
ssl: OpenSSL 1.1.1w  11 Sep 2023
os: Mac OS 15.2.0 [64-bit]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions