[pacman-dev] [GIT] pacman branch, master now at v3.0.0-388-gb0aa510

Dan McGee dan at archlinux.org
Sun Sep 16 21:37:21 EDT 2007


Hello,

This is an automated email from the git hooks/update script, it was
generated because a ref change was pushed to the repository.

Updating branch, master,
       via  b0aa51059233849b0a7ef8d6a851750776ce6645 (commit)
       via  046c8a6819a0533fb10434f30100f80bb960fe46 (commit)
       via  7daf5a038d3750eacf92b819206cae6b77a73042 (commit)
       via  892faa3e5c7f96835fc226adbf5b0ccac39a1903 (commit)
       via  4d51a2b357b01de5ca95cfb3354dfe78228179c0 (commit)
       via  71a4511d0f6af7cc508aeea1f6e56045dc182ad0 (commit)
       via  27acdc2c94de558103eb29260c179a49c9b05c14 (commit)
       via  f21c45c0ddf195a4dcfca08c19bfa23d1c7fb326 (commit)
       via  be32aa3004fc04dd0602b657d847fe671fb4372f (commit)
       via  2f0de317b862e154f0b172da0668b887413cc55f (commit)
      from  b2501950c7fca0b771fc79054d9592ea79753749 (commit)

- Log -----------------------------------------------------------------
commit b0aa51059233849b0a7ef8d6a851750776ce6645
Author: Chantry Xavier <shiningxc at gmail.com>
Date:   Sat Sep 8 00:36:38 2007 +0200

    trans.c : reworking of transaction interruptions
    
    My two previous hacks related to this part
    (8038190c7c4786e1c49494eea1b40cdddcbd5136 and
    b15a5194d1a8485a2769560e49e6ff03e1862533) were caused by the lack of
    understanding of a feature introduced a while ago:
    Better control over CTRL-C interruptions -- do not leave the DB in an
    inconsistent state (54008798efcc9646f622f6b052ecd83281d57cda).
    
    Now I have been looking at this commit, and the added feature is indeed
    interesting. The main problem I had with it is that it does a rather
    unusual use of alpm_trans_release, which caused a few problems that I tried
    to fix in a weird way. I think these problems were caused by the fact that
    there weren't any difference between "interrupt transaction" and "release a
    transaction which failed" actions from the alpm_trans_release POV.  So I
    decided to add a new function instead, alpm_trans_interrupt, which is
    called on Ctrl+C, and which only sets trans->state to STATE_INTERRUPTED so
    that remove_commit and add_commit can exit cleanly at a safe moment. This
    allowed me to revert my two previous hacks as well.
    
    Also ensure we handle SIGINT correctly in all cases- if a transaction is
    not ongoing, then we can free the transaction and exit quickly.
    
    Signed-off-by: Chantry Xavier <shiningxc at gmail.com>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 046c8a6819a0533fb10434f30100f80bb960fe46
Author: Chantry Xavier <shiningxc at gmail.com>
Date:   Mon Sep 17 01:56:23 2007 +0200

    Remove the DB consistency check from pacman and libalpm.
    
    This reverts commit dfc85cb5f516ffbcff557522e9703c5c7d88b047
    and b6f3fe6957d0206485eac98fb2120578b75d0058.
    This DB check is already in testdb (among others).
    
    Also testdb now uses the db path set at make time by default,
    so specifying the db path is optional.
    
    Signed-off-by: Chantry Xavier <shiningxc at gmail.com>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 7daf5a038d3750eacf92b819206cae6b77a73042
Author: Dan McGee <dan at archlinux.org>
Date:   Sun Sep 16 17:48:42 2007 -0500

    Remove a dead mirror, update contrib/pacsearch for core change
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 892faa3e5c7f96835fc226adbf5b0ccac39a1903
Author: Dan McGee <dan at archlinux.org>
Date:   Sun Sep 16 16:38:52 2007 -0500

    Add new Russian mirror
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 4d51a2b357b01de5ca95cfb3354dfe78228179c0
Author: Dan McGee <dan at archlinux.org>
Date:   Sun Sep 16 16:26:58 2007 -0500

    Make changes for Arch Linux current -> core change
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 71a4511d0f6af7cc508aeea1f6e56045dc182ad0
Author: Chantry Xavier <shiningxc at gmail.com>
Date:   Tue Jul 17 14:21:01 2007 +0200

    Add testdb util for finding inconsistencies in the database.
    
    Signed-off-by: Chantry Xavier <shiningxc at gmail.com>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 27acdc2c94de558103eb29260c179a49c9b05c14
Author: Stefano Esposito <stefano.esposito87 at gmail.com>
Date:   Sat Sep 8 18:41:45 2007 +0200

    make alpm_strerror binding friendly
    
    I'm currently working on python bindings for alpm written in pyrex. While
    working i found that declaring alpm_strerror as
    	char * alpm_strerror (void)
    instead of
    	char * alpm_strerror (int err)
    
    and then using pm_errno in the implementation instead of err, could make it
    more bindings-friendly.
    
    Dan: cleaned up and added void to declaration. Instead of replacing existing
    function, add a new function called 'alpm_strerrorlast(void)'.
    
    Signed-off-by: Stefano Esposito <stefano.esposito87 at gmail.com>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit f21c45c0ddf195a4dcfca08c19bfa23d1c7fb326
Author: Chantry Xavier <shiningxc at gmail.com>
Date:   Sun Aug 26 01:14:34 2007 +0200

    libalpm/deps.c : export _alpm_checkdeps (-> alpm_checkdeps).
    
    Signed-off-by: Chantry Xavier <shiningxc at gmail.com>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit be32aa3004fc04dd0602b657d847fe671fb4372f
Author: Chantry Xavier <shiningxc at gmail.com>
Date:   Sun Aug 26 01:07:02 2007 +0200

    libalpm/package.c : add new alpm_pkg_compute_requiredby function.
    
    Signed-off-by: Chantry Xavier <shiningxc at gmail.com>

commit 2f0de317b862e154f0b172da0668b887413cc55f
Author: Dan McGee <dan at archlinux.org>
Date:   Mon Sep 10 19:13:38 2007 -0500

    Make some small changes recommended by splint
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

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

Diffstat:
 contrib/pacsearch                      |    2 +-
 doc/pacman.8                           |    4 -
 etc/abs/Makefile.am                    |    2 +-
 etc/abs/abs.conf                       |    2 +-
 etc/abs/{supfile.arch => supfile.core} |    6 +-
 etc/abs/supfile.testing                |    2 +-
 etc/pacman.conf.in                     |    2 +-
 etc/pacman.d/mirrorlist.in             |    2 +-
 lib/libalpm/add.c                      |    8 +-
 lib/libalpm/alpm.h                     |    6 +-
 lib/libalpm/be_files.c                 |   32 ------
 lib/libalpm/db.c                       |   19 +---
 lib/libalpm/db.h                       |    1 -
 lib/libalpm/deps.c                     |    9 ++-
 lib/libalpm/error.c                    |    5 +
 lib/libalpm/error.h                    |    2 +-
 lib/libalpm/package.c                  |   85 ++++++++------
 lib/libalpm/remove.c                   |    5 +-
 lib/libalpm/trans.c                    |   34 ++++--
 src/pacman/add.c                       |   10 +-
 src/pacman/conf.c                      |   22 ++--
 src/pacman/conf.h                      |    3 +-
 src/pacman/pacman.c                    |   36 +++---
 src/pacman/query.c                     |   49 ++------
 src/pacman/remove.c                    |   10 +-
 src/pacman/sync.c                      |   20 ++--
 src/util/.gitignore                    |    1 +
 src/util/Makefile.am                   |   16 +++-
 src/util/testdb.c                      |  193 ++++++++++++++++++++++++++++++++
 src/util/testpkg.c                     |    6 +-
 30 files changed, 378 insertions(+), 216 deletions(-)

hooks/update
---
Git Source Code Management System
hooks/update refs/heads/master \
  b2501950c7fca0b771fc79054d9592ea79753749 \
  b0aa51059233849b0a7ef8d6a851750776ce6645




More information about the pacman-dev mailing list