[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.4.1-206-g45146dc

Dan McGee dan at archlinux.org
Wed Dec 15 01:43:19 EST 2010


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  45146dccbb94f14fb56df2999131851ff15e46b9 (commit)
       via  ab9c0814d291db840f60073b4e63d58f932e5e64 (commit)
       via  6605637b5317ad82f2177cc27c5a29450a8a1ef7 (commit)
       via  c7d332a26ad59772de5f37e855858cab97e26bb4 (commit)
       via  919bb6c9e00820c3930067b5985a246a455bef57 (commit)
       via  c2a73ba989fffb59c1b8ac7edb265a996dfc184d (commit)
       via  dbf59a6b141213b0afc962c71347eb83f8bcab73 (commit)
       via  d1d163c5a3627675e4d063d196ea2b2255507cc8 (commit)
       via  ba45cb459084a0746e0005345b8c5483834d1ba2 (commit)
       via  c5f6995aeb7f0622b63a736208850c9c86f38aad (commit)
       via  a5e43b16052b5db0de285cb4abfbcd5dff58f7ad (commit)
       via  580fe21065896a1cc239db72e66107f7997b3039 (commit)
       via  c00e05992e142219c30caf154d62d6166ae28338 (commit)
       via  94d3d665f0b0b4c934de73580afcb137fea9baa6 (commit)
       via  8f18798d10ab74c79dce3e0b11b5896104299d73 (commit)
      from  5f36523af9de20a8c74714da4125bb553b0fae2c (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 45146dccbb94f14fb56df2999131851ff15e46b9
Merge: ab9c081 ba45cb4
Author: Dan McGee <dan at archlinux.org>
Date:   Wed Dec 15 00:41:59 2010 -0600

    Merge branch 'maint'

commit ab9c0814d291db840f60073b4e63d58f932e5e64
Author: Dan McGee <dan at archlinux.org>
Date:   Wed Dec 15 00:14:25 2010 -0600

    Add a cushion for diskspace checking
    
    It is the minimum of 5% of disk capacity or 20 MiB on a per-partition basis.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 6605637b5317ad82f2177cc27c5a29450a8a1ef7
Author: Allan McRae <allan at archlinux.org>
Date:   Mon Dec 13 15:44:21 2010 +1000

    Document PKGEXT and SRCEXT
    
    Add some basic documentation for the PKGEXT and SRCEXT options in
    makepkg.conf.  Fixes FS#21302.
    
    Signed-off-by: Allan McRae <allan at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit c7d332a26ad59772de5f37e855858cab97e26bb4
Author: Dan McGee <dan at archlinux.org>
Date:   Tue Dec 14 17:45:12 2010 -0600

    Reorganize fields in package struct
    
    Saves a few bytes due to padding (256 -> 248 bytes), especially on x86_64,
    so we get the overhead of our new hash field right back.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 919bb6c9e00820c3930067b5985a246a455bef57
Author: Dan McGee <dan at archlinux.org>
Date:   Tue Dec 14 12:36:02 2010 -0600

    Used hashed package name in _alpm_pkg_find
    
    This results in huge gains to a lot of our codepaths since this is the most
    frequent method of random access to packages in a list. The gains are seen
    in both profiling and real life.
    
        $ pacman -Sii zvbi
        real: 0.41 sec -> 0.32 sec
        strcmp: 16,669,760 calls -> 473,942 calls
        _alpm_pkg_find: 52.73% -> 26.31% of time
    
        $ pacman -Su (no upgrades found)
        real: 0.40 sec -> 0.50 sec
        strcmp: 19,497,226 calls -> 524,097 calls
        _alpm_pkg_find: 52.36% -> 26.15% of time
    
    There is some minor risk with this patch, but most of it should be avoided
    by falling back to strcmp() if we encounter a package with a '0' hash value
    (which we should not via any existing code path). We also do a strcmp once
    hash values match to ensure against hash collisions. The risk left is that a
    package name is modified once it was originally set, but the hash value is
    left alone. That would probably result in a lot of other problems anyway.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit c2a73ba989fffb59c1b8ac7edb265a996dfc184d
Author: Dan McGee <dan at archlinux.org>
Date:   Tue Dec 14 12:06:31 2010 -0600

    When setting package name, set hash value as well
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit dbf59a6b141213b0afc962c71347eb83f8bcab73
Author: Dan McGee <dan at archlinux.org>
Date:   Tue Dec 14 11:56:32 2010 -0600

    Add hash_sdbm function
    
    This is prepping for the addition of a hash field to each package to greatly
    speed up the string comparisons we frequently do on package name in
    _alpm_pkg_find.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit d1d163c5a3627675e4d063d196ea2b2255507cc8
Author: Dan McGee <dan at archlinux.org>
Date:   Tue Dec 14 11:50:50 2010 -0600

    Use _alpm_pkg_find in deps search
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit a5e43b16052b5db0de285cb4abfbcd5dff58f7ad
Author: Dan McGee <dan at archlinux.org>
Date:   Mon Dec 13 21:06:42 2010 -0600

    Correctly force load of package reason
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 580fe21065896a1cc239db72e66107f7997b3039
Author: Dan McGee <dan at archlinux.org>
Date:   Mon Dec 13 21:00:23 2010 -0600

    Abstract has_scriptlet() to package ops struct
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit c00e05992e142219c30caf154d62d6166ae28338
Author: Dan McGee <dan at archlinux.org>
Date:   Mon Dec 13 20:19:32 2010 -0600

    Remove non-public functions from header
    
    And rename accordingly.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 94d3d665f0b0b4c934de73580afcb137fea9baa6
Author: Dan McGee <dan at archlinux.org>
Date:   Mon Dec 13 20:16:36 2010 -0600

    Mark sync_db_read() as static
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

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

Summary of changes:
 NEWS                     |    2 +-
 configure.ac             |    4 ++--
 doc/PKGBUILD.5.txt       |   39 ++++++++++++++++++++++-----------------
 doc/makepkg.conf.5.txt   |    5 +++--
 lib/libalpm/be_local.c   |   19 +++++++++++++++++--
 lib/libalpm/be_package.c |    1 +
 lib/libalpm/be_sync.c    |   12 ++++++++----
 lib/libalpm/db.c         |    6 +-----
 lib/libalpm/db.h         |    4 ----
 lib/libalpm/deps.c       |    4 ++--
 lib/libalpm/diskspace.c  |   11 ++++++++---
 lib/libalpm/package.c    |   30 +++++++++++++++++-------------
 lib/libalpm/package.h    |   33 +++++++++++++++++----------------
 lib/libalpm/util.c       |   22 ++++++++++++++++++++++
 lib/libalpm/util.h       |    1 +
 15 files changed, 122 insertions(+), 71 deletions(-)


hooks/post-receive
-- 
The official pacman repository


More information about the pacman-dev mailing list