microsoft / openvmm

Home of OpenVMM and OpenHCL.
http://openvmm.dev/
MIT License
1.36k stars 59 forks source link

flowey: update `download_gh_release` to include curl-based "fast path" for public artifacts #151

Open daprilik opened 4 days ago

daprilik commented 4 days ago

In the brief window where OpenVMM was on github, but was still closed-source, we used the gh CLI in order to properly authenticate with private repos in order to download various artifacts (e.g: the mu_msvm UEFI package, via xflowey restore-packages and xflowey build-igvm).

Now that we are open-source, we should be able to sidestep the gh CLI entirely, and pull public github releases down using curl.

This is nice, as it avoids needing uses to log-in to the gh CLI tool, making cargo xflowey restore-packages a truly "hands off" dev-ex.