diff options
author | Xavier Chantry <shiningxc@gmail.com> | 2009-10-10 03:11:27 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-03-14 19:12:24 -0500 |
commit | 2f4ee4341d1f97d95a99147556888212d1cd4507 (patch) | |
tree | 28c58cae497b6992f99ffb8af22dcd85cc6ef9e3 /pactest/tests/remove049.py | |
parent | 69b3a811a138a84aa09e8e81b2912f6fcd0b47b9 (diff) |
Only extract new DB entries
This implements FS#15198. The idea apparently came from Csaba Henk
<csaba-ml <at> creo.hu> which submitted a patch to Frugalware, so thanks to
him, even though I did not look at the code :)
The idea is to only extract folders for new packages into the package
database and clean up the old directories. This is essentially implementing
Xyne's "rebase" script within pacman.
If using -Syy, just remove and extract everything.
If using -Sy :
1. Generate list of directories in DB
2. Generate list of directories in archive
3. Compare both
4. Clean up old directories
5. Extract new directories
Original-work-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
[Dan: fix compile error, s/int/size_t/]
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests/remove049.py')
0 files changed, 0 insertions, 0 deletions