Gentoo Archives: gentoo-dev

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

Replies

Subject Author
Re: [gentoo-dev] .gitignore Alan McKinnon <alan.mckinnon@×××××.com>