choco icon indicating copy to clipboard operation
choco copied to clipboard

Open Release Notes when Package Upgraded

Open numeralnathan opened this issue 5 years ago • 5 comments

After running choco upgrade all --yes, I would like to see the release notes for each of the upgraded packages. Please add a command line option to enable this feature. For example, if I execute choco upgrade all --yes --open-release-notes and choco upgrades the zoom package, then please open the release notes for zoom. This way I can see what were the changes.

numeralnathan avatar Aug 28 '20 13:08 numeralnathan

@numeralnathan Howdy - curious how one might accomplish this? Are you suggesting show the releaseNotes sections of the nuspecs?

ferventcoder avatar Sep 01 '20 22:09 ferventcoder

At the end of the choco upgrade command, it lists the packages that were updated. How about after each package write on an indented new line the URL to the release notes? I can then copy and paste.

Better yet, how about having an option that will automatically open the release notes URLs as tabs in a browser?

numeralnathan avatar Sep 02 '20 02:09 numeralnathan

@numeralnathan interesting. Release notes don't always come as a url link. It's a free form in the nuspec, so you can put the release notes right in there.

I'm all for thoughts on how to do this as I think it would be interesting for a large number of folks. And kind of akin to what you see in iOS / Android with the release notes being shown. With that in mind, I'd almost want to see it in choco outdated, as I typically review release notes before or during the upgrade. Do you tend to do so after?

ferventcoder avatar Sep 02 '20 16:09 ferventcoder

I have choco upgrade run every Friday morning before I wake up. I leave the Command Prompt window open so I can see what packages were upgraded. I would love it if there were an option that would automatically open the URLs for the release notes. If the release notes do not have a URL, then open an HTML file in the browser showing the release notes.

numeralnathan avatar Sep 02 '20 17:09 numeralnathan

I have choco upgrade run every Friday morning before I wake up. I leave the Command Prompt window open so I can see what packages were upgraded. I would love it if there were an option that would automatically open the URLs for the release notes. If the release notes do not have a URL, then open an HTML file in the browser showing the release notes.

Or an alternative would be to have a command that shows release notes for a package(s) after running outdated (to see list of packages in need of an upgrade), then user could pick a package say choco Firefox show release notes. Just a suggestion. @ferventcoder

anishre avatar Jan 12 '22 01:01 anishre