bash completion for RubyGems

Bug #88000 reported by chastell
10
Affects Status Importance Assigned to Milestone
libgems-ruby (Ubuntu)
Fix Released
Undecided
Chuck Short

Bug Description

Binary package hint: bash

Please consider adding bash completion for RubyGems (the gem command): http://schuerig.de/michael/blog/index.php/2007/02/24/gem-bash-completion/

Tags: patch
Revision history for this message
chastell (chastell) wrote :

Attaching the completion file for convenience.

Revision history for this message
Chris Rose (chris-vault5) wrote :

Thanks for the patch.

In order to have this accepted, the patch needs to be filed against the package that provides the gem command, not bash itself. Which Ubuntu package provides the 'gem' command?

Changed in bash:
assignee: nobody → chris-vault5
status: Unconfirmed → Needs Info
Revision history for this message
chastell (chastell) wrote :

Ah, my bad. I was tricked by the bash package providing completion rules for Subversion. :) Reassigning to libgems-ruby

Revision history for this message
Chris Rose (chris-vault5) wrote :

Thanks.

Changed in libgems-ruby:
assignee: chris-vault5 → shot
status: Unconfirmed → In Progress
Revision history for this message
chastell (chastell) wrote :

Reassigning to the ‘motu’ user, as libgems-ruby is maintained by ‘Ubuntu MOTU Developers’.

Changed in libgems-ruby:
assignee: shot → motu
Revision history for this message
Neil Wilson (neil-aldur) wrote :

debdiff attached that applies this patch to the 0.9.4 version in Gutsy.

Changed in libgems-ruby:
status: In Progress → Fix Committed
Neil Wilson (neil-aldur)
Changed in libgems-ruby:
status: Fix Committed → In Progress
Neil Wilson (neil-aldur)
Changed in libgems-ruby:
assignee: motu → nobody
status: In Progress → Confirmed
Revision history for this message
Barry deFreese (bddebian) wrote :

The patch applies and builds fine. However I am not familiar with the package to know that everything works as it should. Can you verify that it works as it should?

Thanks!

Changed in libgems-ruby:
status: Confirmed → Triaged
Revision history for this message
Daniel Holbach (dholbach) wrote :

How can we confirm that the completion works now?

Changed in libgems-ruby:
status: Triaged → Incomplete
Revision history for this message
chastell (chastell) wrote :

I rebuilt libgems-ruby 0.9.4-1 with the above debdiff patch on my Feisty box and the completion for the gem command is right there; hope this is a valid use-case. :)

Thanks a lot!

Revision history for this message
Chuck Short (zulcss) wrote :

Actually this probably should be done in the rubygems package not the libgems-ruby since it provides gems. Ill get this into it sometime today

Changed in libgems-ruby:
assignee: nobody → zulcss
status: Incomplete → In Progress
Revision history for this message
Neil Wilson (neil-aldur) wrote :

Err, that's what the debdiff does.

the libgems-ruby package is the source package which builds the libgems-ruby1.8 and rubygems binary packages. If you look in 'rubygems.install' you'll see the bash completion sat there next to the good old gem command.

Let's get this in before the cut off point.

Completion works fine here.

Neil Wilson (neil-aldur)
Changed in libgems-ruby:
status: In Progress → Confirmed
Revision history for this message
Chuck Short (zulcss) wrote :

ok done.

Changed in libgems-ruby:
status: Confirmed → Fix Committed
Revision history for this message
Lionel Porcheron (lionel.porcheron) wrote :

It has been successfully built, let's mark it as Fix Released.

Changed in libgems-ruby:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.