[pacman-dev] [PATCH] database/print options, fix dirs, other

Andres P stderr at mail.com
Tue May 18 18:48:47 EDT 2010

On Thu, May 13, 2010 at 9:12 AM, Xavier Chantry 
<chantry.xavier at gmail.com> wrote:
> 1) Dan is still not happy about license change, even if this is a full
> rewrite. He would like to have all files in pacman project licensed
> with GPL2.
> But if you put this in public domain, I believe Dan could just
> relicense it in GPL2 himself.
> Anyway I don't like acting as an intermediary here, hopefully Dan and
> you can resolve this together.

As you said, my script is under the public domain so everyone is 
to change and use it as they see fit. ;)

> 2) Related to the directory completion I mentioned earlier : you
> restored old behavior, which is good.
> But the old behavior has a bug. It's not a regression in your patch,
> so not a show stopper, just wondering if you might have an idea.
> When there is both a directory and a package with the same name, the
> completion only sees the directory, and thus adds a trailing slash.
> $ mkdir acpitool
> $ pacman -S acpi<tab>
> acpi      acpid     acpitool/
> $ pacman -S acpit<tab>
> $ pacman -S acpitool/
> error: repository 'acpitool' not found
> error: 'acpitool/': no such repository

This is because -o filenames, which is needed for the 'pkg.tar.*' glob.
I have a fix for this that only sets -o filenames when needed.

Patch attached,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-bash_completion-many-improvements.patch
Type: application/octet-stream
Size: 14110 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20100518/6adeab5f/attachment-0001.obj>

More information about the pacman-dev mailing list