[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.5.3-505-g98073af

Dan McGee dan at archlinux.org
Thu Jul 21 16:07:02 EDT 2011


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  98073afe5527aa8a08c7119b61d0251250168e82 (commit)
       via  768d3589a36c1a3c86cd91c4db401bc47737c47a (commit)
       via  2bd1687f51b51b21fa6a28a9d91d8509fb7c7c9f (commit)
       via  9f500f684d7db93c235d701be8d948402fd3b7ef (commit)
       via  bb3dada8711fbb822513cd556167867b537f8986 (commit)
       via  058ee1737182c2d5e900e0feba57f0d6496e735e (commit)
       via  70d6fe66325e66a39e6c3d79ef79c6a9ad8225f0 (commit)
      from  61410814c2cb33055e0eb0276444b9073c3a1e7a (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 98073afe5527aa8a08c7119b61d0251250168e82
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Wed Jul 20 13:26:44 2011 -0400

    pacman-key: refactor post parse opt check into a case
    
    This is a cleaner expression of the same information.
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 768d3589a36c1a3c86cd91c4db401bc47737c47a
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Wed Jul 20 10:47:06 2011 -0400

    pacman-key: s/UPDATEBD/UPDATEDB/
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 2bd1687f51b51b21fa6a28a9d91d8509fb7c7c9f
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Tue Jul 19 14:25:16 2011 -0400

    pacman-key: fix syntax error in -r arg parsing
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 9f500f684d7db93c235d701be8d948402fd3b7ef
Author: Dave Reisner <d at falconindy.com>
Date:   Tue Jul 19 14:28:53 2011 -0400

    pacman-key: return $ret, not errors
    
    fixes: /usr/bin/pacman-key: line 286: return: errors: numeric argument required
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit bb3dada8711fbb822513cd556167867b537f8986
Author: Dan McGee <dan at archlinux.org>
Date:   Tue Jul 19 04:47:29 2011 -0500

    Convert package filelists to an array instead of linked list
    
    This accomplishes quite a few things with one rather invasive change.
    
    1. Iteration is much more performant, due to a reduction in pointer
       chasing and linear item access.
    2. Data structures are smaller- we no longer have the overhead of the
       linked list as the file struts are now laid out consecutively in
       memory.
    3. Memory allocation has been massively reworked. Before, we would
       allocate three different pieces of memory per file item- the list
       struct, the file struct, and the copied filename. What this resulted
       in was massive fragmentation of memory when loading filelists since
       the memory allocator had to leave holes all over the place. The new
       situation here now removes the need for any list item allocation;
       allocates the file structs in contiguous memory (and reallocs as
       necessary), leaving only the strings as individually allocated. Tests
       using valgrind (massif) show some pretty significant memory
       reductions on the worst case `pacman -Ql > /dev/null` (366387 files
       on my machine):
    
       Before:
         Peak heap:   54,416,024 B
    	 Useful heap: 36,840,692 B
    	 Extra heap:  17,575,332 B
    
       After:
         Peak heap:   38,004,352 B
    	 Useful heap: 28,101,347 B
    	 Extra heap:   9,903,005 B
    
    Several small helper methods have been introduced, including a list to
    array conversion helper as well as a filelist merge sort that works
    directly on arrays.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 058ee1737182c2d5e900e0feba57f0d6496e735e
Author: Dan McGee <dan at archlinux.org>
Date:   Tue Jul 19 05:02:06 2011 -0500

    contrib: add paclog-pkglist to gitignore
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 70d6fe66325e66a39e6c3d79ef79c6a9ad8225f0
Author: Dan McGee <dan at archlinux.org>
Date:   Tue Jul 19 00:23:42 2011 -0500

    Clean up my debug logger mess
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

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

Summary of changes:
 contrib/.gitignore       |    1 +
 lib/libalpm/alpm.h       |   11 +++++-
 lib/libalpm/alpm_list.c  |   32 +++++++++++++++++
 lib/libalpm/alpm_list.h  |    1 +
 lib/libalpm/be_local.c   |   41 +++++++++++++++++-----
 lib/libalpm/be_package.c |   86 +++++++++++++++++++++++++++++++++++++++-------
 lib/libalpm/be_sync.c    |    2 -
 lib/libalpm/conflict.c   |   65 +++++++++++++++++++---------------
 lib/libalpm/conflict.h   |    4 +-
 lib/libalpm/diskspace.c  |   24 ++++++++----
 lib/libalpm/package.c    |   46 ++++++++++++++-----------
 lib/libalpm/package.h    |    8 ++--
 lib/libalpm/remove.c     |   25 ++++++++-----
 scripts/pacman-key.sh.in |   29 +++++++--------
 src/pacman/package.c     |    9 +++--
 src/pacman/query.c       |   19 ++++++----
 16 files changed, 277 insertions(+), 126 deletions(-)


hooks/post-receive
-- 
The official pacman repository


More information about the pacman-dev mailing list