Opened 9 years ago

Closed 8 years ago

#22406 closed enhancement (fixed)

[Ruby] New Official gem repository - GemCutter.org

Reported by: dreamcat4@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: kimuraw (kimura wataru)
Port:

Description

Split from Ticket #22304

Hi, RubyForge is being replaced by GemCutter.org. The gem fetch method in Macports is therefore also affected and should be updated / improved in some way.

See:

1) Original commit: rubyforge_gem fetch method for the Ruby PortGroup & livecheck support (pguyot in r20544 & r20834, respectively)a

2) Current state of affairs: http://trac.macports.org/browser/trunk/dports/_resources/port1.0/group/ruby-1.0.tcl

Change History (4)

comment:1 Changed 9 years ago by jmroot (Joshua Root)

Cc: dreamcat4@… removed
Keywords: ruby gemcutter gems rubyforge rb removed
Milestone: MacPorts 1.8.2
Priority: HighNormal
Type: requestenhancement

comment:2 Changed 9 years ago by dreamcat4@…

We would be better off implementing this as a wrapper ontop of Ticket #22530. And then replacing the existing rubygems fetch method with a similar wrapper. This will allow more freedom to specify alternate gem source(s).

What's not clear is whether we need to implement some failover or a priority list. Ie if a gem migrates from rubyforge to gemcutter. We might just update those manually and avoid implement such a complex priorities mechanism.

comment:3 Changed 8 years ago by jmroot (Joshua Root)

Cc: kimuraw@… added
Component: baseports
Version: 1.8.1

comment:4 Changed 8 years ago by kimuraw (kimura wataru)

Resolution: fixed
Status: newclosed

gemcutter now provides gems as rubygems.org and macports' portgroup ruby supports rubygems.org with keyworkd "rubygems".

ex) port:rb19-nanoc3

PortSystem          1.0
PortGroup           ruby 1.0

ruby.setup          nanoc3 3.1.3 gem {} rubygems ruby19

I think we can close this ticket as "fixed".

Note: See TracTickets for help on using tickets.