1 |
There are patches to portage available that will handle automaticly updating |
2 |
config files that haven't changed. Do a search for etc-update on |
3 |
bugs.gentoo.org to find 'em. I'm sure that eventually this functionality will |
4 |
be integrated in portage, once there's a solution that deals correctly with |
5 |
all possible cases. |
6 |
|
7 |
Splitting config files in sections is useless, we can't dictate how other |
8 |
application developers should structure or load configuration files. |
9 |
|
10 |
Alain |
11 |
|
12 |
|
13 |
On Thu, Mar 06, 2003 at 11:31:23AM -0800, Balaji Srinivasan wrote: |
14 |
> One way these conflicts could be reduced is by separating out sections in |
15 |
> config files that will most probably be modified by the user and those which |
16 |
> are not. For example the USE directive and the CFLAGS directive from |
17 |
> make.conf could be moved to a separate file. That way whenever portage |
18 |
> changes, they wouldnt need to update those flags (or even if they did it |
19 |
> would be easy to merge). This is in ofcourse be in addition to having a way |
20 |
> for the user to indicate which files he is interested in and hence those |
21 |
> files should not be auto updated. Also maintaining a history of updates in a |
22 |
> separate directory would also |
23 |
> help. This way in case things do go wrong we still have access to the old |
24 |
> files. |
25 |
> |
26 |
> Balaji |
27 |
> |
28 |
> -----Original Message----- |
29 |
> From: Jason Giangrande [mailto:jason@××××××××××.org] |
30 |
> Sent: Thursday, March 06, 2003 11:30 AM |
31 |
> To: gentoo-user@g.o |
32 |
> Subject: Re: [gentoo-user] etc-update |
33 |
> |
34 |
> |
35 |
> Ian, that was my point exactly. |
36 |
> |
37 |
> I'm not saying that, by default, etc-update should update all files |
38 |
> automatically but being able to tell it to update all files that I know |
39 |
> I haven't manually changed would be a good thing. |
40 |
> |
41 |
> Jason |
42 |
> |
43 |
> Ian Truelsen wrote: |
44 |
> |
45 |
> >On Thu, 6 Mar 2003 13:53:00 -0500 |
46 |
> >"Todd Punderson" <todd@××××××.net> wrote: |
47 |
> > |
48 |
> > |
49 |
> > |
50 |
> >>Blindly merging new config files is extremely dangerous. As much of a |
51 |
> >>pain as it is, it is of utmost importance that you take the time to |
52 |
> >>review the changes and be sure they make sense for your system. You |
53 |
> >>surely wouldn't want your make.conf to just be overwritten. Not |
54 |
> >>updating or blindly updating the files in /etc is probably one of the |
55 |
> >>top reasons for system problems. There is a nice new feature that will |
56 |
> >>automatically update insignificant changes to the config files. Check |
57 |
> >>out /etc/etc-update.conf. Todd |
58 |
> >> |
59 |
> >> |
60 |
> >> |
61 |
> >True enough, but isn't there some way that we could track whether a |
62 |
> >config file has been altered? It seems to me that, except in very odd |
63 |
> >cases, a config file that has not been altered could just be updated |
64 |
> >automatically. |
65 |
> > |
66 |
> >Of course, I may be biased by having just updated to X 4.3 and had to |
67 |
> >cruise through 75 config files in etc-update. I think I wore out the |
68 |
> >colon and q keys :) |
69 |
> > |
70 |
> > |
71 |
> > |
72 |
> |
73 |
> -- |
74 |
> -Jason Giangrande |
75 |
> giangrande.org - http://www.giangrande.org <http://www.giangrande.org/> |
76 |
> Dog's I View - http://www.dogsiview.com <http://www.dogsiview.com/> |
77 |
> |
78 |
> |
79 |
> -- |
80 |
> gentoo-user@g.o mailing list |
81 |
> |
82 |
> -- |
83 |
> gentoo-dev@g.o mailing list |
84 |
> |
85 |
|
86 |
-- |
87 |
gentoo-dev@g.o mailing list |