[pacman-dev] [GIT] The official pacman repository branch, master, updated. v4.0.0rc1-132-g234b6ff

Dan McGee dan at archlinux.org
Mon Aug 29 20:58:34 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  234b6ffc2c39268d1efdc414e02bc4b352e5d931 (commit)
       via  d74dad79b7770725090e1eb2a015cbd6f88aed66 (commit)
       via  515720a6fcc54c35420b5b5cf9258c8f2b5dc01b (commit)
       via  8129b93afe13a6546f46c6615c316ed85f341191 (commit)
       via  e3676ae7b51fdaa68fcf2923c19681ec7d6f3952 (commit)
       via  499e09734bc6f4a121b3363d88aeb085bcfd9ce9 (commit)
       via  b3c0ae5205ee9615af077ff00b1a01be3aab4eb6 (commit)
       via  7480df68ce7fe60e93dd833faf83dd5f2d6149c1 (commit)
      from  f46db04f98cb63b48208026865943e42e7ece2f4 (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 234b6ffc2c39268d1efdc414e02bc4b352e5d931
Author: Dan McGee <dan at archlinux.org>
Date:   Mon Aug 29 12:12:54 2011 -0500

    Parse > 2GiB file sizes correctly
    
    We were using atol(), which on 32 bit, cannot handle values greater than
    2GiB, which is fail.
    
    Switch to a strtoull() wrapper function tailored toward parsing off_t
    values. This allows parsing of very large positive integer values. off_t
    is a signed type, but in our usages, we never parse or have a need for
    negative values, so the function will return -1 on error.
    
    Before:
        $ pacman -Si flightgear-data | grep Size
        Download Size  : 2097152.00 K
        Installed Size : 2097152.00 K
    
    After:
        $ ./src/pacman/pacman -Si flightgear-data | grep Size
        Download Size  : 2312592.52 KiB
        Installed Size : 5402896.00 KiB
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit d74dad79b7770725090e1eb2a015cbd6f88aed66
Author: Helder Martins <heldermartins89 at gmail.com>
Date:   Mon Aug 29 22:07:26 2011 +0100

    lib/libalpm/handle.c: Removed redundant if condition
    
    Signed-off-by: Helder Martins <heldermartins89 at gmail.com>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 515720a6fcc54c35420b5b5cf9258c8f2b5dc01b
Author: Dan McGee <dan at archlinux.org>
Date:   Mon Aug 29 16:23:06 2011 -0500

    Ensure progress callback updates if XX/YY numerator changes
    
    We only updated if the percentage incremented and enough time had
    elapsed, even though the numerator of the current/howmany fraction may
    have changed. Ensure we proceed with the progress bar update in these
    cases so as to not mislead the user.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 8129b93afe13a6546f46c6615c316ed85f341191
Author: Dan McGee <dan at archlinux.org>
Date:   Mon Aug 29 10:52:12 2011 -0500

    pacman-key: fix broken logic around updating trust database
    
    Any option that flips UPDATEDB=1 doesn't work right now due to what we
    thought was a good idea in commit cab1379a1ab14. Fix this by not
    including the update operation in the option count and special casing
    it where necessary.
    
    Also, bring back the helpful "Updating trust database" message.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit e3676ae7b51fdaa68fcf2923c19681ec7d6f3952
Author: Allan McRae <allan at archlinux.org>
Date:   Mon Aug 29 21:28:22 2011 +1000

    Run pacman test-suite with LC_ALL=C
    
    Running the pacman test-suite in a non-English locale results in a few
    failures.  Force the test-suite to run with LC_ALL=C.
    
    Signed-off-by: Allan McRae <allan at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 499e09734bc6f4a121b3363d88aeb085bcfd9ce9
Author: Dan McGee <dan at archlinux.org>
Date:   Sun Aug 28 23:29:53 2011 -0500

    Streamline alpm_splitdep() comparisons
    
    This reduces from 5 to 3 the number of searches needed on the string
    looking for a comparison operator, since we can so a second quick
    comparison looking for '=' if we find '<' or '>'. It also makes every
    search doable with strchr() or memchr() rather than the slower strstr()
    method.
    
    In testing, only 10% of splitdep calls (~1600 / 16000) during an -Ss
    database load found a version comparison operator, so optimizing the not
    found path to be require less work makes sense.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit b3c0ae5205ee9615af077ff00b1a01be3aab4eb6
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Mon Aug 29 20:46:28 2011 -0400

    pacsort: use boolean, not binary OR operation
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 7480df68ce7fe60e93dd833faf83dd5f2d6149c1
Author: Dan McGee <dan at archlinux.org>
Date:   Mon Aug 29 07:48:59 2011 -0500

    Rework scriptlet tests to not depend on pacman output
    
    This actually does something in a scriptlet we can check with our normal
    set of rules, rather than relying on pacman debug output.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

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

Summary of changes:
 Makefile.am                       |    2 +-
 lib/libalpm/be_local.c            |    4 ++--
 lib/libalpm/be_package.c          |    2 +-
 lib/libalpm/be_sync.c             |    4 ++--
 lib/libalpm/delta.c               |    2 +-
 lib/libalpm/deps.c                |   32 +++++++++++++++++++-------------
 lib/libalpm/handle.c              |    7 +++----
 lib/libalpm/util.c                |   25 +++++++++++++++++++++++++
 lib/libalpm/util.h                |    1 +
 scripts/pacman-key.sh.in          |   14 ++++++++++----
 src/pacman/callback.c             |   13 ++++++++-----
 src/util/pacsort.c                |    2 +-
 test/pacman/tests/scriptlet001.py |   13 +++++--------
 test/pacman/tests/scriptlet002.py |   13 +++++--------
 14 files changed, 84 insertions(+), 50 deletions(-)


hooks/post-receive
-- 
The official pacman repository


More information about the pacman-dev mailing list