[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.0.0-645-g594f1fb
Dan McGee
dan at archlinux.org
Sun Dec 2 19:19:14 EST 2007
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 594f1fbbb1c6aa64368c01d92ab5d7533e4e9cfa (commit)
via 94aa8b1f163c88cb47c049da4f3c9935dc6da1e8 (commit)
via e8eff3ef97e30ec64fbb62e502ed24fe5baceca0 (commit)
via 0b6d73a5b4931519ee40646aa9093148f4571cf0 (commit)
via 7341d0954194149d5659dbd33ea4b2f9f005b54a (commit)
via 32e625db1436db6ac73851d39024329afc06ece1 (commit)
via 3017b71cb5cde3aef7e0efb5f49843cccf759956 (commit)
via aa2d0d71144e6df99478878b7f599ddd3af14766 (commit)
via 8a474e8735da5a65d338305b771742b38eab6b50 (commit)
via 4845207fd4b540efd7dfcb157eaa64a1a3f10ed9 (commit)
via 250331a636699561e1239e341f30f2adfebbcb43 (commit)
via c15f7710deafe1b4fe9411381bd07cd0dbe8da48 (commit)
via f19820cba8c4da8d6b7c84c694f3d327e94095a4 (commit)
from 22c2043160f30a9ed34fd2886edaf521029a9248 (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 594f1fbbb1c6aa64368c01d92ab5d7533e4e9cfa
Author: Chantry Xavier <shiningxc at gmail.com>
Date: Sun Dec 2 23:48:12 2007 +0100
alpm_list : change the alpm_list_find* to return the matching item.
alpm_list_find and alpm_list_find_ptr will now return a void *, and
alpm_list_find_str will return a char *, instead of an int.
Signed-off-by: Chantry Xavier <shiningxc at gmail.com>
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 94aa8b1f163c88cb47c049da4f3c9935dc6da1e8
Author: Dan McGee <dan at archlinux.org>
Date: Sun Dec 2 18:11:23 2007 -0600
Add a lot more tests (and some pactest fixes) to -Si and -Qi tests
Signed-off-by: Dan McGee <dan at archlinux.org>
commit e8eff3ef97e30ec64fbb62e502ed24fe5baceca0
Author: Dan McGee <dan at archlinux.org>
Date: Sun Dec 2 17:56:48 2007 -0600
Add more pactests to increase code coverage
These new tests test the following ops at least once:
-Ss, -Si, -Sl, -Sp, -Qs, -Qi, -T
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 0b6d73a5b4931519ee40646aa9093148f4571cf0
Author: Dan McGee <dan at archlinux.org>
Date: Sun Dec 2 17:25:34 2007 -0600
Remove _alpm_depmiss_isin
This is unneeded now that commit 2ed6b482d2fce916466e44e37930f0b0c0d928bb
has eliminated the last user of this function.
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 7341d0954194149d5659dbd33ea4b2f9f005b54a
Author: Dan McGee <dan at archlinux.org>
Date: Sun Dec 2 17:24:22 2007 -0600
Add 4 new pactests to get better code coverage by pactest
I started playing around with gcov today and it showed a few places in the
code that we don't test at all. This is the start of ensuring that we
execute most of the code in our codebase.
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 32e625db1436db6ac73851d39024329afc06ece1
Author: Dan McGee <dan at archlinux.org>
Date: Sun Dec 2 15:10:18 2007 -0600
parseconfig: refactor duplicate code out into a function
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 3017b71cb5cde3aef7e0efb5f49843cccf759956
Author: Dan McGee <dan at archlinux.org>
Date: Sun Dec 2 13:48:49 2007 -0600
Remove "done" messages from frontend callback function
This should simplify our output a bit when it comes to determining whether
or not we need a newline in our output. A "done" message was almost always
immediately followed by another start message anyway (or some other output),
so it really isn't necessary.
Signed-off-by: Dan McGee <dan at archlinux.org>
commit aa2d0d71144e6df99478878b7f599ddd3af14766
Author: Dan McGee <dan at archlinux.org>
Date: Sun Dec 2 13:11:39 2007 -0600
Add --ignoregroup to completion files
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 8a474e8735da5a65d338305b771742b38eab6b50
Author: Dan McGee <dan at archlinux.org>
Date: Sun Dec 2 12:56:57 2007 -0600
Fixes for the ineptitude of libalpm DB registration
When a DB is "registered" in libalpm, it goes and tries to create paths and
other BS which is stupid, but a pain in the butt to fix. For now, work
around this terrible behavior by ensuring our paths are always set before we
call any alpm_db_register function.
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 4845207fd4b540efd7dfcb157eaa64a1a3f10ed9
Author: Dan McGee <dan at archlinux.org>
Date: Sun Dec 2 12:20:55 2007 -0600
Make pacman path handling (hopefully) a bit more intuitive
I made pacman path handling a bit odd with my rootdir changes a while back
in order to increase flexability. However, it had a bit of a drawback in
that dbpath/logfile/etc. would not default to being under the rootdir if
that was the only parameter you specified in the config file or on the
command line. (Note: logfile handling was always broken due to the explicit
logfile line required in config files)
Pacman now works as follows:
if a rootdir is specified but not dbpath or logfile:
attempt to place the logfile and dbpath in their default locations under
root
if an explicit dbpath/logfile is specified:
interpret these as absolute paths, regardless of the rootdir setting
if nothing is specified:
fall back to configured defaults
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 250331a636699561e1239e341f30f2adfebbcb43
Author: Chantry Xavier <shiningxc at gmail.com>
Date: Thu Nov 22 21:01:45 2007 +0100
Add new --needed option for -S.
During a pacman operation such as a group install, pacman can ask several
questions such as "local version is up to date. Upgrade anyway?". They are
usually all answered either by yes or by no:
* yes when you want to reinstall all the targets.
* no when you only want to install the missing ones (either because you are
installing a group, or because you are copying a pacman -S line from wiki or
whatever).
So instead of asking this question for each target, it is now now configured
with a flag. Yes will be the default -S behavior, No will be achieved with
the --needed flag.
Signed-off-by: Chantry Xavier <shiningxc at gmail.com>
Signed-off-by: Dan McGee <dan at archlinux.org>
commit c15f7710deafe1b4fe9411381bd07cd0dbe8da48
Author: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date: Fri Nov 23 22:32:40 2007 +0100
Unify dump_pkg_full in pacman [-Si, -Qip, -Qi and -Qii]
dump_pkg_sync is now a trivial wrapper for dump_pkg_full
Some smaller changes:
* string_display function added to util.c [prints None in case of empty string]
* Filename field added to -Qip
* rename License to Licenses
* 'Compressed Size' used instead of 'Download Size' for -Qip
Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
[Dan: fix whitespace errors, spacing issues, const modifiers]
Signed-off-by: Dan McGee <dan at archlinux.org>
commit f19820cba8c4da8d6b7c84c694f3d327e94095a4
Author: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date: Thu Nov 29 18:56:50 2007 +0100
New sync1005 and sync1006 pactests
This pactest checks what happens if a package exists in two sync repos.
Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
[Dan: added sync1006, same test with different versions]
Signed-off-by: Dan McGee <dan at archlinux.org>
-----------------------------------------------------------------------
Summary of changes:
contrib/bash_completion | 2 +
contrib/zsh_completion | 1 +
doc/pacman.8.txt | 3 +
lib/libalpm/add.c | 6 +-
lib/libalpm/alpm.h | 5 +-
lib/libalpm/alpm_list.c | 18 +-
lib/libalpm/alpm_list.h | 6 +-
lib/libalpm/deps.c | 21 +---
lib/libalpm/deps.h | 1 -
lib/libalpm/sync.c | 19 +--
pactest/pmdb.py | 16 +-
pactest/tests/deptest001.py | 20 +++
pactest/tests/pacman001.py | 5 +
pactest/tests/pacman002.py | 5 +
pactest/tests/pacman003.py | 5 +
pactest/tests/pacman004.py | 5 +
pactest/tests/query001.py | 2 +-
pactest/tests/query002.py | 23 +++
pactest/tests/query003.py | 10 ++
pactest/tests/{query001.py => query004.py} | 2 +-
pactest/tests/sync1005.py | 14 ++
pactest/tests/sync1006.py | 14 ++
pactest/tests/sync1100.py | 23 +++
pactest/tests/sync1101.py | 11 ++
pactest/tests/sync1102.py | 12 ++
pactest/tests/sync1103.py | 11 ++
src/pacman/callback.c | 58 ++-----
src/pacman/conf.c | 6 +
src/pacman/conf.h | 13 +-
src/pacman/package.c | 106 ++++++-------
src/pacman/pacman.c | 230 ++++++++++++++--------------
src/pacman/sync.c | 3 -
src/pacman/util.c | 10 ++
src/pacman/util.h | 1 +
34 files changed, 408 insertions(+), 279 deletions(-)
create mode 100644 pactest/tests/deptest001.py
create mode 100644 pactest/tests/pacman001.py
create mode 100644 pactest/tests/pacman002.py
create mode 100644 pactest/tests/pacman003.py
create mode 100644 pactest/tests/pacman004.py
create mode 100644 pactest/tests/query002.py
create mode 100644 pactest/tests/query003.py
copy pactest/tests/{query001.py => query004.py} (80%)
create mode 100644 pactest/tests/sync1005.py
create mode 100644 pactest/tests/sync1006.py
create mode 100644 pactest/tests/sync1100.py
create mode 100644 pactest/tests/sync1101.py
create mode 100644 pactest/tests/sync1102.py
create mode 100644 pactest/tests/sync1103.py
hooks/post-receive
--
The official pacman repository
More information about the pacman-dev
mailing list