public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] rsync support for fetching binary packages
@ 2009-05-19 11:47 Amit Dor-Shifer
  2009-05-21  9:01 ` Brian Harring
  0 siblings, 1 reply; 2+ messages in thread
From: Amit Dor-Shifer @ 2009-05-19 11:47 UTC (permalink / raw
  To: gentoo-portage-dev

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?

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.
10x,
Amit



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-portage-dev] rsync support for fetching binary packages
  2009-05-19 11:47 [gentoo-portage-dev] rsync support for fetching binary packages Amit Dor-Shifer
@ 2009-05-21  9:01 ` Brian Harring
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Harring @ 2009-05-21  9:01 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 1137 bytes --]

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?
> 
> 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 
implemented.  If I were in your shoes, I'd generalize the SYNC proto 
support into something usable for binpkgs also- I did this in pkgcore, 
works fairly well (and could be extended to fetching in general, which 
again works well enough).

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

Cheers-
~harring

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-21  9:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-19 11:47 [gentoo-portage-dev] rsync support for fetching binary packages Amit Dor-Shifer
2009-05-21  9:01 ` Brian Harring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox