quickemu
quickemu copied to clipboard
check_links function draft. working, need advice for output formating.
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
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
`{ "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`
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.