diff options
author | Xavier Chantry <shiningxc@gmail.com> | 2009-02-25 19:06:16 +0100 |
---|---|---|
committer | Xavier Chantry <shiningxc@gmail.com> | 2009-03-15 18:10:23 +0100 |
commit | bbcf96230ad16ad91f5ab8cb93c05fd15136d3e4 (patch) | |
tree | 419314a2bc707eb981270e4b1533e76a3e42d34c /lib/libalpm/add.h | |
parent | 89685bdb2918c59a109cba2199ab25bc1bcfa784 (diff) | |
download | pacman-bbcf96230ad16ad91f5ab8cb93c05fd15136d3e4.tar.xz |
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>
Diffstat (limited to 'lib/libalpm/add.h')
0 files changed, 0 insertions, 0 deletions