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

Replies

Subject Author
Re: [gentoo-dev] .gitignore Brian Dolbec <dolsen@g.o>
Re: [gentoo-dev] .gitignore Mike Gilbert <floppym@g.o>