[feature request] Return an URL representing the latest version
dpeukert opened this issue · 4 comments
It would be nice to have access to an URL representing the latest version (or the software itself where not possible) included in the returned data in an url
field.
A couple of example values:
https://github.com/lilydjwg/nvchecker/releases/tag/v2.12
https://github.com/lilydjwg/nvchecker/commit/b8c0e8a6b3139e1975ea33cfde4dc07ea3ffc251
https://aur.archlinux.org/packages/nvchecker-git
https://www.npmjs.com/package/electron/v/26.3.0
There needs to be support in each nvchecker source, which would be quite a lot of work. There was also a request to return a download URL but that request disappeared.
How can this be used?
There needs to be support in each nvchecker source, which would be quite a lot of work.
If the basic scaffolding is implemented, I'm willing to help out with the source implementations.
How can this be used?
My usecase as a package maintainer would be to include a link to the new version in the notifications I send to myself based on nvchecker events, so that I wouldn't need to look up the details (changelog, link to a diff etc) of a release manually.
I've implemented this for the PyPI and AUR sources. Could you take a look?
Thank you for implementing this, it works great! I'll get to work on implementing support in more sources.