List Info

Thread: Weird gem problem, might be pretty dangerous




Weird gem problem, might be pretty dangerous
user name
2006-02-21 19:02:11
Hey guys,

I had a strange problem on RubyForge and have forwarded it
to you on
Tom Copeland's request to see if you could shed some light
on what
went wrong.

Many thanks.  Greg

---------- Forwarded message ----------
From: Gregory Brown <gregory.t.browngmail.com>
Date: Feb 21, 2006 1:42 PM
Subject: Weird gem problem, might be pretty dangerous
To: Tom Copeland <tominfoether.com>


i originally released two gems, ruport and ruport-lean

On windows and debian, when I type gem install ruport
it grabs ruport-lean instead!

I deleted ruport-lean and renamed it to lean-ruport to avoid
the ambiguity.
ruport-lean has not been taken out of rotation yet though,
and it has
been overnight

But this leads me to think this might be really dangerous.

What would happen if I made a gem called
rails-is-totally-awesome.

Would that break gem install rails   ??

_______________________________________________
Rubygems-developers mailing list
Rubygems-developersrubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-develope
rs
Weird gem problem, might be pretty dangerous
user name
2006-02-21 20:26:34
Gregory Brown wrote:
> Hey guys,
> 
> I had a strange problem on RubyForge and have forwarded
it to you on
> Tom Copeland's request to see if you could shed some
light on what
> went wrong.
> 
> Many thanks.  Greg
> 
> ---------- Forwarded message ----------
> From: Gregory Brown <gregory.t.browngmail.com>
> Date: Feb 21, 2006 1:42 PM
> Subject: Weird gem problem, might be pretty dangerous
> To: Tom Copeland <tominfoether.com>
> 
> 
> i originally released two gems, ruport and ruport-lean
> 
> On windows and debian, when I type gem install ruport
> it grabs ruport-lean instead!
> 
> I deleted ruport-lean and renamed it to lean-ruport to
avoid the ambiguity.
> ruport-lean has not been taken out of rotation yet
though, and it has
> been overnight
> 
> But this leads me to think this might be really
dangerous.
> 
> What would happen if I made a gem called
rails-is-totally-awesome.
> 
> Would that break gem install rails   ??

Yep, and Eric Hodel did just that a while ago (released a
gem named 
rails-analysis or something like that).  A fix has been
applied to the 
CVS repository, so the next version of gems will guard
against that.

-- 
-- Jim Weirich       jweirichone.net      http://onestepback.org
------------------------------------------------------------
-----
"Beware of bugs in the above code; I have only proved
it correct,
not tried it." -- Donald Knuth (in a memo to Peter van
Emde Boas)
_______________________________________________
Rubygems-developers mailing list
Rubygems-developersrubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-develope
rs
Weird gem problem, might be pretty dangerous
user name
2006-02-21 21:07:53
On 2/21/06, Jim Weirich <jimweirichhouse.org> wrote:

> Yep, and Eric Hodel did just that a while ago (released
a gem named
> rails-analysis or something like that).  A fix has been
applied to the
> CVS repository, so the next version of gems will guard
against that.

Thank you Jim.

_______________________________________________
Rubygems-developers mailing list
Rubygems-developersrubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-develope
rs
Weird gem problem, might be pretty dangerous
user name
2006-02-21 22:24:32
On Feb 21, 2006, at 12:26 PM, Jim Weirich wrote:

> Gregory Brown wrote:
>> Hey guys,
>>
>> I had a strange problem on RubyForge and have
forwarded it to you on
>> Tom Copeland's request to see if you could shed
some light on what
>> went wrong.
>>
>> Many thanks.  Greg
>>
>> ---------- Forwarded message ----------
>> From: Gregory Brown <gregory.t.browngmail.com>
>> Date: Feb 21, 2006 1:42 PM
>> Subject: Weird gem problem, might be pretty
dangerous
>> To: Tom Copeland <tominfoether.com>
>>
>>
>> i originally released two gems, ruport and
ruport-lean
>>
>> On windows and debian, when I type gem install
ruport
>> it grabs ruport-lean instead!
>>
>> I deleted ruport-lean and renamed it to lean-ruport
to avoid the  
>> ambiguity.
>> ruport-lean has not been taken out of rotation yet
though, and it has
>> been overnight
>>
>> But this leads me to think this might be really
dangerous.
>>
>> What would happen if I made a gem called
rails-is-totally-awesome.
>>
>> Would that break gem install rails   ??
>
> Yep, and Eric Hodel did just that a while ago (released
a gem named
> rails-analysis or something like that).  A fix has been
applied to the
> CVS repository, so the next version of gems will guard
against that.

I think there might still be a problem for local updates,
I've hit it  
a couple times even with the fix in place.

-- 
Eric Hodel - drbrainsegment7.net - http://segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotco
op.com


_______________________________________________
Rubygems-developers mailing list
Rubygems-developersrubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-develope
rs
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )