From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-portage-dev+bounces-2362-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1M74AB-0007hQ-Dc
	for garchives@archives.gentoo.org; Thu, 21 May 2009 09:02:07 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6B34AE0423;
	Thu, 21 May 2009 09:02:06 +0000 (UTC)
Received: from mail-px0-f129.google.com (mail-px0-f129.google.com [209.85.216.129])
	by pigeon.gentoo.org (Postfix) with ESMTP id 38483E0423
	for <gentoo-portage-dev@lists.gentoo.org>; Thu, 21 May 2009 09:02:06 +0000 (UTC)
Received: by pxi35 with SMTP id 35so802281pxi.32
        for <gentoo-portage-dev@lists.gentoo.org>; Thu, 21 May 2009 02:02:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:received:date:from:to:subject
         :message-id:references:mime-version:content-type:content-disposition
         :in-reply-to:user-agent;
        bh=u9ulwTnpvE7phn1+rVzoZCOjwudzT5iezcHZ6v9lMhI=;
        b=r25uPYSCvIsndoC0ZVa1Zwt5mGiD+yzO9M+NaaM2gGQkftm7seLAhhhgxWZkCyPgLz
         j7sB+W6xc1S2nUahnY9hxgBPS6TUUsrqaWydNj5HotdvKblXYVqPcVoVwOmCf3b5t6vn
         /XITfo4QFRstV01CnSEsnQe3L7lw4Js9OW9eY=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=date:from:to:subject:message-id:references:mime-version
         :content-type:content-disposition:in-reply-to:user-agent;
        b=cQpCpBIvAufqggG1ouagqLM7gC97QWduArFzW1U52g2NtiQexQXpKQAKNREWQ0STUB
         W4LHHU6jSpyQ1KtJh+tRfaG2kLWRj29Q98/ejDiioeyxdvpz0odSZrBajvcHI4y0mc16
         NdfgZCQpUfUaJTuWeBq6gvZMmMLBBF+haM/6s=
Received: by 10.114.67.17 with SMTP id p17mr4706919waa.203.1242896525821;
        Thu, 21 May 2009 02:02:05 -0700 (PDT)
Received: from smtp.gmail.com (c-24-6-39-61.hsd1.ca.comcast.net [24.6.39.61])
        by mx.google.com with ESMTPS id j39sm5010971waf.45.2009.05.21.02.02.03
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Thu, 21 May 2009 02:02:04 -0700 (PDT)
Received: by smtp.gmail.com (sSMTP sendmail emulation); Thu, 21 May 2009 02:01:44 -0700
Date: Thu, 21 May 2009 02:01:44 -0700
From: Brian Harring <ferringb@gmail.com>
To: gentoo-portage-dev@lists.gentoo.org
Subject: Re: [gentoo-portage-dev] rsync support for fetching binary packages
Message-ID: <20090521090144.GB22785@hrair>
References: <4A129C61.1080603@oversi.com>
Precedence: bulk
List-Post: <mailto:gentoo-portage-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-portage-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-portage-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-portage-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-portage-dev.gentoo.org>
X-BeenThere: gentoo-portage-dev@lists.gentoo.org
Reply-to: gentoo-portage-dev@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g"
Content-Disposition: inline
In-Reply-To: <4A129C61.1080603@oversi.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
X-Archives-Salt: e3283c62-03ca-434f-b988-8d8c491b1f6e
X-Archives-Hash: 3a26e85a1be9753e20750572e75628a1


--2fHTh5uZTiUOsy+g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 19, 2009 at 02:47:45PM +0300, Amit Dor-Shifer wrote:
> Hi.
> Looking at getbinpkg.py, I see that BINPKGs can be retrieved using
> http/s s/ftp. I'm wondering about rsync, as it is mostly supported
> across portage (and also in layman). Is there some design reasoning
> behind this lack of support, or is it that no-one has yet gotten around
> to implement it?
>=20
> I'm raising the question because I'm implementing a private repository
> and would prefer not to service it via http if I don't have to. Right
> now, the only feature which is blocking me is this lack of support for
> binary packages.

Look in the code to be sure, but I'd expect it just hasn't been=20
implemented.  If I were in your shoes, I'd generalize the SYNC proto=20
support into something usable for binpkgs also- I did this in pkgcore,=20
works fairly well (and could be extended to fetching in general, which=20
again works well enough).

Personally, I wouldn't dick around with rsync for individual file=20
transfers- http/ftp seems better suited, but I may be missing=20
something about your setup that warrants it.

Cheers-
~harring

--2fHTh5uZTiUOsy+g
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)

iEYEARECAAYFAkoVGHgACgkQsiLx3HvNzgd0ZgCghAmLubVBW1l/mBQsIBCodCPW
DXYAoLB2qxg2gIamlI4pLsAhPeaL7Q6r
=ZHNb
-----END PGP SIGNATURE-----

--2fHTh5uZTiUOsy+g--