Gentoo Archives: gentoo-dev

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: .gitignore
Date: Thu, 13 Aug 2015 22:30:54
Message-Id: pan$1f441$98459b3a$352322da$90a4fe37@cox.net
In Reply to: Re: [gentoo-dev] .gitignore by wireless
1 wireless posted on Thu, 13 Aug 2015 08:33:13 -0500 as excerpted:
2
3 > On 08/12/2015 09:52 PM, Mike Frysinger wrote:
4 >> On 12 Aug 2015 18:27, Brian Dolbec wrote:
5 >>> 2) There is another alternate location that you can define files to
6 >>> ignore locally without having to commit them to .gitignore.
7 >>> Consider .gitignore a global setting. There is another setting inside
8 >>> .git/info/exclude which is a local config file that will persist and
9 >>> not be affected by pulls.
10 >>
11 >> as i stated, there's no reason for these paths to ever be committed.
12 >> conversely, some people (not unreasonably so) will place files in there
13 >> that have historically had known meanings. adding these to the global
14 >> gitignore is simply the right thing to do and negatively impacts no
15 >> one.
16 >
17 > As a gentoo user now coding again, I find the need to have things
18 > "logically organized" really helps in my efforts. Like most others, I
19 > get codes from a variety of places and try to follow the 'logical gentoo
20 > organization'. I use /usr/local/portage extensively for ebuilds that I
21 > develop. There is also /opt/ which seems to collect up a variety of
22 > ebuilds
23
24
25 Confused...
26
27 What do /opt and /usr/local/portage have to do with the gentoo
28 repo's .gitignore, which should only need ignore settings for locations
29 inside the main tree, /usr/portage by default? A .gitignore listing for
30 /usr/portage/local and /usr/portage/distfiles, etc, makes sense, since
31 that's inside the default tree location. But /opt and /usr/local/portage
32 aren't inside that default location and are thus about as apropos to that
33 as the price of tea on Mars, aren't they?
34
35 --
36 Duncan - List replies preferred. No HTML msgs.
37 "Every nonfree program has a lord, a master --
38 and if you use the program, he is your master." Richard Stallman

Replies

Subject Author
Re: [gentoo-dev] Re: .gitignore wireless <wireless@×××××××××××.com>