Gentoo Archives: gentoo-dev

From: Todd Wright <wylie@××××××××××.org>
To: gentoo-dev@g.o
Subject: RE: [gentoo-dev] Config Idea
Date: Mon, 22 Apr 2002 20:22:58
Message-Id: NCEBJBHELIGGHDDGAEGNAEMPDJAA.wylie@geekasylum.org
In Reply to: Re: [gentoo-dev] Config Idea by Yannick Koehler
1 > > Another point I want to make here (on the original 1 vs many
2 > files): it is
3 > > far more easier to update many files that a single big one.
4 >
5 > It is actually not easier for everyone. It is easier once you've
6 > done it once
7 > or twice so that you know which files you don't play with. But
8 > once you know
9 > it then it also become easy to skip part of a single file if the
10 > tools that
11 > you use present the different change inside that file in block. This is
12 > exactly what xml can offer.
13
14 This is exactly what I have been talking about - experience. Would you hire a system administrator to configure your system who had NOT done it a few times? While agree that it is admirable that you are trying to cater for the newbies, they MUST learn this stuff. Doing it for them is not helping them learn. If they dont learn it, then they will have major problems the first time something breaks and they need to fix it.
15
16 > The simple fact that etc-update tool exists prove that handling
17 > many file is
18 > actually harder than a single one. Otherwise that tool wouldn't
19 > have been
20 > wrote or wouldn't be used by administrator or normal users.
21
22 No. It does not prove that. I may have been on the fence about one vs many earlier, but thinking about it I would much rather the many config files approach. It makes it simple to go directly to the file I want to edit without having to scroll through pages and pages of unrelated stuff. It also makes it impossible to break anything not related to the change Im making.
23
24 The etc-update tool does not prove that this is difficult. It proves that it is tedious to mass-update your system after installing a package makes 20 or more changes to /etc (which just happened to me). Presumably you have customised your system, and presumably new versions of packages add new functionality and coresponding new configuration parameters. You need to merge the new with the old, and etc-update makes that simpler by showing you the differences between the two. While I dont normally use etc-update, in this instance I will because it makes my task of merging new configuration with old simpler.
25
26 Imagine trying to edit a single file, keeping some older parameters that you have customised and adding new parameters at the same time. You have stated that the configuration would be generated from a single master xml file. You have even talked about such a tool to keep this master file up to date. Does that prove that handling a single file is more dificult?
27
28 You are contradicting yourself which proves to me that the idea has not properly formulated in your mind. You are comming up with arguments that do not make sense, simply to support your view, whichever way the wind blows it at the time. These are the tactics of a Troll. (no its not an insult - if you dont know what a Troll is, search a few mailing lists or ask in the newsgroups). I havnt made my mind up if you are serious yet or just Trolling. If you are serious, then when you do some more thinking about it, im sure you too will see its a bad idea.
29
30 -- _--_|\ --------- Todd Wright -- wylie@××××××××××.org --------
31 / \
32 \_.--._* <--- http://www.dreams.darker.net/~wylie/
33 v Mobile: +61-403-796-001 Ph: +61-2-9521-8677
34 ----------------------------------------------------------------

Replies

Subject Author
Re: [gentoo-dev] Config Idea Yannick Koehler <yannick.koehler@××××××××.com>