Linux Archive

Linux Archive (
-   ArchLinux Pacman Development (
-   -   The official pacman repository branch, master, updated. v3.1.4-150-g6634085 (

Dan McGee 05-12-2008 01:14 AM

The official pacman repository branch, master, updated. v3.1.4-150-g6634085
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The official pacman repository".

The branch, master has been updated
via 663408532ae852e7123da6b9658df1cacc0c642d (commit)
via 13f24a5bdabf9c2c7bfa07aff7176495bb775a0d (commit)
via 046003844739416ff6d168dd2dec76490adb0727 (commit)
via 3c3cb001a441656c2afba62f0361b83d4987339c (commit)
via 3175faace439158f5c18b20bb2358e845c4167e0 (commit)
via e3d35b3274f13cc9ed8d79fa873d6348e424259e (commit)
via 0bfc8adf377e7c0d4870fd79999b359a00bc96e2 (commit)
via 1ba0d84da29d436f2b82c8961886ea2d021194d0 (commit)
from b49fc504acffa470cce31fb889723ecd86b314de (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 663408532ae852e7123da6b9658df1cacc0c642d
Merge: 13f24a5bdabf9c2c7bfa07aff7176495bb775a0d e3d35b3274f13cc9ed8d79fa873d6348e424259e
Author: Dan McGee <>
Date: Sun May 11 20:14:30 2008 -0500

Merge branch 'maint'


lib/libalpm/package.c - comment location moved to be_package.c

commit 13f24a5bdabf9c2c7bfa07aff7176495bb775a0d
Author: Dan McGee <>
Date: Mon Jan 21 21:23:54 2008 -0600

Refactor pkg_load/parse_descfile into a new backend file

alpm_pkg_load() and parse_descfile() are specific to getting information
from package files, just as other code is specific to getting information
into or out of a package database. Move this code out of package.c, which
should eventually only contain operators on the pmpkg_t struct that do not
depend at all on where the data came from.

Signed-off-by: Dan McGee <>

commit 046003844739416ff6d168dd2dec76490adb0727
Author: Dan McGee <>
Date: Sun May 11 19:29:23 2008 -0500

Remove some useless abstraction and start db cleanup

We have some useless abstractions like an alpm_db_rewind function. I've read
somewhere that readdir() was the worst filesystem function call invented,
and what do we do? Add a wrapper around it. Kill this abstraction and move
some other things into be_files that should be there anyway because they
are so tied to how a files backend works.

Signed-off-by: Dan McGee <>

commit 3c3cb001a441656c2afba62f0361b83d4987339c
Author: Allan McRae <>
Date: Sun May 11 13:30:27 2008 +1000

Make all error messages use pm_fprintf

Tested using many easily generated error conditions. Also added "malloc
failure" (conf.c) and "segmentation fault" (pacman.c) error messages for

Signed-off-by: Allan McRae <>
[Dan: fix trailing whitespace errors, other compilation issues]
Signed-off-by: Dan McGee <>

commit 3175faace439158f5c18b20bb2358e845c4167e0
Author: Dan McGee <>
Date: Sun May 11 15:38:36 2008 -0500

pactest: fix --gdb option

A libtool upgrade broke the gdb option as we need a MODE specified; add the
execute mode to the call.

Signed-off-by: Dan McGee <>

commit 0bfc8adf377e7c0d4870fd79999b359a00bc96e2
Author: Chantry Xavier <>
Date: Sat May 10 12:33:15 2008 +0200

contrib/paclist: list packages installed from given repo.

The paclist script provides a simple method for monitoring which packages
are installed from a given repo. This is particularly useful when using a
testing or unstable repository.

Thanks to Allan McRae for the idea and an initial bash script. As suggested
by Dan, I tried to rewrite in perl, and this resulted in much better
performance. Then Dan further cleaned up the script.

Signed-off-by: Chantry Xavier <>
[Dan: add to Makefile & README, minor script cleanups]
Signed-off-by: Dan McGee <>

commit 1ba0d84da29d436f2b82c8961886ea2d021194d0
Author: Dan McGee <>
Date: Fri May 9 18:56:15 2008 -0500

pacsearch: rewrite in perl

This rewrite in perl blows the socks off the old shell script version for
large searches:

$ time ./pacsearch.perl ^.*$ >/dev/null
real * *0m0.836s
user * *0m0.593s
sys * * 0m0.217s

$ time ^.*$ >/dev/null
real * *1m53.818s
user * *1m16.818s
sys * * 0m33.694s

Functionality and output is identical to the old version with the exception
of the old version's missing EOL after all the output. It should be a lot
easier to add new things like the --color flag that has been a TODO at the
top of the script for a long time.

Signed-off-by: Dan McGee <>


Summary of changes:
contrib/ | 1 +
contrib/README | 4 +
contrib/paclist | 88 ++++++++++++++
contrib/pacsearch | 163 +++++++++++++++++----------
lib/libalpm/ | 1 +
lib/libalpm/be_files.c | 235 ++++++++++++++++++++++++--------------
lib/libalpm/be_package.c | 286 ++++++++++++++++++++++++++++++++++++++++++++++
lib/libalpm/cache.c | 1 -
lib/libalpm/db.c | 90 ---------------
lib/libalpm/db.h | 4 -
lib/libalpm/package.c | 244 +---------------------------------------
lib/libalpm/package.h | 1 -
pactest/ | 2 +-
src/pacman/conf.c | 6 +-
src/pacman/package.c | 7 +-
src/pacman/pacman.c | 7 +-
src/pacman/query.c | 15 ++-
src/pacman/remove.c | 6 +-
src/pacman/sync.c | 44 ++++---
src/pacman/upgrade.c | 7 +-
src/pacman/util.c | 4 +-
21 files changed, 688 insertions(+), 528 deletions(-)
create mode 100755 contrib/paclist
create mode 100644 lib/libalpm/be_package.c

The official pacman repository

pacman-dev mailing list

All times are GMT. The time now is 09:50 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.