[pacman-dev] [GIT] The official pacman repository branch, maint, updated. v4.0.1-42-gedd4276
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, maint has been updated via edd4276bbf3d21a7353e3d67ce6639246ef8032d (commit) via df47136bcfd3fdec150fc8613f3fe243432d875f (commit) via de56874cc9cdbfa96dd6360818ee6f21da3e1c86 (commit) via 1eb40c83287b07ac7428ad2d58504f386fad98f1 (commit) via 562109c0e8717eaac3b9078271c4ca4f82abfecd (commit) via 1b50223f8240456b8c989b5c1e016f4a245b527c (commit) via c77cec2ffc850fa28c5720b8902acc5421069ae4 (commit) via c231c9af9712e95e58f660d46bd8feaf6fd891e2 (commit) via 24ca6ce1f969a6f5d3ef9277f6d20efcd76330ec (commit) via 430b0df7794815049f37f38df39c71e1a9e9c157 (commit) via d9af1a0cf2383eed009ed2bedfb1b34f1a5c7418 (commit) via 4e60b9646d69227c6c9f226bf03a12158feaaee7 (commit) via b426488e2b1cf4e464f7f56dbcf2629a3a73a54a (commit) via 7b1a86b8939f59693f8bb0ea0454a702d5e2434e (commit) via be229d129eeb43e774217921e1c7e1bb802775fe (commit) via e8a2c2545608c556cb65d96e7015a1d09d8b3890 (commit) via b6209b4ba495dd4379806b72735dac78b8843c03 (commit) from 73d0d743bda5367fcab2453bbe21c15e481150c2 (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 edd4276bbf3d21a7353e3d67ce6639246ef8032d Author: Allan McRae <allan@archlinux.org> Date: Fri Jan 20 23:25:57 2012 +1000 makepkg: restrict usage of flags passed to pacman With pacman-4.0, using --noconfirm or --noprogressbar with -Q or -T results in pacman reporting an "invalid option" error. Restrict the passing of these options to pacman. Fixes FS#28012. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit df47136bcfd3fdec150fc8613f3fe243432d875f Author: Allan McRae <allan@archlinux.org> Date: Fri Jan 20 23:20:52 2012 +1000 makepkg: fix error on unnecessary -r The grep statement used to check for a difference between the installed package list before and after resolving dependencies returns 1 if there is no difference. This sets of the error trap when "-r" is used "unnecessarily". Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit de56874cc9cdbfa96dd6360818ee6f21da3e1c86 Author: Dan McGee <dan@archlinux.org> Date: Thu Jan 19 16:23:57 2012 -0600 contrib/bash_completion: don't print stderr messages If you are a crazy developer like me and have bogus options in your pacman.conf file, the tab completion gets messed up by the output on stderr. Suppress it. Fix the same basic issue in zsh_completion, thanks to the work by Florian Pritz <bluewind@xinu.at>. Signed-off-by: Dan McGee <dan@archlinux.org> commit 1eb40c83287b07ac7428ad2d58504f386fad98f1 Author: Dan McGee <dan@archlinux.org> Date: Thu Jan 19 16:21:06 2012 -0600 Add diskspace checking support for Solaris/Illumos Was able to get my hands on one of these boxes today, so add yet another new way of doing this. I'm glad these calls are so standardized. This was compile tested on Linux and Illumos and seems to still be working in both places. Signed-off-by: Dan McGee <dan@archlinux.org> commit 562109c0e8717eaac3b9078271c4ca4f82abfecd Author: Dan McGee <dan@archlinux.org> Date: Wed Jan 18 22:25:27 2012 -0600 Update copyright on changed files since beginning of year Signed-off-by: Dan McGee <dan@archlinux.org> commit 1b50223f8240456b8c989b5c1e016f4a245b527c Author: Olivier Brunel <i.am.jack.mail@gmail.com> Date: Mon Jan 9 21:37:31 2012 +0100 util.c, rmrf(): only create string when needed The entry's name is only used when not "." or ".." so only print the string then. Signed-off-by: Olivier Brunel <i.am.jack.mail@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> commit c77cec2ffc850fa28c5720b8902acc5421069ae4 Author: Allan McRae <allan@archlinux.org> Date: Thu Jan 19 11:29:36 2012 +1000 Fix missing [removal] output Currently, a transaction is considered to be purely package removal until the first package install is found. This resulted in the removed packages at the start of a combined upgrade/removal transaction not getting the "[removal]" output. Fixes FS#27981. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit c231c9af9712e95e58f660d46bd8feaf6fd891e2 Author: canyonknight <canyonknight@gmail.com> Date: Mon Jan 16 19:12:41 2012 -0500 Improve exit statuses and error messages in pacman-key Return codes from gpg commands are currently lost. This adds the functionality of taking non-zero exit statuses from gpg. This includes error reporting for all gpg commands that are run individually, run in a loop, and run through a pipe. Includes the check_keyids_exist function which verifies a key exists locally prior to attempted local manipulation of the key. If a gpg command has a non-zero status, pacman-key will now exit with a non-zero status. It will print a gettext error message of gpg's failure. Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit 24ca6ce1f969a6f5d3ef9277f6d20efcd76330ec Author: canyonknight <canyonknight@gmail.com> Date: Mon Jan 16 19:09:56 2012 -0500 Turn gpg commands into functions in pacman-key Adds functions for every gpg command. By pulling out the gpg commands from the "program start" section, additional commands can be run before or after a specific gpg command without adding additional clutter to the function call section. Adds an explicit exit status of 0 to prevent arithmetic expansions from returning non-zero, thereby falsely causing pacman-key to have a non-zero exit status. This change creates the framework for additional error messages and better exit statuses being added to every pacman-key gpg call. Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit 430b0df7794815049f37f38df39c71e1a9e9c157 Author: Dan McGee <dan@archlinux.org> Date: Thu Jan 12 09:32:19 2012 -0600 repo-add: clean up help messages Use consistent blank lines across all commands, get rid of the translated double newlines which only serve to confuse translators, and fix -h/--help for that extra special third command this script offers. Signed-off-by: Dan McGee <dan@archlinux.org> commit d9af1a0cf2383eed009ed2bedfb1b34f1a5c7418 Author: Olivier Brunel <i.am.jack.mail@gmail.com> Date: Thu Jan 12 16:08:48 2012 +0100 Fix broken output when asking question and stdin is piped When asking question and stdin is piped, the response does not get printed out, resulting in a missing \n and broken output (FS#27909); printing the response fixes it. Signed-off-by: Olivier Brunel <i.am.jack.mail@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> commit 4e60b9646d69227c6c9f226bf03a12158feaaee7 Author: Dave Reisner <dreisner@archlinux.org> Date: Sat Jan 14 15:27:48 2012 -0500 fetch_url: look for files in cache before downloading We lost this logic somewhere between the libfetch and libcurl transition, as it existed in the internal downloader, but was pulled back only into the sync workflow. Add a helper function that will let us check for existance in the filecache prior to calling the downloader. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit b426488e2b1cf4e464f7f56dbcf2629a3a73a54a Author: Dan McGee <dan@archlinux.org> Date: Wed Jan 18 15:32:48 2012 -0600 Use isdigit() rather than character range comparisons This is safer and guaranteed to work with even exotic character sets. Signed-off-by: Dan McGee <dan@archlinux.org> commit 7b1a86b8939f59693f8bb0ea0454a702d5e2434e Author: Dan McGee <dan@archlinux.org> Date: Wed Jan 18 15:32:34 2012 -0600 Remove unused strtoupper() function Signed-off-by: Dan McGee <dan@archlinux.org> commit be229d129eeb43e774217921e1c7e1bb802775fe Author: Dan McGee <dan@archlinux.org> Date: Wed Jan 18 12:12:39 2012 -0600 Don't remove unknown files in cache cleaning code This removes the hack I added to skip '*.sig' files earlier since there are other files that also fall into the same bucket- source packages from `makepkg --source`, delta files, etc. Rather than prompting for each and every one, simply skip them. Doing '-Scc' rather than '-Sc' will delete these files if that is really what you want to do. Signed-off-by: Dan McGee <dan@archlinux.org> commit e8a2c2545608c556cb65d96e7015a1d09d8b3890 Author: Dan McGee <dan@archlinux.org> Date: Thu Jan 12 17:29:14 2012 -0600 doc/vercmp: add note about pkgrel handling This comes from the Doxygen function documentation. Also, fix two rather silly misspellings. Signed-off-by: Dan McGee <dan@archlinux.org> commit b6209b4ba495dd4379806b72735dac78b8843c03 Author: Dan McGee <dan@archlinux.org> Date: Thu Jan 12 07:47:29 2012 -0600 Use fileno() in isatty() call This was our only use of the function that had a hardcoded file descriptor. Signed-off-by: Dan McGee <dan@archlinux.org> ----------------------------------------------------------------------- Summary of changes: configure.ac | 3 +- contrib/bash_completion.in | 4 +- contrib/zsh_completion.in | 2 +- doc/pacman.8.txt | 2 +- doc/vercmp.8.txt | 9 ++- lib/libalpm/diskspace.c | 54 ++++++++++++- lib/libalpm/dload.c | 94 +++++++++++++++-------- lib/libalpm/remove.c | 2 +- lib/libalpm/signing.c | 2 +- lib/libalpm/util.c | 10 +- scripts/makepkg.sh.in | 17 +++-- scripts/pacman-key.sh.in | 174 ++++++++++++++++++++++++++++++++++++-------- scripts/repo-add.sh.in | 24 ++++-- src/pacman/pacman.c | 4 +- src/pacman/sync.c | 34 +++------ src/pacman/util.c | 33 ++++----- src/pacman/util.h | 3 +- 17 files changed, 330 insertions(+), 141 deletions(-) hooks/post-receive -- The official pacman repository
participants (1)
-
dan@archlinux.org