Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Gem Mirror Support (with specs) (PR #2366) #2650

Merged
merged 6 commits into from
Oct 17, 2013
Merged

Conversation

jhhere
Copy link
Contributor

@jhhere jhhere commented Sep 27, 2013

mkristian and others added 6 commits September 26, 2013 16:48
mirror uri via the bundler configuration. add mirrors like this
$ bundle config mirror.http://rubygems.org http://localhost:8081/nexus/content/repositories/rubygems.org
seems in line with conventions in rest of project
Factors the gem mirror code similarly to the local git repos feature.

Questions:
* RubygemsMirror class does very little other than provide a static
  location to replace URIs with the desired mirror. Should it exist?
* URI normalization is duplicated. Is there a good single location?
* Validation of mirror URIs occurs in Settings, which contains no other
  validation code. Is there a more desirable location for this?
* Is there a better solution for case-sensitive URIs?
during Fetching... when run bundle install or bundle update
rspec test to make sure mirror prints the mirror source
indirect added a commit that referenced this pull request Oct 17, 2013
Gem Mirror Support (with specs) (PR #2366)

Conflicts:
	lib/bundler/fetcher.rb
@indirect indirect merged commit bd6f316 into rubygems:master Oct 17, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants