On Wed, 2012-03-28 at 14:43 -0400, Aaron W. Swenson wrote:
> So, we're all getting way off topic and discussing reorganizing the
> whole enchilada.
> 
> How about we all agree or disagree on the primary point: The Portage
> tree doesn't belong in /usr.
> 
> I believe that it does belong under /var/cache/.
> 
> We can go a bit further and make it /var/cache/gentoo-repos/portage/.

a little too convoluted.  It should be simpler... see example below


> 
> That way Layman and friends can all make the move there quite simply
> without major infrastructure changes.

Layman, portage, pkgcore have all been able to have them elsewhere.  It
won't break anything.  It is only a config value change.  Coding not
required.  So it is easy to do that now.  We are arguing about the
default location

> 
> The Portage PMS on it's next release would just do a 'mkdir
> /var/cache/gentoo-repos/portage/ && sync && rm -rf /usr/portage &&
> echo "Portage has moved"' on its next 'emerge --sync' while still
> looking in both locations for packages.
> 

It would be quite easy for simple use cases (the majority of users), to
create a migration script that users could use which would read the
current config values, then migrate them and update the config values.
But that would be entirely optional.  If a user wants to keep it at the
current location it would not break anything.  The only thing that would
be required is to set the correct variables in make.conf to override the
new defaults to maintain the current locations.


> (After looking at overlays, if /usr/portage exists, check there first,
> if not found look in /var/cache/gentoo-repos/).
> 
> Other PMSs can then continue to use /usr/portage until they catch up.
> It also allows 'emerge --sync' on older versions of the Portage PMS or
> whatever the other PMSs use to continue working without breaking
> everything.
> 
> We can continue forward with restructuring the tree in later stages,
> but we can't move the tree and break compatibility in one go. There
> must be stages to the restructuring. The first step is moving it to
> the proper top/sub level directory.
> 

I fail to see the complexity that you seem to think is involved to
accomplish this.

> So, I'm proposing we use /var/cache/gentoo-repos/portage/ as the
> location of the official tree.
> 
> - Aaron

to keep everything under one directory like some would prefer...

I propose we name that dir, "gentoo"  simple, to the point.

then to sum up several other posts.

/var/{db,cache,}/gentoo/repositories/gentoo
/var/{db,cache,}/gentoo/repositories/local
/var/{db,cache,}/gentoo/repositories/{overlay of choice}
/var/{db,cache,}/gentoo/distfiles
/var/{db,cache,}/gentoo/packages


-- 
Brian Dolbec <dol...@gentoo.org>

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to