FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

LinkBack Thread Tools
Old 12-29-2010, 11:48 PM
Default The official pacman repository branch, master, updated. v3.4.1-220-gbd98b93

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 bd98b93a6e161c436c22f6c39d2d6293f420cbcc (commit)
via eb93955477c411eaf914c2f1650ce37d02d8b56e (commit)
via a7972625e3ef98348b8a0957217aa2991501a07b (commit)
via a58083459b096e935693d94b9cb51a447b3a1abd (commit)
via 735a197fc29b6b85a64cae5a6fa95e1209552c3b (commit)
via 34a78d935ac44fc73becc8bba213cdf0268bb5e0 (commit)
via e3c19569cfe7cd77674490b30624e71512417e0b (commit)
via fbcc42775492e5ba3df1b3235a23f23ad7faa241 (commit)
via f2dff0860053f45c91e4ee301fda091a6b3d7361 (commit)
via 126f50ab0b5ee3ed46c5a6ecae241e8af49b0fe2 (commit)
from c78a808c49f1df12254ff9ae5ce32bd450e14df8 (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 bd98b93a6e161c436c22f6c39d2d6293f420cbcc
Author: Dave Reisner <d@falconindy.com>
Date: Sun Dec 26 19:12:55 2010 -0500

makepkg: escape closing bash array paren for awk

The closing parenthesis of bash arrays needs to be escaped in the ending
address of awk expressions in order to play nicely with implementations
of awk other than gawk. This change provides compatibility with gawk,
nawk and mawk.

Signed-off-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>

commit eb93955477c411eaf914c2f1650ce37d02d8b56e
Author: Allan McRae <allan@archlinux.org>
Date: Sat Dec 25 13:14:55 2010 +1000

makepkg: allow pkgname usage in split package functions

Currently, using $pkgname in a split package package_*() function
always returns the first value in the pkgname array rather than the
name of tha package being packaged. Fix this so $pkgname gives the
expected value.

Fixes FS#22174

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>

commit a7972625e3ef98348b8a0957217aa2991501a07b
Merge: a580834 735a197
Author: Dan McGee <dan@archlinux.org>
Date: Wed Dec 29 18:43:47 2010 -0600

Merge branch 'depcmp-perf'

commit a58083459b096e935693d94b9cb51a447b3a1abd
Merge: 126f50a e3c1956
Author: Dan McGee <dan@archlinux.org>
Date: Wed Dec 29 18:43:44 2010 -0600

Merge branch 'fgets-perf'

commit 735a197fc29b6b85a64cae5a6fa95e1209552c3b
Author: Dan McGee <dan@archlinux.org>
Date: Tue Dec 21 15:40:04 2010 -0600

Use name hashes in depends to avoid strcmp calls

Just like we did for package name comparsions, if we add a depend name_hash
field on depend struct initialization, we can use it instead of doing a
string name comparison, saving us a lot of checks in the depcmp code.

Signed-off-by: Dan McGee <dan@archlinux.org>

commit 34a78d935ac44fc73becc8bba213cdf0268bb5e0
Author: Dan McGee <dan@archlinux.org>
Date: Mon Dec 20 19:58:15 2010 -0600

Remove need for memory allocation in _alpm_depcmp

Noticed when tweaking testdb, when we run _alpm_depcmp in loops and call it
seven million times, the strdup()/free() combo can add up. Remove the need
for any string duplication by some pointer manipulation and use of strncmp
instead of strcmp. Also kill the function logger and add an escape so we
don't needlessly retrieve the list of provides.

Signed-off-by: Dan McGee <dan@archlinux.org>

commit e3c19569cfe7cd77674490b30624e71512417e0b
Author: Dan McGee <dan@archlinux.org>
Date: Tue Dec 21 12:20:09 2010 -0600

Add pactest to test long archive reads

This creates two packages with extremely long description lines (500KB and
600 KB), causing our archive read code to perform reallocation to store the
whole contents. One of the packages will successfully read while the other
will fail for the time being.

Signed-off-by: Dan McGee <dan@archlinux.org>

commit fbcc42775492e5ba3df1b3235a23f23ad7faa241
Author: Dan McGee <dan@archlinux.org>
Date: Tue Dec 21 12:19:26 2010 -0600

pactest: allow testing of package description

And modify the code to not print the full rule string if it is more than 40
characters long; truncate it instead.

Signed-off-by: Dan McGee <dan@archlinux.org>

commit f2dff0860053f45c91e4ee301fda091a6b3d7361
Author: Dan McGee <dan@archlinux.org>
Date: Tue Dec 14 22:26:23 2010 -0600

Overhaul archive fgets function

The old function was written in a time before we relied on it for nearly
every operation. Since then, we have switched to the archive backend and now
fast parsing is a big deal.

The former function made a per-character call to the libarchive
archive_read_data() function, which resulted in some 21 million calls in a
typical "load all sync dbs" operation. If we instead do some buffering of
our own and read the blocks directly, and then find our newlines from there,
we can cut out the multiple layers of overhead and go from archive to parsed
data much quicker.

Both users of the former function are switched over to the new signature,
made easier by the macros now in place in the sync backend parsing code.

Performance: for a `pacman -Su` (no upgrades available),
_alpm_archive_fgets() goes from being 29% of the total time to 12% The time
spent on the libarchive function being called dropped from 24% to 6%.

This pushes _alpm_pkg_find back to the title of slowest low-level function.

Signed-off-by: Dan McGee <dan@archlinux.org>

commit 126f50ab0b5ee3ed46c5a6ecae241e8af49b0fe2
Author: Dan McGee <dan@archlinux.org>
Date: Mon Dec 20 19:54:33 2010 -0600

testdb: update for new database format

Sync DB's no longer have an extracted directory, so remove the files check
for those. Local databases no longer have a 'depends' file, so kill that
check as well. Finally, do a little other cleanup and remove the need for

Signed-off-by: Dan McGee <dan@archlinux.org>


Summary of changes:
lib/libalpm/be_package.c | 13 ++++--
lib/libalpm/be_sync.c | 15 ++++--
lib/libalpm/deps.c | 41 +++++++++++------
lib/libalpm/deps.h | 3 +-
lib/libalpm/util.c | 100 ++++++++++++++++++++++++++++++++---------
lib/libalpm/util.h | 18 +++++++-
scripts/makepkg.sh.in | 18 ++++---
src/util/testdb.c | 54 +++++++++-------------
test/pacman/pmrule.py | 10 +++--
test/pacman/pmtest.py | 7 +---
test/pacman/tests/smoke002.py | 19 ++++++++
11 files changed, 200 insertions(+), 98 deletions(-)
create mode 100644 test/pacman/tests/smoke002.py

The official pacman repository

Thread Tools

All times are GMT. The time now is 04:30 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org