Skip to content

Conversation

@skshetry
Copy link
Collaborator

@skshetry skshetry commented Aug 16, 2021

On top of #6247.
Related to #5912.

Screenshots
  1. Git installed, or unknown package:
Screen Shot 2021-08-16 at 19 19 00 Screen Shot 2021-08-16 at 19 20 13
  1. Non-binary packages
Screen Shot 2021-08-16 at 19 21 11 Screen Shot 2021-08-16 at 19 21 40
  1. Binary packages
Screen Shot 2021-08-16 at 19 22 18 Screen Shot 2021-08-16 at 19 22 41

I still have some doubts about the link in blue, could also color it in yellow. Please see if the messages are clearer too.

Also note that the ui messages only appear in dvc version.

@skshetry skshetry added enhancement Enhances DVC ui user interface / interaction labels Aug 16, 2021
@skshetry skshetry added this to the CLI/UI improvements milestone Aug 16, 2021
@skshetry skshetry requested review from dberenbaum and efiop August 16, 2021 13:39
@skshetry skshetry requested a review from a team as a code owner August 16, 2021 13:39
@skshetry skshetry self-assigned this Aug 16, 2021
current=self.current,
latest=latest,
message = self._get_message(latest, pkg=pkg)
return ui.error_write(message, styled=True)
Copy link
Collaborator Author

@skshetry skshetry Aug 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed the message to output to the stderr.

Copy link
Contributor

@efiop efiop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! πŸ’…

Btw, we don't have any mention of this in docs that we need to update, right?

@skshetry
Copy link
Collaborator Author

skshetry commented Aug 16, 2021

Btw, we don't have any mention of this in docs that we need to update, right?

No, we don't have any. And, I don't think this needs a mention. The core.check_update may be not important now, but still useful.

@efiop efiop merged commit 451bd3e into treeverse:master Aug 16, 2021
@skshetry skshetry deleted the updater-ui branch August 16, 2021 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhances DVC ui user interface / interaction

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants