diff options
author | Dan McGee <dan@archlinux.org> | 2011-02-25 14:55:16 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-02-25 14:55:16 +0100 |
commit | 2f96764058b89ff32c928a736308c5095f1ff764 (patch) | |
tree | b85aa9d1b41b62d38f0ac8aba87bdbcd806d9375 /lib/libalpm/package.c | |
parent | d4d304cdb7b59e3b5ab7d5825404593a3476f127 (diff) | |
download | pacman-2f96764058b89ff32c928a736308c5095f1ff764.tar.gz pacman-2f96764058b89ff32c928a736308c5095f1ff764.tar.xz |
Continue resolving dependencies rather than bailing on first error
This allows error messages emitted by the frontend to be a bit more
descriptive and not have the annoying "well why didn't you tell me that
the first time" problem. If a package had multiple missing deps, we
would bail on the first one before rather than finish processing all
missing dependencies, and only print one error message. Instead,
continue through this entire set of missing deps and append all eventual
errors.
The added pactest tests this case, as the to be installed package has
two missing dependencies. However, pactest does not actually test or see
the difference in output from before and after, so it passes in both
cases, but it is clearly visible in the logs.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.c')
0 files changed, 0 insertions, 0 deletions