Dear list,
I asked Simone Rota if he'd be interested in implementing rsync support for
pkg-get, with the following result, which sure looks good to me, but I didn't
get around to test it yet. I thought someone else might be interested too, so
here it is:
Best regards,
Moritz
--- Begin forwarded message from Simone Rota ---
From: Simone Rota
To: Moritz Wilhelmy
Date: Sat, 23 Oct 2010 14:48:30 +0200
Subject: Re: pkg-get rsync support?
On 10/21/2010 09:16 PM, Moritz Wilhelmy wrote:
>> I don't see a big advantage over http
> I don't think there is one
Oh well :-)
I attach a diff file that should make pkg-get support
rsync repositories, valid urls are something like:
pkgdir /my/packages/java|rsync://server.com::test1
pkgdir /my/packages/one|rsync://server.com::test2/one
so server-side it's both ok to use separate rsync modules or
dirs inside a module
Warnings:
- Mostly untested
- The rsync output on package download is a bit verbose
I no longer have access to the crux git repositories so
if the patch works for you, you may ask some core
maintainer to update the script (and maybe the docs/changelog)
and prepare a new pkg-get release.
Regards,
Simone
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux