Fwd: Re: pkg-get rsync support?
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
On 10/24/10 14:08, Moritz Wilhelmy wrote:
Dear list,
Hello Moritz,
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: [...]
I also adopted pkg-get and played not long ago with it, and did a patch for pkg-repgen to avoid having 'prt-get' hardcoded and also to pass a prtdir as an optional switch, and thus not having to use the system 'prt-get.conf' (which is useful in some scenarios). I attached the patch too. Best regards, -- Jose V Beneyto | http://sepen.mine.nu/
participants (2)
-
Jose V Beneyto
-
Moritz Wilhelmy