Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support changelog property in scoop info and update #2067 #5332

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

cesaryuan
Copy link

@cesaryuan cesaryuan commented Jan 7, 2023

Description

#2067

  • manifest: Add changelog property which is the changelog page for the program
  • scoop-update: Show success message "See what's new in this update: $($manifest.changelog)" when updating successfully. It will be like this.
PS E:\04Code\Github\Scoop> . '.\bin\scoop.ps1' update sudo                
sudo: 0.200.01.26 -> 0.2001.01.26
.......
'sudo' (0.2001.01.26) was installed successfully!
See what's new in this update: https://github.com/lukesampson/psutils/changelog.md
  • scoop-info: Show manifest changelog property if available
Name        : sudo
Description : An approximation of the Unix sudo command. Shows a UAC popup window unfortunately.
Version     : 0.200.01.26
Website     : https://github.com/lukesampson/psutils
Changelog   : https://github.com/lukesampson/psutils/changelog.md
License     : MIT
Updated at  : 2023/1/7 20:31:49
Updated by  : Cesaryuan
Binaries    : sudo.ps1

Motivation and Context

Relates to #2067

How Has This Been Tested?

Run sample command and check effect.

Checklist:

  • I have read the Contributing Guide.
  • I have ensured that I am targeting the develop branch.
  • I have updated the documentation accordingly. (Sorry, don't know how to update wiki.)
  • I have updated the tests accordingly.
  • I have added an entry in the CHANGELOG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant