[pacman-dev] [GIT] The official pacman repository branch, master, updated. v4.0.0rc1-57-gc28052e
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 c28052e45b94437d8c476c648ad6c9f9b8c04f36 (commit) via 2a466c2abc94ce835efac94510659af006bd4330 (commit) via 6cfc4757b98e813428d261dbc185e20618ca83a6 (commit) via 3752edbff48fc472c5944f05f665adb000a521d9 (commit) via d008a816f1125ca44f0b2165b38220047860ecb0 (commit) via 78b63ce7c30f4a20707bce61eeaef913b513f557 (commit) via 231d6cc1e4083e5e49063b22fe6e5b0318b85328 (commit) via 5d291d050ebd714851c6bd85efd49a03d88414f0 (commit) via c4bd476ad13e142fe8323fe74d84b3950b53da17 (commit) via c885a953eb888004f0302ed3eceafef93e2f072f (commit) via 4a7f3bbc469d1f6a8da1c7f310ab518ad841c2b9 (commit) via d18e600952015378c9ba79661597f1c01046f436 (commit) via 0745288c1441c73a0c6ce4279823d8363bcdc62f (commit) from 9f139550f815e2970b8929094e50acfd8b4cc2b7 (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 c28052e45b94437d8c476c648ad6c9f9b8c04f36 Author: Allan McRae <allan@archlinux.org> Date: Thu Aug 18 23:01:29 2011 +1000 makepkg: deal with variable substitution when checking sanity If any of pkgver, pkgrel or epoch contained a variable substitution, then it needed to be evaluated before checking its value conformed to the rules. [Dan: add quotes around RHS] Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit 2a466c2abc94ce835efac94510659af006bd4330 Author: Dan McGee <dan@archlinux.org> Date: Thu Aug 18 00:40:28 2011 -0500 doc/PKGBUILD: update regarding versioned package fields Add the info that versioned replaces are now supported, as well as beefing up some of the other places touching on versioned fields. Signed-off-by: Dan McGee <dan@archlinux.org> commit 6cfc4757b98e813428d261dbc185e20618ca83a6 Author: Dan McGee <dan@archlinux.org> Date: Thu Aug 18 00:24:41 2011 -0500 Convert resolvedep() to use _alpm_depcmp_literal() The whole first loop is trying to check literals only, so teach it to do so. Also, reorder operations to make more sense by putting the strcmp() first in the literal loop, and using a very cheap name_hash check first in the second loop. Signed-off-by: Dan McGee <dan@archlinux.org> commit 3752edbff48fc472c5944f05f665adb000a521d9 Author: Dan McGee <dan@archlinux.org> Date: Thu Aug 18 00:23:06 2011 -0500 Fix replacement of provider issue When we switched to using alpm_depcmp() in resolving replacments, we had some interesting behavior with regard to providers and packages not found in repositories. Teach the replacement resolving code to not look at provisions at all to be slightly more sane. Signed-off-by: Dan McGee <dan@archlinux.org> commit d008a816f1125ca44f0b2165b38220047860ecb0 Author: Dan McGee <dan@archlinux.org> Date: Thu Aug 18 00:11:19 2011 -0500 Add an _alpm_depcmp_literal() function This omits the finding of matching provisions and only checks the package itself against the provided dep. Signed-off-by: Dan McGee <dan@archlinux.org> commit 78b63ce7c30f4a20707bce61eeaef913b513f557 Author: Dan McGee <dan@archlinux.org> Date: Wed Aug 17 23:52:28 2011 -0500 Replacements refactor: extract check_replacers() This moves code that was inline in alpm_sync_sysupgrade() to its own method. Signed-off-by: Dan McGee <dan@archlinux.org> commit 231d6cc1e4083e5e49063b22fe6e5b0318b85328 Author: Dan McGee <dan@archlinux.org> Date: Wed Aug 17 23:39:41 2011 -0500 Replacements refactor: extract check_literal() This moves code that was inline in alpm_sync_sysupgrade() to its own method. Signed-off-by: Dan McGee <dan@archlinux.org> commit 5d291d050ebd714851c6bd85efd49a03d88414f0 Author: Dan McGee <dan@archlinux.org> Date: Thu Aug 18 00:28:53 2011 -0500 Remove usages of alpm_list_next() in backend Another function call that can be replaced by a single pointer dereference. Signed-off-by: Dan McGee <dan@archlinux.org> commit c4bd476ad13e142fe8323fe74d84b3950b53da17 Author: Dan McGee <dan@archlinux.org> Date: Wed Aug 17 23:25:19 2011 -0500 Remove use of no-op accessor functions in library The functions alpm_db_get_name(), alpm_pkg_get_name(), and alpm_pkg_get_version() are not necessary at all, so remove the calling and indirection when used in the backend, which makes things slightly more efficient and reduces code size. Signed-off-by: Dan McGee <dan@archlinux.org> commit c885a953eb888004f0302ed3eceafef93e2f072f Author: Dan McGee <dan@archlinux.org> Date: Wed Aug 17 21:06:04 2011 -0500 Enhance and utilize database status flags * Move is_local standalone field to status enum * Create VALID/INVALID flag pair * Create EXISTS/MISSING flag pair With these additional fields, we can be more intelligent with database loading and messages to the user. We now only warn once if a sync database does not exist and do not continue to try to load it once we have marked it as missing. The reason for the flags existing in pairs is so the unknown case can be represented. There should never be a time when both flags in the same group are true, but if they are both false, it represents the unknown case. Care is taken to always manipulate both flags at the same time. Signed-off-by: Dan McGee <dan@archlinux.org> commit 4a7f3bbc469d1f6a8da1c7f310ab518ad841c2b9 Author: Sebastien Luttringer <seblu@seblu.net> Date: Thu Aug 18 12:46:19 2011 +0200 Add makepkg -S which is an alias to makepkg --source makepkg --source is a often used go make source package like for AUR. Have a -S shortcut will save the world. Signed-off-by: Sebastien Luttringer <seblu@seblu.net> Signed-off-by: Dan McGee <dan@archlinux.org> commit d18e600952015378c9ba79661597f1c01046f436 Author: Lukas Fleischer <archlinux@cryptocrack.de> Date: Thu Aug 18 09:42:20 2011 +0200 lib/libalpm/dload.c: Use STRDUP() instead of strdup() Use the STRDUP macro instead of strdup() for the sake of better error handling on memory allocation failures. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Dan McGee <dan@archlinux.org> commit 0745288c1441c73a0c6ce4279823d8363bcdc62f Author: Lukas Fleischer <archlinux@cryptocrack.de> Date: Thu Aug 18 09:42:21 2011 +0200 lib/libalpm/dload.c: Add ASSERT() to alpm_fetch_pkgurl() Return with ALPM_ERR_WRONG_ARGS instead of causing a potential segfault if alpm_fetch_pkgurl() is invoked with a NULL URL. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Dan McGee <dan@archlinux.org> ----------------------------------------------------------------------- Summary of changes: contrib/bash_completion.in | 2 +- doc/PKGBUILD.5.txt | 21 ++-- doc/makepkg.8.txt | 14 ++-- lib/libalpm/add.c | 34 +++---- lib/libalpm/be_local.c | 25 ++++- lib/libalpm/be_sync.c | 48 ++++++--- lib/libalpm/conflict.c | 5 +- lib/libalpm/db.c | 16 ++- lib/libalpm/db.h | 18 ++-- lib/libalpm/deps.c | 40 ++++--- lib/libalpm/deps.h | 1 + lib/libalpm/diskspace.c | 6 +- lib/libalpm/dload.c | 9 +- lib/libalpm/package.c | 21 ++-- lib/libalpm/remove.c | 6 +- lib/libalpm/sync.c | 224 ++++++++++++++++++++++----------------- lib/libalpm/trans.c | 4 +- lib/libalpm/util.c | 4 +- scripts/makepkg.sh.in | 9 +- test/pacman/tests/replace103.py | 2 - 20 files changed, 299 insertions(+), 210 deletions(-) hooks/post-receive -- The official pacman repository
participants (1)
-
dan@archlinux.org