download gemspec.rz file on fetch, because so many gem files can generate gemspec.rz by gem generate_index command, this will be error and break.
download gemspec.rz file on fetch, because so many gem files can gene…
…rate gemspec.rz by "gem generate_index" command, this will be error and break.
So, I suggest download gemspec.rz file on mirror, it will not need run gem generate_index command again.
Fetch others spec file on mirror.
Mirror yaml, yaml.Z file.
Disable delete gem feature.
Disable delete feature.
I was use this fork version to success clone full version or rubygems.org. not need gem generate_index.
prerelease mirror, from #6
Update README to markdown format.
I tried to use your git tree, but it doesn't seem to work:
$ rake mirror:update
** README.rdoc is missing or in the wrong format for auto-intuiting.
run sow blah and look at its text files
unknown urls format: nil
(See full trace by running task with --trace)
Commenting out the who s.homepage assignment i hoe.rb got me moving again... other than that your patches seem to work really well, thanks!
Don't write file, when response body length equal zero.
Problem is still there with hoe 3.1.0.
Jaymzh's suggestion is working, thanks!
Rakefile didn't work, don't recall the error now. mirror.rb changes a…
…re from a github pull request to fix binary packing/unpacking on windows.
look for missing *spec.rz files in the same fashion we look for missi…
…ng .gem files
Merge branch 'master' of github.com:lamont/rubygems-mirror
Merge pull request #1 from lamont/master
fetch missing *gemspec.rz files
Merging all of these changes into the main branch would be super helpful to people attempting to build local (read-only) mirrors of rubygems. Please consider this pull request.
Why are all the deletion operations commented out?
I believe huacnlee commented those out earlier, I didn't modify them further for my purposes. Mirroring was more important than deletion for me at the time.
If we can get a clean patch set that doesn't have unrelated changes, I'll be more than happy to get it merged and released.
Otherwise, it'll be a while before I have time to work on it.
At this point huacnlee's fork is the working rubygems-mirror.
This rubygems-mirror doesn't have the index data mentioned in this issue, and it can't be generated because generate_index fails on large sets of gems:
If anyone gets stumped trying to run their own full rubygems mirror, the solution is to simply use:
...and you'll be all set.
This patchset is too big right now, and has unrelated changes. Can you split out semantic changes from preferential ones? There's no need for the .md or the bundler stuff.