You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in cheribuild/pycheribuild/projects/cross/gmp.py we are using MercurialRepository with a repository of repository = MercurialRepository("https://gmplib.org/repo/gmp") However, the host for this (quite rightly) blocks certain large IP ranges, namely all of Azure and Github Actions runners, this causes any build that has GMP as a dependency to fail.
There is a well maintained mirror hosted on github at https://github.com/gmp-mirror/gmp which maintains the entire hg repositories commit history and contains some additional branches.
Would it be possible for us to switch to using the mirror instead?
The text was updated successfully, but these errors were encountered:
My recollection was that either such a git mirror didn’t exist or it was outdated back when I added gmp as a mercurial repo. Using git is certainly easier (the MercurialRepository implementation is quite crude and easy to break if you make local changes, but good enough for our use case) provided we know that we can rely on the mirror going forwards. There’s also the issue of needing to convert the user’s checkout from mercurial to git, which I don’t think needs to be any more complex than informing the user (in the same way as we do for switching branches) and then wiping the directory if it’s got a .hg subdirectory, as I highly doubt users have local changes (if they do they should save them elsewhere before saying yes to the prompt).
in
cheribuild/pycheribuild/projects/cross/gmp.py
we are using MercurialRepository with a repository ofrepository = MercurialRepository("https://gmplib.org/repo/gmp")
However, the host for this (quite rightly) blocks certain large IP ranges, namely all of Azure and Github Actions runners, this causes any build that has GMP as a dependency to fail.There is a well maintained mirror hosted on github at
https://github.com/gmp-mirror/gmp
which maintains the entire hg repositories commit history and contains some additional branches.Would it be possible for us to switch to using the mirror instead?
The text was updated successfully, but these errors were encountered: