I have noticed that in some of our Opam packages that point to GitHub the archive links are no longer working:
- Used to work: https://github.com/mirage/ocaml-xenstore/archive/2.0.1/xenstore-2.0.1.tar.gz
- Works: https://github.com/mirage/ocaml-xenstore/archive/2.0.1.tar.gz
Unless this is temporary, this has the potential to affect a lot of Opam packages.
I have used this sed(1) command to fix
sed -i -e 's!^\(.*github.com/.*/archive\)/\([^/]*\)/.*"!\1/\2.tar.gz"!' url