Tatsh / livecheck

Tool to update ebuilds.
https://livecheck.readthedocs.io/en/latest/
MIT License
3 stars 2 forks source link

Using the github API to download the latest version #207

Open inode64 opened 1 week ago

inode64 commented 1 week ago

I have seen that there is an API to easily obtain the latest version of a project. But when reading the documentation I have seen that there is no url with the download that includes the extension, the same thing has happened to me with sourcefoge which I have assumed .tar.gz but sometimes it is not entirely true. I have thought about creating the API, but only with the version but without the URL, then create the ebuild and generate the digest using the portage API to automatically download the file, then parse it again to obtain the file with the extension and so on continue with the current flow. By the way, we solve the problem when there are several sources depending on the architecture

I don't know if I explained myself well, what do you think? prepared a pull