On Wed, Apr 01, 2009 at 09:01:59PM -0400, Emma Strubell wrote: > And to clarify: the goal of the project is to modify portage so that > instead of fetching all of the ebuilds in the portage tree (or in an > overlay) upon a sync, portage only fetches the metadata and cache info > (via the metadata/cache/ directory) of the tree, and the ebuilds of > packages that are already installed (packages found in the world > file?) And then, additional ebuilds would be fetched only when they > are needed? Or will only metadata/cache/ be fetched upon sync, and > then all ebuilds will be fetched only when they are needed? Am I > completely oversimplifying the project?
Curious, have you thought at all about the server side requirements here? The potentially intractable part here is that the tree you're syncing needs to essentially become versioned (same for the cache). In other words, you sync. 30 minutes later you go to do a merge- in that intervening 30 minutes, a new version of the tree is available- but your metadata is 30 minutes old, meaning it's no longer valid. Honestly, that is the part of the problem that needs solving- the fact you need to embed versioning into this to ensure that things are still consistant. Would be curious to hear what you're intentions are for that issue- w/ rsync, it's potentially intractable depending on your intentions. ~harring
pgprnttdPXYjv.pgp
Description: PGP signature