Re: [pacman-dev] [RFC] makepkg: output commands ran in build/check/package functions

2011-09-21 Thread Lukas Fleischer
On Wed, Sep 21, 2011 at 01:40:41AM -0400, Eric Bélanger wrote: > On Tue, Sep 20, 2011 at 11:40 PM, Allan McRae wrote: > > On 21/09/11 09:49, Dan McGee wrote: > >> > >> On Tue, Sep 20, 2011 at 9:11 AM, Florian Pritz  wrote: > >>> > >>> This might help to locate a failing command which causes makepk

Re: [pacman-dev] [RFC] makepkg: output commands ran in build/check/package functions

2011-09-21 Thread Dave Reisner
On Wed, Sep 21, 2011 at 01:40:50PM +1000, Allan McRae wrote: > On 21/09/11 09:49, Dan McGee wrote: > >On Tue, Sep 20, 2011 at 9:11 AM, Florian Pritz wrote: > >>This might help to locate a failing command which causes makepkg to > >>abort. > >> > >>Signed-off-by: Florian Pritz > >>--- > >>This is a

[pacman-dev] [PATCH 1/4] pacman-key: ensure array iterations are quoted

2011-09-21 Thread Dan McGee
When doing something like `pacman-key --edit-key 'Dan McGee'`, one would expect it to work, and not fail. Signed-off-by: Dan McGee --- scripts/pacman-key.sh.in | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in

[pacman-dev] [PATCH 2/4] pacman-key: clean up populate output

2011-09-21 Thread Dan McGee
* Ensure usage message is indented correctly * Show short filenames for both the gpg keyring and revocation file Signed-off-by: Dan McGee --- scripts/pacman-key.sh.in |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in

[pacman-dev] [PATCH 4/4] Move default siglevel value from backend to frontend

2011-09-21 Thread Dan McGee
This takes the libraries hidden default out of the equation: hidden in the sense that we can't even find out what it is until we create a handle. This is a chicken-and-egg problem where we have probably already parsed the config, so it is hard to get the bitmask value right. Move it to the fronten

[pacman-dev] [PATCH 3/4] Remove noisy debug logger

2011-09-21 Thread Dan McGee
This one can be overwhelming when reading debug output from a very large package. We already have the output of each extracted file so we probably can do without this in 99.9% of cases. Signed-off-by: Dan McGee --- lib/libalpm/add.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) d

[pacman-dev] [PATCH] Add alpm_capabilities() method and enumeration

2011-09-21 Thread Dan McGee
This allows a frontend program to query, at runtime, what the library supports. This can be useful for sanity checking during config- requiring a downloader or disallowing signature settings, for example. Signed-off-by: Dan McGee --- lib/libalpm/alpm.c | 25 +++-- lib/libal