quickemu icon indicating copy to clipboard operation
quickemu copied to clipboard

check_links function draft. working, need advice for output formating.

Open takov751 opened this issue 3 years ago • 3 comments

Still need rethinking, just started working on it. There is too many false negative checks. Might need another method, few get_distro not consistent or might have some minor bugs. Found 3 isos so far unavailable due edition not available for some version

takov751 avatar Feb 26 '22 13:02 takov751

So far the scripts runs for close to 8mins as all links needs to be generated one by one. Output needs formatting I just left it this way for debugging . Some distro has extra / in url which does not cause any issue, but needs to be cleaned up later

takov751 avatar Feb 26 '22 16:02 takov751

`{ "OS": "fedora", "Release": "33", "Edition": "i3", "CHECK": "000 ", "URL": "" } { "OS": "fedora", "Release": "34", "Edition": "Cinnamon", "CHECK": "000 ", "URL": "" } { "OS": "manjaro", "Release": "deepin", "Edition": "xfce", "CHECK": "000 ", "URL": "" } { "OS": "regolith", "Release": "focal", "Edition": "2.0.0", "CHECK": "404 text/plain; charset=utf-8", "URL": "https://github.com/regolith-linux/regolith-ubuntu-iso-builder/releases/download/regolith-linux-2.0-focal-latest/Regolith_2.0.0_focal.iso" } { "OS": "regolith", "Release": "impish", "Edition": "1.6.0", "CHECK": "404 text/plain; charset=utf-8", "URL": "https://github.com/regolith-linux/regolith-ubuntu-iso-builder/releases/download/release-release-impish-impish_standard-1.6.0/Regolith_1.6.0_impish.iso" }

real 6m28.309s user 0m15.460s sys 0m1.452s`

takov751 avatar Feb 28 '22 18:02 takov751

Greetings all.

The output for every available image is looking like this { "OS": "ubuntu", "Release": "20.04", "Edition": "", "STATUS": "GOOD", "URL": "https://releases.ubuntu.com/20.04/ubuntu-20.04.4-desktop-amd64.iso", "SIZE": "3.15GiB", "CODE": "200 ", "MIMETYPE": "application/x-iso9660-image" },

@flexiondotorg If you have any suggestion for entries , reformating json or changing something, please let me know.

takov751 avatar Mar 02 '22 06:03 takov751