[Pkg-zsh-devel] Bug#717002: zsh: Update for git-buildpackage completion

Felipe Sateler fsateler at debian.org
Wed Oct 30 20:28:41 UTC 2013


Control: reassign -1 git-buildpackage

On Tue, Oct 29, 2013 at 7:07 AM, Guido Günther <agx at sigxcpu.org> wrote:
> On Mon, Oct 28, 2013 at 03:50:33PM -0300, Felipe Sateler wrote:
>> On Mon, Oct 28, 2013 at 2:22 PM, Vincent Bernat <bernat at debian.org> wrote:
>> >  ❦ 15 juillet 2013 23:27 CEST, Felipe Sateler <fsateler at debian.org> :
>> >
>> >> Git buildpackage has changed the preferred interface. I have taken a
>> >> stab at updating the current completion into the new interface. I also
>> >> took the time to add completion for the other gbp commands.
>> >>
>> >> Unfortunately my completion foo is quite limited, so they are not as
>> >> good as they could be (multiple pq commands are allowed;
>> >> cannot detect when to require a dsc or a package name in import-dsc and
>> >> others).
>> >>
>> >> I still think the result is somewhat useful.
>> >
>> > It is working fine for me. Maybe this could be shipped with gbp instead?
>>
>> GBP maintainers, would you mind adding this file to the gbp package?
>> It's a start for a zsh completion, but it is already useful.
>
> If somebody submits a patch I'd be happy to.

OK, here is a patch attached.

> I do wonder why you
> hardcode the options though instead of parsing it from the command's
> --help output?

Frank already answered this with a technical reason, but also because
my zsh fu is not quite good.

-- 

Saludos,
Felipe Sateler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-zsh-completion-to-debian-package.patch
Type: text/x-patch
Size: 20993 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-zsh-devel/attachments/20131030/494dedde/attachment-0001.bin>


More information about the Pkg-zsh-devel mailing list