quick/Marshal.4.8 aren't download #11

Closed
wants to merge 13 commits into
from

6 participants

@huacnlee

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.

@huacnlee huacnlee 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.
bea90db
@huacnlee

So, I suggest download gemspec.rz file on mirror, it will not need run gem generate_index command again.

@huacnlee

I was use this fork version to success clone full version or rubygems.org. not need gem generate_index.
http://ruby.taobao.org

@jaymzh

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
rake aborted!
unknown urls format: nil

(See full trace by running task with --trace)

@jaymzh

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!

@hackhowtofaq

Problem is still there with hoe 3.1.0.

Jaymzh's suggestion is working, thanks!

Lamont Lucas and others added some commits Jan 4, 2013
Lamont Lucas 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.
6000904
Lamont Lucas look for missing *spec.rz files in the same fashion we look for missi…
…ng .gem files
89c0009
Lamont Lucas Merge branch 'master' of github.com:lamont/rubygems-mirror
Conflicts:
	lib/rubygems/mirror.rb
4a25c5f
@huacnlee huacnlee Merge pull request #1 from lamont/master
fetch missing *gemspec.rz files
d8bd9ea
@lamont

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.

@raggi

Why are all the deletion operations commented out?

@lamont

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.

@raggi

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.

@raggi

Otherwise, it'll be a while before I have time to work on it.

@carlivar

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:

rubygems/rubygems#286

If anyone gets stumped trying to run their own full rubygems mirror, the solution is to simply use:

https://github.com/huacnlee/rubygems-mirror

...and you'll be all set.

@raggi

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.

@raggi raggi closed this Nov 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment