gogrepo icon indicating copy to clipboard operation
gogrepo copied to clipboard

Apply os and language filters on download

Open jgdye opened this issue 6 years ago • 3 comments

It would be good to be able to download a complete manifest for all versions, then filter the manifest out for the OS/lang on download. I like to keep the windows, extras, and linux files sepearated, but as currently designed, if I want to filter on OS, each OS has to run the update -os foo command separately, which takes upward of 20 minutes on my system per OS.

jgdye avatar Dec 21 '18 20:12 jgdye

Seconded. I'm on linux, and if there's both a windows and linux version available, I kind of only want to download the linux version.

Hordeking avatar May 21 '20 22:05 Hordeking

@jgdye You can test this out on my fork of this repo. https://github.com/Hordeking/gogrepo/tree/download_by_os I have issued a pull request to incorporate this into the original repository. Please let me know how this works for you. Keep in mind that it defaults to windows, so if you need mac or linux, you have to specify those.

Hordeking avatar May 22 '20 09:05 Hordeking

Thanks. There will be better options around this in future versions.

eddie3 avatar Jul 19 '22 01:07 eddie3