Open dsvensson opened 4 weeks ago
Concur, this is not the first time this occurs with this specific repo too.
Can't single-point-of-failures fallback to a try from a list of mirrors?
For example, this same ogg-v1.3.5.tar.gz file is available on xiph's GitHub repo: https://github.com/xiph/ogg/releases
(I wouldn't doubt if the same tarball exists on a whole lot more servers, too)
For example, this same ogg-v1.3.5.tar.gz file is available on xiph's GitHub repo: https://github.com/xiph/ogg/releases
The port uses on-the-fly tarballs generated by gitlab, not the mirrored release tarballs. Different SHA512.
If you need it in CI, setup proper source asset caching. If you need it locally, there is local asset caching. Otherwise wait for remote maintenance to complete.
I appreciate the tips, @dg0yt - and to confirm, yes, our project is using extensive CI caching (at almost every level, from what I can see).
The problem in this case happened after rolling our baseline forward - so we didn't have a source cache nor the resulting binary cache to pull from. We only pull and build dependency sources one time, and they're cached fully going forward.
Caching is a different problem and concept than mirroring.
Robust system design permits and benefits from cache (on the user-side), but does not require it. However, robust repository design requires the ample use of mirroring (on the provider side).
It sounds like the vcpkg team has declared that "ports that use on-the-fly tarballs shall be single points of failure!" (I hope I'm wrong!)
In any case.. hopefully maintainers in the future reject these types of ports and require concrete release tarballs such that mirrors can be leveraged for their sources.
In any case.. hopefully maintainers in the future reject these types of ports and require concrete release tarballs such that mirrors can be leveraged for their sources.
You might need to raise this more explicitly if it is important to you. What I see is that vcpkg encourages the use of the maintainer functions which rely on the on-the-fly tarballs (vcpkg_from_github
, vcpkg_from_gitlab
). This has pros and cons. It isolated vcpkg from the tainted liblzma tarballs. It works well for github (unless they unexpectedly change the operation), but might be less robust for "small" gitlab installations.
Describe the bug Sometimes servers are down. Today xiph.org is not reachable. Wouldn't require much storage for Microsoft to mirror all vcpkg source tarballs and likely would be infinitely more reliable. If Azure Blob Storage is anything like AWS S3, it would probably be hard to find a natural disaster that takes it down.
Environment Not applicable
To Reproduce
Expected behavior Ogg source is downloaded and everything works fine.
Failure logs
Additional context N/A