-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gem mirror
should also download the /versions
file and the /info/
directory
#80
Comments
That would be a great improvement, I'd be happy to review a PR if you're able to pull one together! |
I took a look at the existing code and it seems too entangled for me to handle. I hope someone from Ruby could take on this. My ideas are:
|
@iBug Share one of our practices, which is to redirect the /info/ directory to the official address, so that no matter what package is downloaded and installed, the original metadata will be accessed. |
According to tuna/issues#2048, a mirror created by |
According to issues like:
A full RubyGems mirror generated by
gem mirror
is not easy to consume - Bothgem install
andbundle
fetches tons ofgemspec.rz
files if a faster index is not found (previously/api/v1/dependencies
, now superseded by/versions
+/info/
), making a local mirror actually much slower even under terrible availability ofrubygems.org
(e.g. from mainland China).If
gem mirror
could also fetch theversions
file and populate the/info/
directory, downstream mirror sites will be much easier to use.The text was updated successfully, but these errors were encountered: