[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.3.2-63-g72bc947
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 72bc947cbb8ba752f021f28ec9e9a85c354918e3 (commit) via 3dc87851cc5990d358cf985d8e79dffeb2d91a21 (commit) via 14ab02e289668e30d33c473e00fc43e5dc457644 (commit) via 471b1fa54395f7f16939e213f50aaf76f390553b (commit) via caea098c2191a2d94a28e90bfef958c34473a5a4 (commit) via 35bbc96b99a8f9c8534b20d0ff7a30526b7d957d (commit) via 302310c5aad5ae25a1e712ca6f9de6bef73e17de (commit) via 4828d9ef7c7dc04eb4ad909f9204e909fbaae48f (commit) via 6e312220ec6668d6fc9ef37dbf581ca155511697 (commit) via 3bc8c28ce3b7f06203842abbf8a8c5e0d21886e9 (commit) via 145103aacc57d35579315bfbf7c5607c590af194 (commit) via 35dc9b03149dc2f42022fe5fea80a3aed3207489 (commit) from cf0d619670a4d0c67ad67e22bacbb69c203714f5 (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 72bc947cbb8ba752f021f28ec9e9a85c354918e3 Author: Nagy Gabor <ngaba@bibl.u-szeged.hu> Date: Sat Sep 12 20:50:03 2009 +0200 Fix "-Sd conflict_pkg" bug If the -d switch was invoked with -S (or -U), the removes list was simply lost, because trans->remove was computed in an "if(!(trans->flags & PM_TRANS_FLAG_NODEPS))" block. I've added a new pactest file, sync045.py (derived from sync043.py) to test this. Additionally, I did some other minor cleanups in sync_prepare: * preferred list is not needed anymore * I removed a needless alpm_list_remove_dupes line (the target list should not contain dupes at all) * I moved alpm_list_free(remove); to cleanup part to eliminate a possible memleak Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org> commit 3dc87851cc5990d358cf985d8e79dffeb2d91a21 Author: Xavier Chantry <shiningxc@gmail.com> Date: Sun Oct 11 02:38:33 2009 +0200 alpm_list : add new alpm_list_diff_sorted function This is more efficient than alpm_list_diff since it assumes the two lists are sorted. And also we get the two sides of the diff. Even sorting should more efficient than the current list_diff. Sorting the two lists should be O(n*log(n)+m*log(m)) while the current list_diff is O(n*m). So I also reimplemented list_diff using list_diff_sorted. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> commit 14ab02e289668e30d33c473e00fc43e5dc457644 Author: Xavier Chantry <shiningxc@gmail.com> Date: Sat Oct 10 22:49:24 2009 +0200 Rework the alpm_unpack functions Add support to extract a list of entries Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> commit 471b1fa54395f7f16939e213f50aaf76f390553b Author: Xavier Chantry <shiningxc@gmail.com> Date: Sat Oct 10 23:56:15 2009 +0200 update sync200 pactest update download -> fetch This just meant that we used XferCommand even if internal download was available, no big deal. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> commit caea098c2191a2d94a28e90bfef958c34473a5a4 Author: Xavier Chantry <shiningxc@gmail.com> Date: Sat Sep 26 00:58:42 2009 +0200 cygwin fix : use unsigned char for ctype function See http://www.nabble.com/-PATCH-RFA--Distinguish-between-EOF-and-character-with... cygwin 1.7 actually displays a warning when using signed char with the ctype function, so that compilation fails when using -Wall -Werror. So we just cast all arguments to unsigned char. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> commit 35bbc96b99a8f9c8534b20d0ff7a30526b7d957d Author: Xavier Chantry <shiningxc@gmail.com> Date: Sun Aug 9 20:27:40 2009 +0200 replace rankmirrors by bash clone This removes python optdepends in pacman package This bash clone is a courtesy of Matthew Bruenig <matthewbruenig@gmail.com> Signed-off-by: Xavier Chantry <shiningxc@gmail.com> commit 302310c5aad5ae25a1e712ca6f9de6bef73e17de Author: Dan McGee <dan@archlinux.org> Date: Sun Oct 11 14:19:55 2009 -0500 Minor scope/typing cleanups Signed-off-by: Dan McGee <dan@archlinux.org> commit 4828d9ef7c7dc04eb4ad909f9204e909fbaae48f Author: Dan McGee <dan@archlinux.org> Date: Sun Oct 11 14:15:27 2009 -0500 libalpm: clean up lock function We were doing a lot of manual work; leverage the standard library a bit to do more for us. Signed-off-by: Dan McGee <dan@archlinux.org> commit 6e312220ec6668d6fc9ef37dbf581ca155511697 Author: Dan McGee <dan@archlinux.org> Date: Sun Oct 11 14:09:39 2009 -0500 Reduce calls to list_count() in removing package We don't need to count the number of packages left once per file when removing; we only need to do it once per package. Also move a variable into the correct scope. Signed-off-by: Dan McGee <dan@archlinux.org> commit 3bc8c28ce3b7f06203842abbf8a8c5e0d21886e9 Author: Dan McGee <dan@archlinux.org> Date: Sun Oct 11 14:04:28 2009 -0500 Add missing get_usedelta() method Signed-off-by: Dan McGee <dan@archlinux.org> commit 145103aacc57d35579315bfbf7c5607c590af194 Author: Dan McGee <dan@archlinux.org> Date: Sun Oct 11 14:02:20 2009 -0500 typing: a few more fixes for special int types Signed-off-by: Dan McGee <dan@archlinux.org> commit 35dc9b03149dc2f42022fe5fea80a3aed3207489 Author: Dan McGee <dan@archlinux.org> Date: Sun Oct 11 13:51:47 2009 -0500 int typing: s/unsigned short/int/ in libalpm After our recent screwup with size_t and ssize_t in the download code, I found the `-Wsign-conversion` flag to GCC to see if we were doing anything else boneheaded. I didn't find anything quite as bad, but we did have some goofups- most of our public unsigned methods would return -1 on error, which is a bit odd in an unsigned context. Signed-off-by: Dan McGee <dan@archlinux.org> ----------------------------------------------------------------------- Summary of changes: lib/libalpm/add.c | 2 +- lib/libalpm/alpm.h | 15 ++- lib/libalpm/alpm_list.c | 85 ++++++++++--- lib/libalpm/alpm_list.h | 2 + lib/libalpm/backup.c | 8 +- lib/libalpm/be_files.c | 6 +- lib/libalpm/be_package.c | 7 +- lib/libalpm/db.c | 2 +- lib/libalpm/db.h | 6 +- lib/libalpm/dload.c | 8 +- lib/libalpm/handle.c | 15 ++- lib/libalpm/handle.h | 4 +- lib/libalpm/package.c | 4 +- lib/libalpm/package.h | 4 +- lib/libalpm/remove.c | 8 +- lib/libalpm/sync.c | 27 ++--- lib/libalpm/trans.c | 6 +- lib/libalpm/util.c | 75 ++++++++---- lib/libalpm/util.h | 7 +- pactest/tests/{sync043.py => sync045.py} | 4 +- pactest/tests/sync200.py.in | 2 +- scripts/Makefile.am | 4 +- scripts/rankmirrors.py.in | 191 ---------------------------- scripts/rankmirrors.sh.in | 202 ++++++++++++++++++++++++++++++ src/pacman/pacman.c | 4 +- src/pacman/util.c | 10 +- 26 files changed, 404 insertions(+), 304 deletions(-) copy pactest/tests/{sync043.py => sync045.py} (87%) delete mode 100644 scripts/rankmirrors.py.in create mode 100644 scripts/rankmirrors.sh.in hooks/post-receive -- The official pacman repository
participants (1)
-
dan@archlinux.org