[pacman-dev] [GIT] pacman branch, master now at v3.0.0-349-gf81e619
Hello, This is an automated email from the git hooks/update script, it was generated because a ref change was pushed to the repository. Updating branch, master, via f81e619974ca47f6dba8c3002577447a71e0f1ec (commit) via fc65a9bcb1722ae9768518aa921c5f02cf282b96 (commit) via 16c91bedf844f5f7764aa78b801ca023810611c3 (commit) via 1cb6d80631359306d70bbe5fbcbbca1474594ada (commit) via ba67fdae63122b40d8fb4abf9c1c7695999f143d (commit) via ee977019e39fe33a508a60abe4a3ad7eff819b74 (commit) via 47cada81a0a8fdd4c77645233ed8406b829b552c (commit) via 8038190c7c4786e1c49494eea1b40cdddcbd5136 (commit) via 0f539832f45fa2c183cfe52c1881b3acaa54e3e6 (commit) via 064de149b7e4f6ea2891ae522102c4ae958f55e5 (commit) via f4dbb204f1ad99179c145558ababf1190f067083 (commit) via a65ad4efc1102449a087b464d3b8d4670a614b99 (commit) via 49c29e16b31ce35e81be210bc74a3834530bb9e0 (commit) from 47ee89ada9d13935510ef92541649901789c23c8 (commit) - Log ----------------------------------------------------------------- commit f81e619974ca47f6dba8c3002577447a71e0f1ec Author: Chantry Xavier <shiningxc@gmail.com> Date: Fri Aug 17 14:07:56 2007 +0200 libalpm/sync.c : don't go back on STATE_PREPARED when committing fails. In my opinion, a commiting transaction that failed isn't equivalent to a prepared transaction. Some things could have been done in the meantime. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> commit fc65a9bcb1722ae9768518aa921c5f02cf282b96 Author: Dan McGee <dan@archlinux.org> Date: Thu Aug 16 16:19:06 2007 -0400 Fix some errors spit out by -Wextra Signed-off-by: Dan McGee <dan@archlinux.org> commit 16c91bedf844f5f7764aa78b801ca023810611c3 Author: Dan McGee <dan@archlinux.org> Date: Thu Aug 16 15:03:00 2007 -0400 configure.ac: Clean up and document version number increments Signed-off-by: Dan McGee <dan@archlinux.org> commit 1cb6d80631359306d70bbe5fbcbbca1474594ada Author: Andrew Fyfe <andrew@neptune-one.net> Date: Wed Jul 25 22:49:32 2007 +0100 Clean up MD5 code. * Move alpm md5 functions to lib/libalpm/util.c * Remove unneeded includes for md5.h * Replace md5 implementation with one from http://www.xyssl.org Dan: clean up XySSL code by removing parts we don't use, and add a note saying what changed. Dan: fix alpm_get_md5sum, off by one error on the malloc call and other small things. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org> commit ba67fdae63122b40d8fb4abf9c1c7695999f143d Author: Andrew Fyfe <andrew@neptune-one.net> Date: Wed Jul 25 22:35:29 2007 +0100 Remove support for SHA1 from pacman. There's no need for a second hashing algorithm. MD5 serves the purpose of verifying that a package file hasn't been corrupted during download. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org> commit ee977019e39fe33a508a60abe4a3ad7eff819b74 Author: Chantry Xavier <shiningxc@gmail.com> Date: Mon Jul 9 17:02:29 2007 +0200 libalpm/db.c : add alpm_db_unregister_all. This basically moves the code from alpm_release, which was mostly about unregistering all databases, to a safer alpm_db_unregister_all. This allows to avoid modifying the dbs_sync list while iterating over it, and and also prevent alpm_release from looping infinitely when a database can't be unregistered. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> commit 47cada81a0a8fdd4c77645233ed8406b829b552c Author: Dan McGee <dan@archlinux.org> Date: Thu Aug 16 11:04:58 2007 -0400 pacman.c: Alphabetize listing of query options Signed-off-by: Dan McGee <dan@archlinux.org> commit 8038190c7c4786e1c49494eea1b40cdddcbd5136 Author: Chantry Xavier <shiningxc@gmail.com> Date: Sat Jul 7 21:24:30 2007 +0200 libalpm/db.c : allow unregistering db for interrupted transaction. This prevents alpm_release to loop infinitely in case of an interrupted transaction, where the database wasn't unregistered. alpm_release should probably also be fixed, as it can still loop if db_unregister fails for another reason. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> commit 0f539832f45fa2c183cfe52c1881b3acaa54e3e6 Author: Chantry Xavier <shiningxc@gmail.com> Date: Sun Jul 15 00:44:06 2007 +0200 new query options : explicit (-Qe) and deps (-Qd). The t shortcut for --test was removed, the orphan option (previously -Qe) was renamed to -Qt, -Qe lists all packages installed explictly, and -Qd lists all packages installed as dependencies. Besides, t can be combined with either e or d. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> commit 064de149b7e4f6ea2891ae522102c4ae958f55e5 Author: Chantry Xavier <shiningxc@gmail.com> Date: Sat Jul 14 20:45:30 2007 +0200 libalpm/query.c : makes orphans and foreign options as filters. The --foreign and --orphans functions now behave as a filter for the other options. This cleans the code a bit, and will make easier the adding of new filter options, like explicit (show only explictly installed packages) or depends (show only packages installed as dependencies). Signed-off-by: Chantry Xavier <shiningxc@gmail.com> commit f4dbb204f1ad99179c145558ababf1190f067083 Author: Dan McGee <dan@archlinux.org> Date: Wed Aug 15 20:16:46 2007 -0400 src/util: Clean up headers and a few fixes Remove some unnecessary headers in the two utilities as well as fix a possible non-null termination issue in vercmp. Signed-off-by: Dan McGee <dan@archlinux.org> commit a65ad4efc1102449a087b464d3b8d4670a614b99 Author: Dan McGee <dan@archlinux.org> Date: Tue Aug 14 10:14:35 2007 -0400 package.h: implement origin_data union in pmpkg_t struct We were using a void *data element in pmpkg_t before, which is unsafe by its nature of being untyped. Reimplement data as origin_data being a union that can hold either a path to a package file or a pointer to a cache database, and make the other necesary updates in the code to reflect this. See package.h for details. Signed-off-by: Dan McGee <dan@archlinux.org> commit 49c29e16b31ce35e81be210bc74a3834530bb9e0 Author: Dan McGee <dan@archlinux.org> Date: Tue Aug 14 09:33:55 2007 -0400 Code cleanup Remove the commented desc_localized stuff, we can find it later in version control. Also remove some unnecessary includes of the stat header and use -fstack-protector-all which is a bit more broad. Signed-off-by: Dan McGee <dan@archlinux.org> ----------------------------------------------------------------------- Diffstat: configure.ac | 72 +++++- contrib/vimproject | 2 - lib/libalpm/Makefile.am | 2 - lib/libalpm/add.c | 53 ++--- lib/libalpm/alpm.c | 16 +-- lib/libalpm/alpm.h | 4 +- lib/libalpm/backup.c | 6 +- lib/libalpm/be_files.c | 49 +---- lib/libalpm/cache.c | 3 +- lib/libalpm/conflict.c | 3 - lib/libalpm/db.c | 64 +++++- lib/libalpm/db.h | 1 + lib/libalpm/md5.c | 561 ++++++++++++++++++++++++---------------------- lib/libalpm/md5.h | 122 +++++++---- lib/libalpm/md5driver.c | 93 -------- lib/libalpm/package.c | 153 ++++---------- lib/libalpm/package.h | 12 +- lib/libalpm/remove.c | 6 +- lib/libalpm/sha1.c | 431 ------------------------------------ lib/libalpm/sha1.h | 72 ------ lib/libalpm/sync.c | 25 +-- lib/libalpm/trans.c | 2 +- lib/libalpm/trans.h | 2 +- lib/libalpm/util.c | 45 ++++- src/pacman/callback.c | 3 +- src/pacman/conf.h | 2 + src/pacman/package.c | 21 +-- src/pacman/pacman.c | 36 ++-- src/pacman/query.c | 215 +++++++----------- src/pacman/sync.c | 1 - src/pacman/util.c | 2 +- src/util/Makefile.am | 2 +- src/util/testpkg.c | 8 +- src/util/vercmp.c | 23 +- 34 files changed, 742 insertions(+), 1370 deletions(-) hooks/update --- Git Source Code Management System hooks/update refs/heads/master \ 47ee89ada9d13935510ef92541649901789c23c8 \ f81e619974ca47f6dba8c3002577447a71e0f1ec
On 8/17/07, Dan McGee <dan@archlinux.org> wrote:
Hello,
This is an automated email from the git hooks/update script, it was generated because a ref change was pushed to the repository.
commit a65ad4efc1102449a087b464d3b8d4670a614b99 Author: Dan McGee <dan@archlinux.org> Date: Tue Aug 14 10:14:35 2007 -0400
package.h: implement origin_data union in pmpkg_t struct
We were using a void *data element in pmpkg_t before, which is unsafe by its nature of being untyped. Reimplement data as origin_data being a union that can hold either a path to a package file or a pointer to a cache database, and make the other necesary updates in the code to reflect this. See package.h for details.
Signed-off-by: Dan McGee <dan@archlinux.org>
Aaron, I finally took care of this one for you. :) -Dan
participants (2)
-
Dan McGee
-
Dan McGee