diff options
author | Nagy Gabor <ngaba@bibl.u-szeged.hu> | 2008-01-27 12:24:50 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-27 12:05:33 -0600 |
commit | 1fc83f4af6d827bf2e69c7a10e3d2010c9211974 (patch) | |
tree | e19a2c3e8f84bbc3e7f63c5967d35bd5c635bb7f /pactest/util.py | |
parent | 9fbb77c91ba411fa46b1f2955893e7a39291f46a (diff) | |
download | pacman-1fc83f4af6d827bf2e69c7a10e3d2010c9211974.tar.xz |
pmsyncpkg_t cleanup
Fix for sync044.py and reason001.py.
Rename sync->data to sync->removes (alpm_list_t *)
Replace pmsynctype_t sync->type by pmpkgreason_t sync->newreason
The type field was set to UPGRADE or DEPEND or REPLACE.
Instead of using type = UPGRADE or DEPEND, we now rather use a
"pmpkgreason_t newreason" field directly (= explicit or depend) which allows
a better handling of the install reason.
And the REPLACE type is now deduced implicitly when the sync->removes list
is not empty.
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/util.py')
0 files changed, 0 insertions, 0 deletions