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

Dan McGee dan at archlinux.org
Fri Jun 24 14:38:21 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  e06586ceb49a0dc7e59996ae3a1483337d2ada05 (commit)
       via  61cb8e76c3f42bad318462e51bbfade752425023 (commit)
       via  c45cfb17419a0bc56c1396febd83f455a0dcbad0 (commit)
       via  4f8ae2bab61c8fc678589c6840d44977c82d4cc2 (commit)
       via  7b8f8f69f14dac2bbcd7e96fc548aa084be7cd8e (commit)
       via  79e98316ea89486d107466858543e965bcfbb0a9 (commit)
       via  1150d9e15aaea2ae1f259995d11442f491ef0af7 (commit)
       via  db3b86e7f34f4c3ccb42e98465f2069aa642a85f (commit)
      from  94d22f93096e210cd00d2e9c97c65f77d49ae387 (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 e06586ceb49a0dc7e59996ae3a1483337d2ada05
Author: Dave Reisner <d at falconindy.com>
Date:   Tue Jun 21 13:42:17 2011 -0400

    pactree: carry a list of databases for dep resolution
    
    Declare an alpm_list which, for now, only holds our local database.
    walk_deps and walk_reverse_deps are refactored to account for this, and
    a helper function is added to wrap alpm_db_get_pkg for traversing a
    list.
    
    This is groundwork for letting pactree walk the sync DBs.
    
    Signed-off-by: Dave Reisner <d at falconindy.com>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 61cb8e76c3f42bad318462e51bbfade752425023
Author: Wieland Hoffmann <themineo at googlemail.com>
Date:   Fri Jun 24 12:59:20 2011 +0200

    makepkg: Remove a lone quotation mark
    
    Allan broke it in 4bdb868.
    
    Signed-off-by: Allan McRae <allan at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit c45cfb17419a0bc56c1396febd83f455a0dcbad0
Author: Allan McRae <allan at archlinux.org>
Date:   Fri Jun 24 17:19:32 2011 +1000

    makepkg: remove the cleancache option
    
    This is a fairly useless feature given all it does is an "rm" on a
    directory.  It is also unlikely that you would want to remove the
    entire SRCDEST anyway, but rather just the old files.
    
    Signed-off-by: Allan McRae <allan at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 4f8ae2bab61c8fc678589c6840d44977c82d4cc2
Author: Dan McGee <dan at archlinux.org>
Date:   Fri Jun 24 04:11:38 2011 -0500

    Don't require a transaction for sync DB updates
    
    Instead, just do the required locking directly in the backend in calls
    to alpm_db_update().
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 7b8f8f69f14dac2bbcd7e96fc548aa084be7cd8e
Author: Dan McGee <dan at archlinux.org>
Date:   Fri Jun 24 04:02:58 2011 -0500

    Move locking functions to handle
    
    These operate on the handle, and the state is stored on the handle, so
    move them where they belong. Up until now only the transaction stuff
    calls them, but this will soon change and alpm_db_update() will handle
    locking all on its own.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 79e98316ea89486d107466858543e965bcfbb0a9
Author: Dan McGee <dan at archlinux.org>
Date:   Tue Jun 7 20:42:15 2011 -0500

    Add a 'valid' flag to the database object
    
    Start by converting all of our flags to a 'status' bitmask (pkgcache
    status, grpcache status). Add a new 'valid' flag as well. This will let
    us keep track if the database itself has been marked valid in whatever
    fashion.
    
    For local databases at the moment we ensure there are no depends files;
    for sync databases we ensure the PGP signature is valid if
    required/requested. The loading of the pkgcache is prohibited if the
    database is invalid.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 1150d9e15aaea2ae1f259995d11442f491ef0af7
Author: Dan McGee <dan at archlinux.org>
Date:   Wed Apr 20 19:54:01 2011 -0500

    Move database 'version' check to registration time
    
    This is another step toward doing both local database validation
    (ensuring we don't have depends files) and sync database validation (via
    signatures if present) when the database is registered.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit db3b86e7f34f4c3ccb42e98465f2069aa642a85f
Author: Dan McGee <dan at archlinux.org>
Date:   Tue Jun 7 17:29:55 2011 -0500

    Do database signature checking at load time
    
    This is the ideal place to do it as all clients should be checking the
    return value and ensuring there are no errors. This is similar to
    pkg_load().
    
    We also add an additional step of validation after we download a new
    database; a subsequent '-y' operation can potentially invalidate the
    original check at registration time.
    
    Note that this implementation is still a bit naive; if a signature is
    invalid it is currently impossible to refresh and re-download the file
    without manually deleting it first. Similarly, if one downloads a
    database and the check fails, the database object is still there and can
    be used. These shortcomings will be addressed in a future commit.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

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

Summary of changes:
 doc/makepkg.8.txt              |    4 --
 lib/libalpm/alpm.c             |    2 +-
 lib/libalpm/alpm.h             |    6 ++-
 lib/libalpm/be_local.c         |  117 ++++++++++++++++++++++------------------
 lib/libalpm/be_sync.c          |  114 ++++++++++++++++++++++++++++++---------
 lib/libalpm/db.c               |   63 +++++++++------------
 lib/libalpm/db.h               |   18 ++++---
 lib/libalpm/error.c            |    2 +
 lib/libalpm/handle.c           |   54 ++++++++++++++++++
 lib/libalpm/handle.h           |    3 +
 lib/libalpm/trans.c            |   72 ++++---------------------
 scripts/makepkg.sh.in          |   38 +------------
 src/pacman/conf.c              |   19 ++-----
 src/pacman/sync.c              |    7 ---
 src/pacman/util.c              |    3 -
 src/util/cleanupdelta.c        |    2 +-
 src/util/pactree.c             |   37 +++++++++----
 src/util/testdb.c              |    2 +-
 test/pacman/tests/ignore007.py |    2 +-
 test/pacman/tests/sign001.py   |    4 +-
 20 files changed, 304 insertions(+), 265 deletions(-)


hooks/post-receive
-- 
The official pacman repository


More information about the pacman-dev mailing list