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 cf1401a04d5179c89af6460b812e171cc2da19f0 (commit) via 23a2d2c16a87dc8744b8307bded9fabb503dde13 (commit) via 68284da0d72bf27ac3dc5cfc1cd02d16f824130c (commit) via 6633b8e5c290dbb1b0382f3f960e1f7134247a68 (commit) via 98a2fc8deba6be37729c26cf68e9927f6466c95e (commit) via 35ffe6af2d8d38849a7711a4c6add3d14490816c (commit) via 0ed848a9ea7a543192cef1ca78695a9046ee4e98 (commit) via 13235ba65ab55d852dbdc0acabdc047442e74e28 (commit) via b94e8ecd1fec4426baab8c90e7fc0d5583acdbef (commit) from 9efd10cd2ac9a7654b2c7c94df86bf09ab54f41a (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 cf1401a04d5179c89af6460b812e171cc2da19f0 Author: Dan McGee <dan@archlinux.org> Date: Fri Apr 29 18:25:44 2011 -0500 signing: check validity of all available signatures Change the check into a loop over all signatures present and returned by GPGME. Also modify the return values and checks slightly now that I know a little bit more about what type of values are returned. Signed-off-by: Dan McGee <dan@archlinux.org> commit 23a2d2c16a87dc8744b8307bded9fabb503dde13 Author: Dan McGee <dan@archlinux.org> Date: Fri Jun 24 15:41:56 2011 -0500 Make alpm_db_get_sigverify_level() public Signed-off-by: Dan McGee <dan@archlinux.org> commit 68284da0d72bf27ac3dc5cfc1cd02d16f824130c Author: Dan McGee <dan@archlinux.org> Date: Tue Jun 7 23:05:21 2011 -0500 Add an alpm_db_get_valid() public function This allows one to check if a database is valid or invalid. Signed-off-by: Dan McGee <dan@archlinux.org> commit 6633b8e5c290dbb1b0382f3f960e1f7134247a68 Author: Dave Reisner <dreisner@archlinux.org> Date: Sat Jun 25 16:45:01 2011 -0400 move proto files to new subdirectory, proto/ Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit 98a2fc8deba6be37729c26cf68e9927f6466c95e Author: Dave Reisner <dreisner@archlinux.org> Date: Thu Jun 30 10:49:55 2011 -0400 pacman: return with 128+signum on signaled exit This is a convention that is widely followed in *nix and posix-ish environments. We should follow it, too. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit 35ffe6af2d8d38849a7711a4c6add3d14490816c Author: Dan McGee <dan@archlinux.org> Date: Thu Jun 30 12:02:33 2011 -0500 pactest: remove no longer necessary newline hacks libalpm can now cope with this as of commit 719e0d3ddb300. Signed-off-by: Dan McGee <dan@archlinux.org> commit 0ed848a9ea7a543192cef1ca78695a9046ee4e98 Author: Dan McGee <dan@archlinux.org> Date: Thu Jun 23 21:35:32 2011 -0500 pactest: create packages in memory This is similar to what was just done for the sync databases. Move a few pieces around so we never need to actually write out the filesystem to create a package, and simply stream the tarfile out from the data we've collected. Once again, a few newline addition hacks and other things have to be left in place in order not to break everything; this time however most of the assumptions are in pactest and not libalpm. Signed-off-by: Dan McGee <dan@archlinux.org> commit 13235ba65ab55d852dbdc0acabdc047442e74e28 Author: Dan McGee <dan@archlinux.org> Date: Tue Jun 28 22:02:58 2011 -0500 Make local_db_read() private to the local backend There is little need to expose the guts of this function even within the library. Make it static in be_local.c, and clean up a few other things since we know exactly where it is being called from: * Remove unnecessary origin checks in _cache_get_*() methods- if you are calling a cache method your package type will be correct. * Remove sanity checks within local_db_read() itself- packages will always have a name and version if they get this far, and the package object will never be NULL either. The one case calling this from outside the backend was in add.c, where we forced a full load of a package before we duplicated it. Move this concern elsewhere and have pkg_dup() always force a full package load via a new force_load() function on the operations callback struct. Signed-off-by: Dan McGee <dan@archlinux.org> commit b94e8ecd1fec4426baab8c90e7fc0d5583acdbef Author: Dan McGee <dan@archlinux.org> Date: Tue Jun 28 17:46:04 2011 -0500 Fix a few warnings pointed out via clang scan-build Some of these are legit (the backup hash NULL checks), while others are either extemely unlikely or just impossible for the static code analysis to prove, but are worth adding anyway because they have little overhead. Signed-off-by: Dan McGee <dan@archlinux.org> ----------------------------------------------------------------------- Summary of changes: Makefile.am | 6 +- lib/libalpm/add.c | 26 +++---- lib/libalpm/alpm.h | 16 ++++ lib/libalpm/backup.c | 2 +- lib/libalpm/be_local.c | 46 +++++------- lib/libalpm/be_sync.c | 5 +- lib/libalpm/conflict.c | 2 +- lib/libalpm/db.c | 19 +++++ lib/libalpm/db.h | 2 +- lib/libalpm/dload.c | 2 +- lib/libalpm/package.c | 8 ++ lib/libalpm/package.h | 2 + lib/libalpm/signing.c | 72 +++++++----------- lib/libalpm/signing.h | 1 - lib/libalpm/sync.c | 2 +- ChangeLog.proto => proto/ChangeLog.proto | 0 PKGBUILD-split.proto => proto/PKGBUILD-split.proto | 0 PKGBUILD.proto => proto/PKGBUILD.proto | 0 proto.install => proto/proto.install | 0 src/pacman/pacman.c | 9 ++- test/pacman/pmdb.py | 9 +- test/pacman/pmpkg.py | 56 +++++++++----- test/pacman/pmtest.py | 9 +-- test/pacman/util.py | 80 ++++++++++++-------- 24 files changed, 213 insertions(+), 161 deletions(-) rename ChangeLog.proto => proto/ChangeLog.proto (100%) rename PKGBUILD-split.proto => proto/PKGBUILD-split.proto (100%) rename PKGBUILD.proto => proto/PKGBUILD.proto (100%) rename proto.install => proto/proto.install (100%) hooks/post-receive -- The official pacman repository