Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux Pacman Development (http://www.linux-archive.org/archlinux-pacman-development/)
-   -   The official pacman repository branch, master, updated. v3.1.4-150-g6634085 (http://www.linux-archive.org/archlinux-pacman-development/86124-official-pacman-repository-branch-master-updated-v3-1-4-150-g6634085.html)

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 <dan@archlinux.org>
Date: Sun May 11 20:14:30 2008 -0500

Merge branch 'maint'

Conflicts:

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

commit 13f24a5bdabf9c2c7bfa07aff7176495bb775a0d
Author: Dan McGee <dan@archlinux.org>
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 <dan@archlinux.org>

commit 046003844739416ff6d168dd2dec76490adb0727
Author: Dan McGee <dan@archlinux.org>
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 <dan@archlinux.org>

commit 3c3cb001a441656c2afba62f0361b83d4987339c
Author: Allan McRae <mcrae_allan@hotmail.com>
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
translation.

Signed-off-by: Allan McRae <mcrae_allan@hotmail.com>
[Dan: fix trailing whitespace errors, other compilation issues]
Signed-off-by: Dan McGee <dan@archlinux.org>

commit 3175faace439158f5c18b20bb2358e845c4167e0
Author: Dan McGee <dan@archlinux.org>
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 <dan@archlinux.org>

commit 0bfc8adf377e7c0d4870fd79999b359a00bc96e2
Author: Chantry Xavier <shiningxc@gmail.com>
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 <shiningxc@gmail.com>
[Dan: add to Makefile & README, minor script cleanups]
Signed-off-by: Dan McGee <dan@archlinux.org>

commit 1ba0d84da29d436f2b82c8961886ea2d021194d0
Author: Dan McGee <dan@archlinux.org>
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 pacsearch.sh ^.*$ >/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 <dan@archlinux.org>

-----------------------------------------------------------------------

Summary of changes:
contrib/Makefile.am | 1 +
contrib/README | 4 +
contrib/paclist | 88 ++++++++++++++
contrib/pacsearch | 163 +++++++++++++++++----------
lib/libalpm/Makefile.am | 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/pmtest.py | 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


hooks/post-receive
--
The official pacman repository

_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev


All times are GMT. The time now is 08:47 PM.

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