1 |
On Sun, 2003-09-07 at 22:37, Doug Weimer wrote: |
2 |
> On Sun, 2003-09-07 at 10:27, Martin Schlemmer wrote: |
3 |
> <snip> |
4 |
> > As I posted in other mails - there are a few good reasons why we do |
5 |
> > things as we do, and the CONFIG_EXCLUDE might be a solution to the |
6 |
> > 'problem' (which in my opinion is still not CONFIG_PROTECT or 100% |
7 |
> > the comments in the config files, but rather the 'merge process needed |
8 |
> > for config files). |
9 |
> |
10 |
> What about a modification to etc-update that allows portions of a file |
11 |
> to be protected? Something along the lines of: |
12 |
> |
13 |
> #Instructional comments |
14 |
> #PROTECTED |
15 |
> |
16 |
> CFLAGS="..." |
17 |
> |
18 |
> #/PROTECTED |
19 |
> |
20 |
> Such tags and a method to auto-merge comment updates should eliminate a |
21 |
> lot of the superfluous config file merging. |
22 |
> |
23 |
> Just a thought, |
24 |
> |
25 |
|
26 |
Have a look at dispatch-conf (ok, so its new for me as well ;) |
27 |
|
28 |
--------------------------------------------- |
29 |
On Sun, 2003-09-07 at 22:21, Thomas de Grenier de Latour wrote: |
30 |
> On Sun, 7 Sep 2003 20:41:56 +0100 (BST) |
31 |
> Phil Richards <news@××××××××××××××××××××.uk> wrote: |
32 |
> |
33 |
> > On 2003-09-06, Thomas de Grenier de Latour <degrenier@×××××××××××.fr> |
34 |
> > wrote: |
35 |
> > > Python replacement for etc-update: |
36 |
> > > http://bugs.gentoo.org/show_bug.cgi?id=14079 |
37 |
> > |
38 |
> > Ok, read all that. Found out what it is meant to be. |
39 |
> > Didn't find the any hints about how to solve the error message. |
40 |
> |
41 |
> You have to create a backup directory somewhere. Set its location in |
42 |
> "/etc/dispatch-conf.conf". (Default is /etc/config-archive, but I |
43 |
> personally use /var/backup/config). While you are in this conf file, you |
44 |
> should also decide whether you want the backup to be a collection of |
45 |
> files or a RCS repository. And you can choose the type of |
46 |
> automatic merges you want (I use automatic CVS header merge and |
47 |
> unmodified files auto-upgade). |
48 |
> |
49 |
> And then you're ready to go, "alias etc-update=dispatch-conf" :) |
50 |
|
51 |
|
52 |
-- |
53 |
|
54 |
Martin Schlemmer |
55 |
Gentoo Linux Developer, Desktop/System Team Developer |
56 |
Cape Town, South Africa |