Skip to content

refactor(info): Use the shell.note to print the note#14554

Merged
bors merged 1 commit into
rust-lang:masterfrom
0xPoe:rustin-patch-notes
Sep 17, 2024
Merged

refactor(info): Use the shell.note to print the note#14554
bors merged 1 commit into
rust-lang:masterfrom
0xPoe:rustin-patch-notes

Conversation

@0xPoe

@0xPoe 0xPoe commented Sep 17, 2024

Copy link
Copy Markdown
Member

What does this PR try to resolve?

It was suggested in another PR that we should simply use shell.note instead of creating a new function for it.

See: #14537 (comment)

How should we test and review this PR?

All related tests were updated.

Additional information

r? @epage

Signed-off-by: Rustin170506 <29879298+Rustin170506@users.noreply.github.com>
@rustbot rustbot added A-interacts-with-crates.io Area: interaction with registries Command-info S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 17, 2024
@0xPoe

0xPoe commented Sep 17, 2024

Copy link
Copy Markdown
Member Author

Tested locally:
image

Comment thread src/cargo/ops/registry/info/view.rs
@epage epage changed the title Use the shell.note to print the note refactor(info): Use the shell.note to print the note Sep 17, 2024
@epage

epage commented Sep 17, 2024

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Sep 17, 2024

Copy link
Copy Markdown
Contributor

📌 Commit 0ba7540 has been approved by epage

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 17, 2024
@bors

bors commented Sep 17, 2024

Copy link
Copy Markdown
Contributor

⌛ Testing commit 0ba7540 with merge 1eb49a1...

@bors

bors commented Sep 17, 2024

Copy link
Copy Markdown
Contributor

☀️ Test successful - checks-actions
Approved by: epage
Pushing 1eb49a1 to master...

@bors bors merged commit 1eb49a1 into rust-lang:master Sep 17, 2024
@0xPoe 0xPoe deleted the rustin-patch-notes branch September 18, 2024 11:52
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 20, 2024
Update cargo

16 commits in a9a418d1a22f29e7dfd034e3b93f15657e608a29..eaee77dc1584be45949b75e4c4c9a841605e3a4b
2024-09-15 19:13:12 +0000 to 2024-09-19 21:10:23 +0000
- fix(complete): Harden `--target` completions (rust-lang/cargo#14564)
- Cleanup duplicated check-cfg lint logic (rust-lang/cargo#14567)
- Revert "remove reference to incomplete crates.io feature from docs" (rust-lang/cargo#14562)
- feat: Add custom completer for `cargo help &lt;TAB&gt;` (rust-lang/cargo#14557)
- docs(unstable): Expand on completion documentation (rust-lang/cargo#14563)
- feat: Add custom completer for `cargo build --example=&lt;TAB&gt;` (rust-lang/cargo#14531)
- remove reference to incomplete crates.io feature from docs (rust-lang/cargo#14561)
- fix(complete): Fix problems on my machine (rust-lang/cargo#14558)
- feat: Add custom completer for completing benchmark names (rust-lang/cargo#14532)
- refactor(info): Use the `shell.note` to print the note (rust-lang/cargo#14554)
- feat: Add custom completer for completing test names (rust-lang/cargo#14548)
- Suggest `cargo info` command in the `cargo search` result (rust-lang/cargo#14537)
- feat: Add custom completer for completing target triple (rust-lang/cargo#14535)
- feat: Add custom completer for `cargo -Z &lt;TAB&gt;` (rust-lang/cargo#14536)
- feat: Add custom completer for completing installed binaries (rust-lang/cargo#14534)
- feat: Add custom completer for completing bin names (rust-lang/cargo#14533)

r? ghost
@rustbot rustbot added this to the 1.83.0 milestone Sep 21, 2024
RalfJung pushed a commit to RalfJung/miri that referenced this pull request Sep 21, 2024
Update cargo

16 commits in a9a418d1a22f29e7dfd034e3b93f15657e608a29..eaee77dc1584be45949b75e4c4c9a841605e3a4b
2024-09-15 19:13:12 +0000 to 2024-09-19 21:10:23 +0000
- fix(complete): Harden `--target` completions (rust-lang/cargo#14564)
- Cleanup duplicated check-cfg lint logic (rust-lang/cargo#14567)
- Revert "remove reference to incomplete crates.io feature from docs" (rust-lang/cargo#14562)
- feat: Add custom completer for `cargo help &lt;TAB&gt;` (rust-lang/cargo#14557)
- docs(unstable): Expand on completion documentation (rust-lang/cargo#14563)
- feat: Add custom completer for `cargo build --example=&lt;TAB&gt;` (rust-lang/cargo#14531)
- remove reference to incomplete crates.io feature from docs (rust-lang/cargo#14561)
- fix(complete): Fix problems on my machine (rust-lang/cargo#14558)
- feat: Add custom completer for completing benchmark names (rust-lang/cargo#14532)
- refactor(info): Use the `shell.note` to print the note (rust-lang/cargo#14554)
- feat: Add custom completer for completing test names (rust-lang/cargo#14548)
- Suggest `cargo info` command in the `cargo search` result (rust-lang/cargo#14537)
- feat: Add custom completer for completing target triple (rust-lang/cargo#14535)
- feat: Add custom completer for `cargo -Z &lt;TAB&gt;` (rust-lang/cargo#14536)
- feat: Add custom completer for completing installed binaries (rust-lang/cargo#14534)
- feat: Add custom completer for completing bin names (rust-lang/cargo#14533)

r? ghost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-interacts-with-crates.io Area: interaction with registries Command-info S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants