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

Dan McGee dan at archlinux.org
Mon Aug 22 09:56:58 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  c4350d90f137ff3177e68cb0bab82d14edaac54e (commit)
       via  b6914d16cc7ee97f538b569b760c3ced18ee1fa9 (commit)
       via  a98babbfef725147748fc1be149a57b1beaac615 (commit)
       via  343ea8171815debe3fc5a55ad0eeaf6c35f90bb9 (commit)
       via  ffdfc825234987b9f974d7a8a152babb10cb8663 (commit)
       via  e9b8a7693dce4d7be959c6a9f4112014884e647c (commit)
       via  d9e5dab6aceeb4d32cfa52d5500f0d22cabb487b (commit)
       via  d307ed5eb9d6684911c55f661e2d58e0fd6e4ceb (commit)
       via  82fc816d790ac8b2bfaa81575bf85067769ece10 (commit)
       via  43940f591ed77f984c49fe8a3629d66dbf78bfb0 (commit)
       via  eae363c96fb5ffce8e88cb63c780769b1410a1f9 (commit)
       via  d3f135af8f499fbab24b3ad9e76751a29bc4d3f5 (commit)
       via  e07547ee4ed4fd812a7f50b998589fa27c12de4c (commit)
       via  6d544984f2418ea34caab4c433580487b760362a (commit)
      from  9934b3bd345011eef6a96249d8d90de594c04cd0 (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 c4350d90f137ff3177e68cb0bab82d14edaac54e
Author: Dave Reisner <d at falconindy.com>
Date:   Sat Aug 20 13:19:19 2011 -0400

    pacman/util: use string_length to calculate line length
    
    This is measuring strings that are potentially localized, so we need a
    multibyte aware function to count characters instead of bytes.
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit b6914d16cc7ee97f538b569b760c3ced18ee1fa9
Author: Allan McRae <allan at archlinux.org>
Date:   Thu Jul 14 00:05:30 2011 +1000

    Print callback messages to stderr
    
    Fixes FS#25099.
    
    Signed-off-by: Allan McRae <allan at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit a98babbfef725147748fc1be149a57b1beaac615
Author: Dan McGee <dan at archlinux.org>
Date:   Sat Aug 20 12:07:15 2011 -0500

    Print debug timestamps to same stream as rest of output
    
    We used fprintf() elsewhere in this function, but we didn't use it on
    the debug timestamp printing. Use fprintf() instead of printf() to fix
    this.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 343ea8171815debe3fc5a55ad0eeaf6c35f90bb9
Author: Pang Yan Han <pangyanhan at gmail.com>
Date:   Mon Aug 22 13:00:34 2011 +0800

    pacsort: correct list freeing
    
    Signed-off-by: Pang Yan Han <pangyanhan at gmail.com>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit ffdfc825234987b9f974d7a8a152babb10cb8663
Author: Dan McGee <dan at archlinux.org>
Date:   Mon Aug 22 08:50:43 2011 -0500

    pacsort: ensure list is freed if size is 0
    
    Found using: `valgrind ./src/util/.libs/lt-pacsort /dev/null`
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit e9b8a7693dce4d7be959c6a9f4112014884e647c
Author: Pang Yan Han <pangyanhan at gmail.com>
Date:   Mon Aug 22 13:00:33 2011 +0800

    pacsort: correct pointer type in list_new
    
    Pointer sizes are the same but this makes intention clearer.
    
    Signed-off-by: Pang Yan Han <pangyanhan at gmail.com>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit d9e5dab6aceeb4d32cfa52d5500f0d22cabb487b
Author: Dan McGee <dan at archlinux.org>
Date:   Fri Aug 19 19:12:21 2011 -0500

    Remove alpm_option_get_* usage from backend
    
    These are all available directly on the handle without indirection.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit d307ed5eb9d6684911c55f661e2d58e0fd6e4ceb
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Fri Aug 19 14:03:32 2011 -0400

    dload: remove unused macro
    
    This was a vestige leftover from the libfetch days of yore.
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 82fc816d790ac8b2bfaa81575bf85067769ece10
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Fri Aug 19 14:07:29 2011 -0400

    dload: delete zero length downloads on curl error
    
    In the case of a non-operation (e.g. DNS resolver error), delete the
    leftover 0 byte .part file.
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 43940f591ed77f984c49fe8a3629d66dbf78bfb0
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Fri Aug 19 11:43:27 2011 -0400

    dload: rename payload->filename to payload->remote_name
    
    This is a far more accurate description of what this is, since it's more
    than likely not really a filename at all, but the name after a final
    slash on a URL.
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit eae363c96fb5ffce8e88cb63c780769b1410a1f9
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Fri Aug 19 14:25:09 2011 -0400

    dload: remove code duplication
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit d3f135af8f499fbab24b3ad9e76751a29bc4d3f5
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Fri Aug 19 16:48:09 2011 -0400

    bash_completion: add dbonly to sync options
    
    Signed-off-by: Dave Reisner <dreisner at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit e07547ee4ed4fd812a7f50b998589fa27c12de4c
Author: Dan McGee <dan at archlinux.org>
Date:   Fri Aug 19 13:10:17 2011 -0500

    Rework finding a writable cache directory
    
    This is a refactor and refresh of the code used to find where we should
    download packages.
    
    * Incorporate suggestions from FS#25435 to use TMPDIR from the
      environment if set, otherwise fall back to /tmp as before.
    * Make the writability tests a bit more in depth. We now do a three part
      check consisting of:
      - S_ISDIR(): is this even a directory
      - access(W_OK): is this directory writable by the current user.
        Unfortunately for root, this almost always returns that it is, but
        in the case of a RO mount or NFS share inaccessible to root, this
        check will exclude the directory.
      - mode & (any write bit): is there a writable bit set on this
        directory. This makes it possible to enforce a read-only cache
        directory by setting permissions to 0555, for example.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 6d544984f2418ea34caab4c433580487b760362a
Author: Dan McGee <dan at archlinux.org>
Date:   Fri Aug 19 11:06:55 2011 -0500

    Be more robust when copying package data
    
    This changes the signature of _alpm_pkg_dup() to return an integer error
    code and provide the new package in a passed pointer argument. All
    callers are now more robust with checking the return value of this
    function to ensure a fatal error did not occur.
    
    We allow load failures to proceed as otherwise we have a chicken and egg
    problem- if a 'desc' local database entry is missing, the best way of
    restoring said file is `pacman -Sf --dbonly packagename`. This patch
    fixes a segfault that was occurring in this case.
    
    Fixes the segfault reported in FS#25667.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

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

Summary of changes:
 contrib/bash_completion.in |    2 +-
 lib/libalpm/add.c          |   11 +++++++----
 lib/libalpm/be_local.c     |    3 +--
 lib/libalpm/be_sync.c      |    7 +++----
 lib/libalpm/db.c           |    7 +++----
 lib/libalpm/deps.c         |   12 +++++++++---
 lib/libalpm/deps.h         |    2 +-
 lib/libalpm/diskspace.c    |    2 +-
 lib/libalpm/dload.c        |   39 +++++++++++++++++++++------------------
 lib/libalpm/dload.h        |    2 +-
 lib/libalpm/package.c      |   28 ++++++++++++++++++++++++----
 lib/libalpm/package.h      |    2 +-
 lib/libalpm/remove.c       |   35 ++++++++++++++++++++++++++---------
 lib/libalpm/signing.c      |    2 +-
 lib/libalpm/sync.c         |   14 +++++++++-----
 lib/libalpm/trans.c        |    6 +++---
 lib/libalpm/util.c         |   44 +++++++++++++++++++++++++++++---------------
 src/pacman/callback.c      |    2 +-
 src/pacman/util.c          |    4 ++--
 src/util/pacsort.c         |    8 ++++----
 20 files changed, 148 insertions(+), 84 deletions(-)


hooks/post-receive
-- 
The official pacman repository


More information about the pacman-dev mailing list