Re: [gentoo-portage-dev] Package compression header for binhosts

2010-06-01 Thread Ned Ludd
On Mon, 2010-05-31 at 22:16 -0700, Brian Harring wrote: On Mon, May 31, 2010 at 08:32:34PM -0700, Zac Medico wrote: Hi, In order to support alternative compression types for binhost packages, I was thinking about adding support for a header field in the Packages index file. For

Re: [gentoo-portage-dev] Package compression header for binhosts

2010-06-01 Thread Brian Harring
On Tue, Jun 1, 2010 at 1:01 PM, Ned Ludd so...@gentoo.org wrote: On Mon, 2010-05-31 at 22:16 -0700, Brian Harring wrote: On Mon, May 31, 2010 at 08:32:34PM -0700, Zac Medico wrote: Hi, In order to support alternative compression types for binhost packages, I was thinking about

Re: [gentoo-portage-dev] Package compression header for binhosts

2010-06-01 Thread Zac Medico
On 06/01/2010 02:22 PM, Brian Harring wrote: As for zacs tool to try and generate new views of a repository via hardlinking/recreating the tree... frankly it's a bit of a hack. Via DEFAULT_URI and relying on the hash, you can make a stable repository that is able to be updated in place

Re: [gentoo-portage-dev] Package compression header for binhosts

2010-06-01 Thread Brian Harring
On Tue, Jun 1, 2010 at 2:37 PM, Zac Medico zmed...@gentoo.org wrote: On 06/01/2010 02:22 PM, Brian Harring wrote: As for zacs tool to try and generate new views of a repository via hardlinking/recreating the tree... frankly it's a bit of a hack. Via DEFAULT_URI and relying on the hash,

Re: [gentoo-portage-dev] Package compression header for binhosts

2010-06-01 Thread Zac Medico
On 06/01/2010 02:52 PM, Brian Harring wrote: That bug isn't about a collision, it's about files being replaced underneath Packages feet. Even with the tricks you've leveled the issue of things changing under foot still is possible- you've just made the race less likely. AFAIK the race is

Re: [gentoo-portage-dev] Package compression header for binhosts

2010-06-01 Thread Brian Harring
On Tue, Jun 01, 2010 at 04:53:31PM -0700, Zac Medico wrote: On 06/01/2010 02:52 PM, Brian Harring wrote: That bug isn't about a collision, it's about files being replaced underneath Packages feet. Even with the tricks you've leveled the issue of things changing under foot still is