tag:help.rubygems.org,2010-01-19:/discussions/problems/450-changed-gem-name-please-link-themRubyGems.org: Discussion 2012-08-04T18:38:20Ztag:help.rubygems.org,2010-01-19:Comment/45509852011-01-04T07:14:31Z2011-01-04T07:14:33Zchanged gem name, please link them<div><p>Hi.<br>
I have just "renamed" (downcased) the cartesian gem (<a href=
"https://rubygems.org/gems/Cartesian">https://rubygems.org/gems/Cartesian</a>
-> <a href=
"https://rubygems.org/gems/cartesian">https://rubygems.org/gems/cartesian</a>).
Could you please "merge" the pages together (history, etc) and
remove the old page, please? In case it is really not possible, I
would ask to just remove the old Cartesian page.<br>
Best regards,<br>
Adriano</p></div>Adriano Brito Mitretag:help.rubygems.org,2010-01-19:Comment/45509852011-01-04T14:23:47Z2011-01-04T14:23:47Zchanged gem name, please link them<div><p>Hi, you can do this with <code>gem yank</code>. More here:</p>
<p><a href=
"http://help.rubygems.org/kb/gemcutter/removing-a-published-rubygem">
http://help.rubygems.org/kb/gemcutter/removing-a-published-rubygem</a></p></div>Nick Quarantotag:help.rubygems.org,2010-01-19:Comment/45509852011-01-04T19:25:38Z2011-01-04T19:25:38Zchanged gem name, please link them<div><p>Ok, I've yanked all versions but how can I make the old-named
gem page now<br>
link (or even automatically redirect) to the new-named gem?</p>
<p>The whole point is to let the gem-user know that the gem has not
been<br>
abandoned, it has only had is name changed.</p>
<p>On Tue, Jan 4, 2011 at 12:23 PM, Nick Quaranto <<br>
<a href=
"mailto:tender+ddc539dcfe6f1da6a3acc1073ff4731a7b95b9361@tenderapp.com">
tender+ddc539dcfe6f1da6a3acc1073ff4731a7b95b9361@tenderapp.com</a><<a href="mailto:tender%2Bddc539dcfe6f1da6a3acc1073ff4731a7b95b9361@tenderapp.com">tender%2Bddc539dcfe6f1da6a3acc1073ff4731a7b95b9361@tenderapp.com</a>><br></p>
<blockquote>
<p>wrote:</p>
</blockquote></div>Adriano Mitretag:help.rubygems.org,2010-01-19:Comment/45509852011-01-11T15:18:04Z2011-01-11T15:18:04Zchanged gem name, please link them<div><p>There's not really a way to do this now. Even if you did, it
would only be for the site itself, and not for the RubyGems client
since it does not support this kind of renaming/relinking.</p>
<p>If you're up for it, patches are welcome: <a href=
"http://github.com/rubygems/gemcutter">http://github.com/rubygems/gemcutter</a>
:) This is seriously the first request for this functionality I've
heard though.</p></div>Nick Quarantotag:help.rubygems.org,2010-01-19:Comment/45509852011-01-11T18:21:26Z2011-01-11T18:21:26Zchanged gem name, please link them<div><p>You can also release a final version of Cartesian that either
depends on cartesian or has a post-install message saying something
like "this gem has been renamed and is no longer supported or
developed, gem install cartesian (lowercase) instead" or both.</p></div>Eric Hodeltag:help.rubygems.org,2010-01-19:Comment/45509852011-01-12T07:30:25Z2011-01-12T07:30:25Zchanged gem name, please link them<div><p>Thanks for the great suggestion, Eric! I have just finished
implementing it and it works flawlessly.</p>
<p>In the process I have found what might be a bug in the stats
page: graphs of yanked versions are omitted from the overview mode.
(To circumvent that, I have just unyanked all previous
versions.)</p></div>Adriano Mitretag:help.rubygems.org,2010-01-19:Comment/45509852011-01-18T03:53:30Z2011-01-18T03:53:30Zchanged gem name, please link them<div><p>Adriano: Not sure what you mean by the yanked graphs bug, can
you provide a screenshot?</p></div>Nick Quarantotag:help.rubygems.org,2010-01-19:Comment/45509852011-01-18T05:31:09Z2011-01-18T05:31:09Zchanged gem name, please link them<div><p>It means that the graphs/curves of yanked versions are omitted
from the<br>
overview mode, although they are visible when specific versions
are<br>
selected.</p>
<p>Recipe to reproduce the described behaviour:</p>
<ol>
<li>create a gem and push it (say v0.0.1)</li>
<li>download it as many time as you would like</li>
<li>push a new version for the same gem (say v0.0.2)</li>
<li>download the new version as many time as you would like</li>
<li>see the stats->overview, it should show both versions</li>
<li>then yank the old version (0.0.1 in the example)</li>
<li>now the stats->overview only show the curve for the new
version (i..e, it omits the curve of the first version)</li>
</ol>
<p>The only reason I am not attaching a screenshot it because to
take it I<br>
would have to (re)yank the gem, but I will definitely do it if for
some<br>
reason you can not reproduce the behaviour.</p>
<p>On Tue, Jan 18, 2011 at 1:53 AM, Nick Quaranto <<br>
<a href=
"mailto:tender+ddc539dcfe6f1da6a3acc1073ff4731a7b95b9361@tenderapp.com">
tender+ddc539dcfe6f1da6a3acc1073ff4731a7b95b9361@tenderapp.com</a><<a href="mailto:tender%2Bddc539dcfe6f1da6a3acc1073ff4731a7b95b9361@tenderapp.com">tender%2Bddc539dcfe6f1da6a3acc1073ff4731a7b95b9361@tenderapp.com</a>><br></p>
<blockquote>
<p>wrote:</p>
</blockquote></div>Adriano Mitretag:help.rubygems.org,2010-01-19:Comment/45509852012-08-04T18:38:19Z2012-08-04T18:38:19Zchanged gem name, please link them<div><p>Sorry, this comment was buried in our spam inbox.</p>
<p>Yeah I'm totally unhappy with our graphs, still. I'd like to
remove them and just provide an API for others to consume and
produce better graphs with.</p></div>Nick Quaranto