Re: [pacman-dev] [PATCH] download: major refactor to address lingering issues

2009-11-13 Thread Xavier
On Thu, Nov 12, 2009 at 9:09 AM, Dan McGee d...@archlinux.org wrote: +       _alpm_log(PM_LOG_DEBUG, ust.size: %ld local_size: %ld compare: %ld\n, +                       ust.size, local_size, local_size - ust.size); +       } else if(fileurl-offset) { +              

Re: [pacman-dev] [PATCH 1/2] Changing [ to [[ and ((

2009-11-13 Thread Jeff
On Thu, Nov 12, 2009 at 06:29:11PM -0500, Isaac Good wrote: I left the test as because there was no compelling reason to change it. I've been reading the various [ ( vs [[ (( threads and still cannot find a compelling reason for any of it. It makes the code much less readable to the people

[pacman-dev] [PATCH] Print error on duplicated database entries

2009-11-13 Thread Nagy Gabor
Some users reported duplicated database entries in /var/lib/pacman/local/, for example, both foo-1.0-1 and foo-2.0-1 subdirectories existed. (Bogus 3rd-party scripts, backup?) In this case pacman reported no error and its behaviour was mysterious. From now on, pacman detects this situation and

[pacman-dev] [PATCH] Add valgrind usage for testing purpose into the HACKING guide

2009-11-13 Thread Laszlo Papp
Signed-off-by: Laszlo Papp djsz...@archlinux.us --- HACKING | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/HACKING b/HACKING index 09e782d..954d4b7 100644 --- a/HACKING +++ b/HACKING @@ -133,6 +133,16 @@ For pacman: #include anythingelse.h

Re: [pacman-dev] [PATCH] Print error on duplicated database entries

2009-11-13 Thread Allan McRae
Nagy Gabor wrote: Some users reported duplicated database entries in /var/lib/pacman/local/, for example, both foo-1.0-1 and foo-2.0-1 subdirectories existed. (Bogus 3rd-party scripts, backup?) In this case pacman reported no error and its behaviour was mysterious. From now on, pacman detects

Re: [pacman-dev] [PATCH] Add valgrind usage for testing purpose into the HACKING guide

2009-11-13 Thread Allan McRae
Laszlo Papp wrote: Signed-off-by: Laszlo Papp djsz...@archlinux.us --- HACKING | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/HACKING b/HACKING index 09e782d..954d4b7 100644 --- a/HACKING +++ b/HACKING @@ -133,6 +133,16 @@ For pacman: #include anythingelse.h

Re: [pacman-dev] [PATCH] Print error on duplicated database entries

2009-11-13 Thread Dan McGee
On Fri, Nov 13, 2009 at 11:33 PM, Allan McRae al...@archlinux.org wrote: Nagy Gabor wrote: Some users reported duplicated database entries in /var/lib/pacman/local/, for example, both foo-1.0-1 and foo-2.0-1 subdirectories existed. (Bogus 3rd-party scripts, backup?) In this case pacman

Re: [pacman-dev] [PATCH] Add valgrind usage for testing purpose into the HACKING guide

2009-11-13 Thread Laszlo Papp
On Sat, Nov 14, 2009 at 6:41 AM, Allan McRae al...@archlinux.org wrote: Laszlo Papp wrote: Signed-off-by: Laszlo Papp djsz...@archlinux.us ---  HACKING |   10 ++  1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/HACKING b/HACKING index 09e782d..954d4b7 100644 ---

Re: [pacman-dev] [PATCH] Print error on duplicated database entries

2009-11-13 Thread Allan McRae
Dan McGee wrote: On Fri, Nov 13, 2009 at 11:33 PM, Allan McRae al...@archlinux.org wrote: Nagy Gabor wrote: Some users reported duplicated database entries in /var/lib/pacman/local/, for example, both foo-1.0-1 and foo-2.0-1 subdirectories existed. (Bogus 3rd-party scripts, backup?) In this

Re: [pacman-dev] makepkg enhancements: globstar and variable expansions in PURGE_TARGETS, MAN_DIRS, etc.

2009-11-13 Thread Allan McRae
Ciprian Dorin, Craciun wrote: Hy everybody! While building some custom packages for a stripped down Linux server, I've hit the following problems: * the cause of the problems is from the pact that my packages are each in it's own folder like: /packages/bash--4.0--1,