1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-10 03:25:01 -05:00
pacman/scripts
Xavier Chantry bbcf96230a repo-add : rewrite delta support
Use the correct database format

Use xdelta3 to get the source and destination files from the delta itself

Allow delta files to be added with repo-add just like package files. delta
files can also be removed with repo-remove. This is simply done by looking
for a .delta extension in the arguments, and calling the appropriate
db_write_delta or db_remove_delta functions.

Example usage:
repo-add repo/test.db.tar.gz repo/libx11-1.1.99.2-2-x86_64.pkg.tar.gz
repo-add repo/test.db.tar.gz repo/libx11-1.1.5-2_to_1.1.99.2-2-x86_64.delta
repo-remove repo/test.db.tar.gz libx11-1.1.5-2_to_1.1.99.2-2-x86_64.delta

Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
2009-03-15 18:10:23 +01:00
..
.gitignore Add pkgdelta script to create deltas. 2009-03-15 18:10:15 +01:00
Makefile.am Add pkgdelta script to create deltas. 2009-03-15 18:10:15 +01:00
makepkg.sh.in Fix several issues with xdelta 2009-03-15 18:08:36 +01:00
pacman-optimize.sh.in Give pacman-optimize a refresher 2008-10-28 22:18:22 -05:00
pkgdelta.sh.in Add pkgdelta script to create deltas. 2009-03-15 18:10:15 +01:00
rankmirrors.py.in Remove hardcoded DBEXT value from script 2008-01-06 09:44:28 -06:00
repo-add.sh.in repo-add : rewrite delta support 2009-03-15 18:10:23 +01:00