First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 103192
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Ruby Team <ruby@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: awk <glawk01@awks.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 103192 depends on: 158619 Show dependency tree
Show dependency graph
Bug 103192 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-08-20 15:55 0000
A lot of the Ruby ebuilds have this general SRC_URI:

   # The URL depends implicitly on the version, unfortunately. Even if you
   # change the filename on the end, it still downloads the same file.
   SRC_URI="http://rubyforge.org/frs/download.php/1033/${P}.tgz"

The file it downloads depends on the number 1033 rather than the package name, which makes 
changing the ebuild version difficult. In fact I sent in a couple ebuilds like that myself.

The following is better though:

   SRC_URI="http://gems.rubyforge.org/gems/${P}.gem"

I tested it with a couple packages and it works.

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From awk 2005-08-20 15:58:55 0000 -------
Oops, bad example, the first one doesn't download a gem, but a tgz. This only
applies to the gems.

------- Comment #2 From Rob Cakebread 2005-08-20 17:01:06 0000 -------
Thanks, I didn't know this existed. I almost started a letter-writing campaign
a
few times to beg rubyforge to change their url scheme. 

------- Comment #3 From Michael Kohl (RETIRED) 2005-08-21 04:19:33 0000 -------
tigger^ pointed this out to me on IRC two days ago. I didn't know about this
URL
either, but it seems like a good way to finally have Ruby ebuild that one can
version bump! :)

Here's a list of ebuilds that currently fetch a gem from a version dependent
SRC_URI:

actionmailer/actionmailer-0.8.1.ebuild
actionmailer/actionmailer-1.0.1.ebuild
actionmailer/actionmailer-0.7.0.ebuild
actionmailer/actionmailer-0.9.1.ebuild
actionmailer/actionmailer-0.8.0.ebuild
actionmailer/actionmailer-0.6.1.ebuild
actionmailer/actionmailer-0.7.1.ebuild
actionpack/actionpack-1.4.0.ebuild
actionpack/actionpack-1.5.0.ebuild
actionpack/actionpack-1.6.0.ebuild
actionpack/actionpack-1.8.1.ebuild
actionpack/actionpack-1.7.0.ebuild
actionpack/actionpack-1.9.1.ebuild
actionpack/actionpack-1.5.1.ebuild
actionwebservice/actionwebservice-0.6.0.ebuild
actionwebservice/actionwebservice-0.8.1.ebuild
actionwebservice/actionwebservice-0.6.2.ebuild
actionwebservice/actionwebservice-0.6.1.ebuild
actionwebservice/actionwebservice-0.5.0.ebuild
actionwebservice/actionwebservice-0.7.1.ebuild
activerecord/activerecord-1.10.1.ebuild
activerecord/activerecord-1.9.0.ebuild
activerecord/activerecord-1.11.1.ebuild
activerecord/activerecord-1.6.0.ebuild
activerecord/activerecord-1.7.0.ebuild
activerecord/activerecord-1.9.1.ebuild
activerecord/activerecord-1.8.0.ebuild
activesupport/activesupport-1.0.2.ebuild
activesupport/activesupport-1.0.4.ebuild
activesupport/activesupport-1.0.1.ebuild
activesupport/activesupport-1.0.3.ebuild
activesupport/activesupport-1.1.1.ebuild
activesupport/activesupport-1.0.0.ebuild
color-tools/color-tools-1.2.0.ebuild
facets/facets-0.7.2.ebuild
facets/facets-0.6.3.ebuild
glue/glue-0.22.0.ebuild
jabber4r/jabber4r-0.8.0.ebuild
nitro/nitro-0.22.0.ebuild
og/og-0.22.0.ebuild
pdf-writer/pdf-writer-1.1.1.ebuild
rails/rails-0.12.1.ebuild
rails/rails-0.11.1-r1.ebuild
rails/rails-0.10.0-r1.ebuild
rails/rails-0.9.5.ebuild
rails/rails-0.13.1.ebuild
rails/rails-0.11.0-r1.ebuild
rails/rails-0.10.1.ebuild
rake/rake-0.4.15-r1.ebuild
rake/rake-0.5.3.ebuild
redcloth/redcloth-3.0.3.ebuild
ruby-breakpoint/ruby-breakpoint-0.5.0.ebuild
rubygems/rubygems-0.8.10.ebuild
syntax/syntax-0.7.0.ebuild
transaction-simple/transaction-simple-1.3.0.ebuild

I think it would be best when switch to the new SRC_URIs while doing the next
version bump and slowly cleaning out the older versions. There's no real need
for revision bumps I'd say. Shall we close this bug with a resolution of
"LATER"
as this is an incremental process?

------- Comment #4 From Nguyen Thai Ngoc Duy 2006-09-01 20:21:16 0000 -------
Status update. The following are those that need update
jabber4r/jabber4r-0.8.0.ebuild
redcloth/redcloth-3.0.3.ebuild
ruby-breakpoint/ruby-breakpoint-0.5.0.ebuild
transaction-simple/transaction-simple-1.3.0.ebuild

These don't because there are newer versions with correct url already:
facets/facets-0.6.3.ebuild
syntax/syntax-0.7.0.ebuild

------- Comment #5 From Keith Maxwell 2006-12-19 09:52:38 0000 -------
ruby-breakpoint-0.5.1 was released on June 6.

A new ebuild, well version bump, incorporating this url change would be useful.

It may be helpful to note using ruby-breakpoint with ruby-1.8.5_p2 requires a
workaround from:

http://rubyforge.org/tracker/index.php?func=detail&aid=4897&group_id=559&atid=2228

------- Comment #6 From Nguyen Thai Ngoc Duy 2006-12-19 16:51:24 0000 -------
(In reply to comment #5)
> ruby-breakpoint-0.5.1 was released on June 6.
> 
> A new ebuild, well version bump, incorporating this url change would be useful.

This place is not a good place to make a bump request because I will forget it
soon. Please open a new bug (preferably with ebuild submission)

------- Comment #7 From Christian Marie 2007-01-14 11:22:38 0000 -------
ruby-breakpoint has been converted to this new SRC_URI (and bumped).

------- Comment #8 From Richard Brown (RETIRED) 2007-05-17 19:47:38 0000 -------
I've bumped transaction-simple and redcloth, and updated the src_uri for
jabber4r as it was the last package left.

First Last Prev Next    No search results available      Search page      Enter new bug