Gentoo Archives: gentoo-dev

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] .gitignore
Date: Wed, 12 Aug 2015 22:12:01
Message-Id: 55CBC4A1.8060502@gmail.com
In Reply to: Re: [gentoo-dev] .gitignore by James Le Cuirot
1 On 12/08/2015 23:29, James Le Cuirot wrote:
2 > Mike Frysinger <vapier <at> gentoo.org> writes:
3 >
4 >>
5 >> On 10 Aug 2015 09:17, Michał Górny wrote:
6 >>> Dnia 2015-08-10, o godz. 02:42:21 Mike Frysinger napisał(a):
7 >>>> On 10 Aug 2015 08:28, Justin (jlec) wrote:
8 >>>>> I like to propose to add the md5-cache into it. Which other
9 >>>>> files are of interest?
10 >>>>
11 >>>> /distfiles/
12 >>>> /local/
13 >>>> /packages/
14 >>>
15 >>> Those directories should not be ignored. Those should not exist for
16 >>> a long time.
17 >>
18 >> there's no reason people can't use these on their own system.
19 >> there's no reason they should be added to the git repo which means,
20 >> if a user opted to utilize them, they should be ignored.
21 >
22 > I agree and I'm not sure what mgorny is basing his statement on anyway.
23 > Apart from /local/, which I forget the purpose of, the default locations
24 > for DISTDIR and PKGDIR still seem to be /usr/portage/distfiles
25 > and /usr/portage/packages. I must admit that I'm struggling to find the
26 > logic for this in Portage but those are the defaults nonetheless. So
27 > why would they not exist? I'm certainly using them here and I would
28 > like to see them in .gitignore.
29 >
30
31
32 /usr/portage/local was the original location for the user's own personal
33 ebuild space - an "overlay" if you will.
34 /usr/portage/distfiles and /usr/portage/packages are there because
35 that's where ports has put them for decades, and no-one has gotten
36 around to changing it in portage yet. FreeBSD defines the use of /usr
37 very differently to what Linux users are used to.
38
39 Those dirs really should be in /var/portage, and the user's overlay has
40 no business being under main tree itself
41
42 --
43 Alan McKinnon
44 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-dev] .gitignore James Le Cuirot <chewi@g.o>