Gentoo Archives: gentoo-dev

From: "Aaron W. Swenson" <titanofold@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: location of portage tree
Date: Wed, 28 Mar 2012 18:46:17
Message-Id: 4F735BDA.5010601@gentoo.org
In Reply to: [gentoo-dev] rfc: location of portage tree by William Hubbs
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 03/27/2012 03:05 PM, William Hubbs wrote:
5 > All,
6 >
7 > I know this has come up before, but I don't really recall what the
8 > specific objections were.
9 >
10 > IMO the portage directory doesn't belong under /usr at all. I was
11 > chatting with another developer who uses
12 > /var/cache/portage/{tree,distfiles}, and I'm thinking about
13 > switching my default setup to do this.
14 >
15 > I realize that historically the portage tree has been installed
16 > under /usr, but Can we consider changing this default for new
17 > installations and providing instructions for users for how to get
18 > the portage tree out of /usr? William
19 >
20
21 So, we're all getting way off topic and discussing reorganizing the
22 whole enchilada.
23
24 How about we all agree or disagree on the primary point: The Portage
25 tree doesn't belong in /usr.
26
27 I believe that it does belong under /var/cache/.
28
29 We can go a bit further and make it /var/cache/gentoo-repos/portage/.
30
31 That way Layman and friends can all make the move there quite simply
32 without major infrastructure changes.
33
34 The Portage PMS on it's next release would just do a 'mkdir
35 /var/cache/gentoo-repos/portage/ && sync && rm -rf /usr/portage &&
36 echo "Portage has moved"' on its next 'emerge --sync' while still
37 looking in both locations for packages.
38
39 (After looking at overlays, if /usr/portage exists, check there first,
40 if not found look in /var/cache/gentoo-repos/).
41
42 Other PMSs can then continue to use /usr/portage until they catch up.
43 It also allows 'emerge --sync' on older versions of the Portage PMS or
44 whatever the other PMSs use to continue working without breaking
45 everything.
46
47 We can continue forward with restructuring the tree in later stages,
48 but we can't move the tree and break compatibility in one go. There
49 must be stages to the restructuring. The first step is moving it to
50 the proper top/sub level directory.
51
52 So, I'm proposing we use /var/cache/gentoo-repos/portage/ as the
53 location of the official tree.
54
55 - - Aaron
56 -----BEGIN PGP SIGNATURE-----
57 Version: GnuPG v2.0.17 (GNU/Linux)
58 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
59
60 iF4EAREIAAYFAk9zW9oACgkQVxOqA9G7/aBU9gD9FnT7EOl6HZ8HJS0pWJyYJm6G
61 50VtLCyN8Rt6MBmkB1IBAIVH5tX0IEMe4frJ3tQmdYmqAJNhEwoX/UE/+e3Ihq2u
62 =oiG3
63 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] rfc: location of portage tree Christoph Mende <angelos@g.o>
Re: [gentoo-dev] rfc: location of portage tree Zac Medico <zmedico@g.o>
Re: [gentoo-dev] rfc: location of portage tree Brian Dolbec <dolsen@g.o>
Re: [gentoo-dev] rfc: location of portage tree Kent Fredric <kentfredric@×××××.com>