[pacman-dev] [GIT] The official pacman repository branch, master, updated. v4.0.0-48-g90ddcbe
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 90ddcbe71d483884b7627237121b1dee05b07dd0 (commit) via 33bb7dbd356bd1164a1bd6418c0615808fae13f7 (commit) via 32327dc8c9679232ae55935615088c0696f49e86 (commit) via 89edea326bd3d2f4d6feab441d2da961c715dbc0 (commit) via d72487cc009f823e7a5600e018103679a947242c (commit) via 0b155677cf127a2cd765f05125df727bb659b597 (commit) via d6e3446e70bcda9c0f28d80110d588106daa4b5c (commit) via 6f2faf16bac6976423124b77b0b134ebcfae6822 (commit) via 20a47aba8ec859e920bf965ab7da74c26a44339d (commit) via 9e9ecf218344cea86d6b8c6cf7cd246bcfcca98b (commit) via 45f86ca1ca712857e6f84288cf818ce5707fc345 (commit) via e47eb9a7776f529a2c30936c468a5ee0601cfa47 (commit) via 4bada454643e6d91f0b53415bc8d135bc7f578b5 (commit) via bac670ddc9a9dcad2f0665f9f77d04b6736c6db4 (commit) via b633985e609dcd0cd898a3d4d7a59241ccf52084 (commit) via 758d3403cd1221ec89ac3a56183974da6a96dc10 (commit) via 6e29f02e94022e141eced2e0cdcb5b85894317ad (commit) via 842c4422eda231892d4bce75d8e315eb652533b6 (commit) via ae25167bcd592186749b79ea31b10fb78ed9fb2d (commit) via bf84dc4cf1b925cc3ac1fb3185efc50a21802ba4 (commit) from a33424f87955c43652a61fcef5817df07e17bee3 (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 90ddcbe71d483884b7627237121b1dee05b07dd0 Merge: 33bb7db d6e3446 Author: Dan McGee <dan@archlinux.org> Date: Fri Oct 21 19:29:47 2011 -0500 Merge branch 'maint' Conflicts: src/pacman/package.c Signed-off-by: Dan McGee <dan@archlinux.org> commit 33bb7dbd356bd1164a1bd6418c0615808fae13f7 Author: Dan McGee <dan@archlinux.org> Date: Fri Oct 21 11:41:15 2011 -0500 Hide empty columns in table package list display On -R operations, the "New Version" column is always empty, taking up space and not really showing the user anything valuable. The same is true on -S or -U operations for the "Old Version" column when packages are only being installed and not upgraded. Remove this column so we get a few screen columns back, especially now that we show repo/packagename style output. This also makes some adjustment to the padding logic. We no longer include padding in column widths but it is included in the total table width. We also ensure the last displayed column is always right aligned, even if this is not the actual rightmost column. Example output, before: $ sudo pacman -R eclipse checking dependencies... Targets (1): Name Old Version New Version Net Change eclipse 3.7-1 -194.02 MiB Total Removed Size: 194.02 MiB And after: $ sudo pacman -R eclipse checking dependencies... Targets (1): Name Old Version Net Change eclipse 3.7-1 -194.02 MiB Total Removed Size: 194.02 MiB Signed-off-by: Dan McGee <dan@archlinux.org> commit 32327dc8c9679232ae55935615088c0696f49e86 Author: Dave Reisner <dreisner@archlinux.org> Date: Sun Oct 16 16:42:25 2011 -0400 pacman: show repo name in download prompt This only applies to the VerbosePkgLists option. Lessens the deficiencies created by earlier work to separate download records by repository. Satisfies FS#26334. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit 89edea326bd3d2f4d6feab441d2da961c715dbc0 Author: Dave Reisner <dreisner@archlinux.org> Date: Sat Oct 15 22:17:32 2011 -0400 sync: move file download loop out of download_files Create a new static function called 'download_single_file' which iterates over the servers for each payload. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit d72487cc009f823e7a5600e018103679a947242c Author: Dave Reisner <dreisner@archlinux.org> Date: Fri Oct 14 22:43:14 2011 -0400 sync: check for necessary disk space for download Signed-off-by: Dave Reisner <dreisner@archlinux.org> commit 0b155677cf127a2cd765f05125df727bb659b597 Author: Dan McGee <dan@archlinux.org> Date: Fri Oct 21 11:19:45 2011 -0500 sync: extract build_payload() method from find_dl_candidates This is done by both the delta and regular file code, so we can extract a little helper method. Done mostly to satisfy my "why are we repeating code here" itch. Signed-off-by: Dan McGee <dan@archlinux.org> commit 6f2faf16bac6976423124b77b0b134ebcfae6822 Author: Dave Reisner <dreisner@archlinux.org> Date: Fri Oct 14 19:59:04 2011 -0400 sync: dont group sync records by repository Break out the logic of finding payloads into a separate static function to avoid nesting mayhem. After gathering all the records, download them all at once. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit e47eb9a7776f529a2c30936c468a5ee0601cfa47 Author: Dan McGee <dan@archlinux.org> Date: Mon Oct 17 12:03:02 2011 -0500 base64: don't compile base64_encode() function We don't use this anywhere; "comment" it out so we still remain relatively close to the upstream sources. Signed-off-by: Dan McGee <dan@archlinux.org> commit b633985e609dcd0cd898a3d4d7a59241ccf52084 Author: Dave Reisner <dreisner@archlinux.org> Date: Fri Oct 14 19:49:53 2011 -0400 dload: add pointer to server list for each payload Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit 758d3403cd1221ec89ac3a56183974da6a96dc10 Author: Dave Reisner <dreisner@archlinux.org> Date: Sun Oct 16 16:00:35 2011 -0400 diskspace: create static function mount_point_list_free This logic is reused in both diskspace and downloadspace check functions, so pull it out into its own static method. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit 6e29f02e94022e141eced2e0cdcb5b85894317ad Author: Dave Reisner <dreisner@archlinux.org> Date: Wed Sep 7 22:48:00 2011 -0400 diskspace: add _alpm_check_downloadspace() This function determines if the given cachedir has at least the given amount of free space on it. This will be later used in the sync code to preemptively halt downloads. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org> commit ae25167bcd592186749b79ea31b10fb78ed9fb2d Author: Dan McGee <dan@archlinux.org> Date: Fri Oct 14 14:50:58 2011 -0500 Large performance improvement for check for owned directories We can take a large shortcut here that saves us a lot of time, especially when upgrading packages with lots of directories. Obviously iterating the full file list of every single package to determine if this directory was present in any other package can take quite some time on a system with many packages installed. We don't need to remove a directory at all if we are upgrading a package and the version we are moving to still had the directory. Also make a small optimization on the package comparsion- we really only care about equality here, not the result of the compare, so we can shortcut using our name_hash. What kind of benefit does this give us? Oh, only a reduction from 295.7 million to 1.4 million strcmp() calls (99.5% fewer) during a `pacman -S linux libreoffice-common` operation. Signed-off-by: Dan McGee <dan@archlinux.org> commit bf84dc4cf1b925cc3ac1fb3185efc50a21802ba4 Author: Dan McGee <dan@archlinux.org> Date: Fri Oct 14 14:50:27 2011 -0500 Make _alpm_filelist_contains() NULL-safe Signed-off-by: Dan McGee <dan@archlinux.org> ----------------------------------------------------------------------- Summary of changes: contrib/bacman.in | 2 +- lib/libalpm/base64.c | 2 + lib/libalpm/base64.h | 2 + lib/libalpm/conflict.c | 10 ++- lib/libalpm/diskspace.c | 62 ++++++++++++++- lib/libalpm/diskspace.h | 2 + lib/libalpm/dload.h | 1 + lib/libalpm/remove.c | 16 +++- lib/libalpm/signing.c | 4 +- lib/libalpm/sync.c | 187 ++++++++++++++++++++++++++++------------------ scripts/pacman-key.sh.in | 1 + src/pacman/callback.c | 2 +- src/pacman/conf.c | 2 +- src/pacman/package.c | 4 +- src/pacman/query.c | 28 ++++---- src/pacman/remove.c | 10 +- src/pacman/sync.c | 32 ++++---- src/pacman/upgrade.c | 6 +- src/pacman/util.c | 133 +++++++++++++++++++++----------- src/pacman/util.h | 2 +- 20 files changed, 331 insertions(+), 177 deletions(-) hooks/post-receive -- The official pacman repository
participants (1)
-
dan@archlinux.org