updatecli icon indicating copy to clipboard operation
updatecli copied to clipboard

Feature Request: generate a comparison github link when the changelog is unavailable

Open lemeurherve opened this issue 4 years ago • 4 comments

Is your feature request related to a problem?

When the changelog of a repository is unavailable, we have to go to the repository to try to find the changes between versions.

Solution you'd like

If there is no changelog available we could add a comparison url like the one in hadolint changelog: https://github.com/hadolint/hadolint/compare/v2.9.2...v2.9.3

https://github.com/org/repo/compare/v{{ previousVersion }}...v{{ currentVersion}}

Also, putting this link outside the changelog block would allow clicking on it directly.

Alternatives you've considered

No response

Anything else?

No response

lemeurherve avatar Mar 29 '22 11:03 lemeurherve

I like this idea very much

olblak avatar Mar 30 '22 13:03 olblak

I fear retrieving and storing the original value to generate this URL won't be that easy, AFAIU it's never stored anywhere.

lemeurherve avatar Apr 02 '22 13:04 lemeurherve

Let's keep this request open though: while implementing the actions, I've just met this challenge and I might have a way to do it (except maybe for shell resources) as part of the "dry run".

dduportal avatar Apr 02 '22 13:04 dduportal

I fear retrieving and storing the original value to generate this URL won't be that easy, AFAIU it's never stored anywhere.

It won't be trivial but necessary, I have been thinking about this for quite some time and I see different way to solve this but indeed @dduportal refactoring with action may influence the solution.

olblak avatar Apr 02 '22 18:04 olblak