gnarlin / osget

Operating system image (.iso files usually) downloader which acts more like a package manager
GNU General Public License v3.0
41 stars 6 forks source link

Is it possible for the oslist to self update? #23

Open MagicLike opened 9 months ago

MagicLike commented 9 months ago

I just discovered this tool, but am seeing especially rolling release distros like Arch not being up-to-date. It would be very helpful if the oslist would be able to self-update if a new version of an OS is released. Any chance of making this possible?

gnarlin commented 9 months ago

I've been procrastinating working on Osget for a while. Osget does have an --update feature, but that requires me to manually update the online repository. You can host your own and add it to /etc/osget/osget.conf but again, that requires manual work to update the Arch (or whichever distro) listing. I do have plans to add scripts that try to update automagically some distros that have very predictable iso names and URL's to make the maintainance of the repository more hands-off. However, there's a bunch of features that I want to finish first. So, to answer your question, yes. I do have plans to automate some of the oslist repo updating.

Also, the official oslist repository automatically pulls from the git repo. If you want to update some distro listing then you can create a patch and submit a pull request. Once I accept it it'll get added to the oslist server on the next hour (gmt +0). Then you can just do a sudo osget --update.