[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.1.4-248-gb4f2cb5

Dan McGee dan at archlinux.org
Sat Jul 19 12:10:01 EDT 2008


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  b4f2cb53ef568534e672a877f3d47f85ca18f2af (commit)
       via  2b73d451274f48f89ae434297399565aca812035 (commit)
       via  a8405847e63c89e5694a84a96bef5023de890024 (commit)
       via  99be5ab8d17ba2de351fff889012e1af85236ae0 (commit)
       via  471ed04790992cd2d1ec6f405f132ce544fcadd2 (commit)
       via  59295081982b33640f4e16589ef281872da540b5 (commit)
       via  03021713e5315312b150e6ac9c5cf48fe68f7615 (commit)
       via  ffa3056010b6ea104a8d772d0349a705575a13ca (commit)
       via  37b5972212f9e5d08b28a47f2990ba2b102056da (commit)
       via  17e9c9d9ff8b10f4fd82ba17ea968e071a273482 (commit)
       via  0bf66b097fc8ccb394cb910764d171476e15d124 (commit)
       via  95995ae93f90faab2f4c9fe59ea95167d20c88de (commit)
       via  874190827676e3a974e8c5fef6c51b9e9d6b60fa (commit)
       via  fd8969f67875ad6854725165b9530f4be26c5d96 (commit)
       via  f724fb27022551e536496f8f99bc4be33b4ce3b7 (commit)
       via  1d9d47d62c8dab07bbd411ed0c1919ad4149cd43 (commit)
      from  b196cc43a50e6fd1dfa9425d7ff8a9302e6fec84 (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 b4f2cb53ef568534e672a877f3d47f85ca18f2af
Author: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date:   Sat Jul 19 16:34:02 2008 +0200

    Rephrase some debug messages in alpm/sync.c
    
    Debug messages were removed from _alpm_sync_find, because it is a general
    purpose function; debug messages should be placed in the caller function.
    
    I inserted "adding package foo-1.0-1 to the transaction targets" debug
    message to find_replacements and sync_sysupgrade.
    
    Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 2b73d451274f48f89ae434297399565aca812035
Author: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date:   Sat Jul 19 15:57:25 2008 +0200

    Use NULL instead of "" as no causingpkg
    
    Our STRDUP macro (used in _alpm_depmiss_new) is NULL safe.
    
    Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit a8405847e63c89e5694a84a96bef5023de890024
Author: Allan McRae <allan at archlinux.org>
Date:   Fri Jul 18 14:20:24 2008 +1000

    Strip *.a libraries in makepkg
    
    Signed-off-by: Allan McRae <allan at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 99be5ab8d17ba2de351fff889012e1af85236ae0
Author: Allan McRae <allan at archlinux.org>
Date:   Fri Jul 18 13:38:34 2008 +1000

    Use LC_ALL=C everywhere
    
    Signed-off-by: Allan McRae <allan at archlinux.org>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 471ed04790992cd2d1ec6f405f132ce544fcadd2
Author: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date:   Wed Jul 16 15:57:08 2008 +0200

    alpm_list_remove treat NULL needle as "nothing"
    
    So if you want to remove NULL needle from a list, alpm_list_remove will
    return with "not found".
    
    Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 59295081982b33640f4e16589ef281872da540b5
Author: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date:   Wed Jul 16 15:27:37 2008 +0200

    Fix a possible segfault in alpm/remove.c
    
    Before removing a package from target list (in remove_prepare_keep_needed),
    we should check whether we have already removed it.
    
    Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 03021713e5315312b150e6ac9c5cf48fe68f7615
Author: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date:   Tue Jul 15 01:07:22 2008 +0200

    _alpm_db_add_pkgincache rework
    
    Commit 8240da6cb3ff95ad480efe3e1876104024398fae broke some alpm hierarchy
    and introduced a new memleak (trans->packages was never freed in case of add
    transaction, even if the transaction wasn't committed), so it is reverted
    now.
    
    We follow a different approach to reduce memory usage:
    _alpm_db_add_pkgincache doesn't duplicate the whole package before adding
    it to the cache, only the package name and version (INFRQ_BASE).
    This method needs very small extra memory (compared to the reverted method),
    and after transaction commit we use less memory than before (since the
    big 'files' fields are not copied to cache), this is useful in GUIs.
    
    Note: The old add_pkgincache was a bit broken, since pkg->origin wasn't
    filled in correctly.
    
    Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
    Acked-by: Xavier Chantry <shiningxc at gmail.com>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit ffa3056010b6ea104a8d772d0349a705575a13ca
Author: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date:   Tue Jul 8 10:57:57 2008 +0200

    Use "pacman -S $dep" in makepkg's dependency resolving
    
    This method is equivalent with pacman's resolvedeps.
    $dep can be any (versioned) dependency.
    
    Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 37b5972212f9e5d08b28a47f2990ba2b102056da
Author: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date:   Tue Jul 15 13:30:34 2008 +0200

    Fix some memleaks in alpm/add.c
    
    In case of error some allocated memory wasn't freed in commit_single_pkg.
    Note: The return value of this function is not used.
    
    Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 17e9c9d9ff8b10f4fd82ba17ea968e071a273482
Author: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date:   Tue Jul 15 12:36:10 2008 +0200

    Fix a wrong FREELIST usage in add.c
    
    The dynamic pmconflict_t must be freed with _alpm_conflict_free.
    
    Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 0bf66b097fc8ccb394cb910764d171476e15d124
Author: Dan McGee <dan at archlinux.org>
Date:   Tue Jul 15 19:09:15 2008 -0500

    makepkg: speed up svn revision check for large repositories
    
    Using the suggestion from FS#10905, use 'svn info' rather than 'svn log' to
    get the current revision number, which is much quicker for large Subversion
    repositories. Eventually git will rule the world. :)
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 95995ae93f90faab2f4c9fe59ea95167d20c88de
Author: Dan McGee <dan at archlinux.org>
Date:   Tue Jul 15 19:05:24 2008 -0500

    Remove pacman.static build from build files
    
    This presents plenty of problems on OSes besides Linux, and even on Linux
    when the libtool file for libarchive isn't present. The static build isn't
    all that useful anyway as missing something such as glibc will still leave
    you unable to run the pacman.static binary. Remove it from the formal build
    process.
    
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 874190827676e3a974e8c5fef6c51b9e9d6b60fa
Author: Xavier Chantry <shiningxc at gmail.com>
Date:   Sun Jun 15 13:19:58 2008 +0200

    src/pacman/sync.c : Display only errors with -Sp and -Sw operations.
    
    In particular, this avoids warnings cluttering the output of these
    operations.
    
    Signed-off-by: Xavier Chantry <shiningxc at gmail.com>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit fd8969f67875ad6854725165b9530f4be26c5d96
Author: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date:   Tue Jul 8 10:07:05 2008 +0200

    sync_addtarget rework
    
    Now '-S provision' handling is done in the back-end.
    
    In case of multiple providers, the first one is selected (behavior change:
    deleted provision002.py). The old processing order was: literal, group,
    provision; the new one: literal, provision, group. This is more rational,
    but "pacman -S group" will be slower now. "pacman -S repo/provision" also
    works. Provision was generalized to dependencies, so you can resolve deps by
    hand: "pacman -S 'bash>2.0'" or "pacman -S 'core/bash>2.0'" etc. This can be
    useful in makepkg dependency resolving. The changes were documented in
    pacman manual.
    
    alpm_find_pkg_satisfiers and _alpm_find_dep_satisfiers functions were
    removed, since they are no longer needed.
    
    I added some verbosity to "select provider instead of literal" and
    "fallback to group".
    
    Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit f724fb27022551e536496f8f99bc4be33b4ce3b7
Author: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date:   Tue Jul 8 10:17:19 2008 +0200

    remove_addtarget rework (in front-end)
    
    Now "pacman -R foo" first searches for literal, and then for group.
    This is faster in most cases, see:
    http://www.archlinux.org/pipermail/pacman-dev/2008-July/012311.html
    
    "-R group" implementation was broken, since alpm_grp_get_pkgs returns with
    an pmpkg_t list, not a string list.
    
    Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
    Signed-off-by: Dan McGee <dan at archlinux.org>

commit 1d9d47d62c8dab07bbd411ed0c1919ad4149cd43
Author: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date:   Tue Jul 8 10:30:28 2008 +0200

    New remove060.py pactest
    
    This is a group removal test.
    
    Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
    Signed-off-by: Dan McGee <dan at archlinux.org>

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

Summary of changes:
 configure.ac                  |   16 -------
 doc/pacman.8.txt              |    4 +-
 lib/libalpm/add.c             |   23 +++++++----
 lib/libalpm/alpm.h            |    1 -
 lib/libalpm/alpm_list.c       |    4 ++
 lib/libalpm/cache.c           |   22 +++++++++-
 lib/libalpm/deps.c            |   30 +------------
 lib/libalpm/deps.h            |    1 -
 lib/libalpm/remove.c          |    3 +
 lib/libalpm/sync.c            |   79 ++++++++++++++---------------------
 lib/libalpm/trans.c           |    3 +-
 pactest/tests/provision002.py |   15 -------
 pactest/tests/remove060.py    |   19 ++++++++
 scripts/makepkg.sh.in         |   17 +++----
 src/pacman/.gitignore         |    2 -
 src/pacman/Makefile.am        |    7 ---
 src/pacman/remove.c           |   92 ++++++++++++++++++++--------------------
 src/pacman/sync.c             |   45 ++++----------------
 18 files changed, 161 insertions(+), 222 deletions(-)
 delete mode 100644 pactest/tests/provision002.py
 create mode 100644 pactest/tests/remove060.py


hooks/post-receive
--
The official pacman repository




More information about the pacman-dev mailing list