On Thu, Feb 26, 2009 at 3:55 AM, Allan McRae <allan@archlinux.org> wrote:
Xavier Chantry wrote:
This should obsolete the delta support in makepkg. Having a separate script should be more flexible.
Example usage: $ create-xdelta repo/tzdata-2009a-1-x86_64.pkg.tar.gz repo/tzdata-2009b-1-x86_64.pkg.tar.gz ==> Generating delta from version 2009a-1 to version 2009b-1 ==> Generated delta : 'repo/tzdata-2009a-1_to_2009b-1-x86_64.delta'
Signed-off-by: Xavier Chantry <shiningxc@gmail.com> ---
Not sure about the name. I would prefer it mentioned pkg somehow as at the moment the is nothing in the name that indicates this is for pacman packages. Maybe pkgdelta?
Good point, I agree. pkgdelta sounds fine to me.
<snip> + +# print usage instructions +usage() { + printf "create-xdelta (pacman) %s\n\n" "$myver" + printf "$(gettext "Usage: create-xdelta <package1> <package2 ...\n")"
Missing ">" after package 2. Why the "..." there? The script only uses two parameters.
That's completely wrong indeed, it probably comes from the script I used as a base, repo-add probably.
Otherwise, this is full of awesomeness and win.
ahah