Add message in case it's already up-to-date#2152
Conversation
c3c0a6e to
a78bf43
Compare
|
Hmm, can I ask why? And this combined with the exit code of 0 is pretty unambiguous. If an error occurs, its logged, if there is work to be done it is logged. I'm not against this per se, but not really for it either. |
|
Unambiguous but pretty weird. At first I wondered if it crashed somehow. At least this is now explicit, no need to check the exit code. |
|
Well the thing is its also used in the large And when there is nothing they show like so: I don't want to get in the way here, but I wonder if what you really want is to have rustup self updates reported (or not) somehow more consistently with the toolchain information. If you look at what we output for toolchains, just the one message is consistent, but we then do a summary at the bottom, which we don't do for rustup itself. Perhaps showing something like this would be good: This would give more information |
|
Hum... I'm shared on this. I really like this output for example: Having more "state messages" would be nice. Something like: |
|
I quite like @rbtcollins's point that it'd be nice if the format mirrored how we report updates to toolchain channels. This would require a little more plumbing but would be consistent which users may appreciate. |
|
I'll do it in the next days then. |
|
@GuillaumeGomez Happy new year. I wonder if you might have time in the coming week or so to make progress on this? |
|
I'll try to! |
a78bf43 to
eff744e
Compare
|
As suggested, I re-used the code from common to "show". |
92d08d9 to
88b2c04
Compare
|
Updated! |
kinnison
left a comment
There was a problem hiding this comment.
One bogon, one query (not important if you choose to decline it), and then the commits need rebasing because we don't like fmt type commits, and also something has changed underneath you so I can't merge now even if I wanted to.
f5c19ca to
6e051fc
Compare
6e051fc to
1f6a162
Compare
1f6a162 to
bb4073e
Compare
|
Updated! |
|
\o/ |
No description provided.