Gentoo Archives: gentoo-dev

From: Troy Dack <tad@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Interest Check: Dynamic config files for portage
Date: Tue, 01 Jul 2003 22:25:37
Message-Id: 45202.203.10.231.229.1057098334.squirrel@tkdack.bpa.nu
In Reply to: Re: [gentoo-dev] Interest Check: Dynamic config files for portage by William Kenworthy
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 I'll state now that I like the idea of multiple files.
5
6 Bill K wrote thusly ...
7 > This is the reason that ufed has become so popular, and I think
8 > necessary - the complexity is getting too much.
9
10 For USE flags the complexity has increased, mainly because the number of
11 USE flags has grown and it's not possible to remember every single flag
12 and what effect it is going to have on building of packages.
13
14 > Would a ufed like utility for make.conf be a better approach?
15
16 I really don't like the idea of YAGU (Yet Another Gentoo Utility). I
17 really like the fact that I can just edit the text files and I don't need
18 to start up a utility to do it.
19
20 The other reason I don't like YAGU is that someone will have to write it
21 and maintain it, this is not a trivial task as changes to portage will
22 eventually have some impact on how the utility is written and performs.
23
24 > I am not so keen on
25 > spawning a number of small bit files for a make.cond.d as that does not
26 > fix the managebility issue - you will have to edit many files in turn,
27 > instead of just one file every time.
28
29 OK, about the only time that you will have to edit many files in turn is
30 during the initial installation process. Personally I don't think that
31 this is a bad thing, if the documentation is accurate then the
32 installation process (editing the files) is an excellent educational
33 experience for new users.
34
35 This issue was initially raised due to the fact that a small change to
36 /etc/make.conf and then merging those changes using etc-update gets very
37 tiresome. Generally the changes are simply to the comments and the
38 comments of only one section. By having multiple files then only one file
39 (section) will be touched and you don't have to worry about the other 250
40 lines. [not having looked but could/can the "Merging trivial updates..."
41 stage of etc-update handle merging these comments?]
42
43 - --
44 Troy Dack
45
46 -----BEGIN PGP SIGNATURE-----
47 Version: GnuPG v1.2.2 (GNU/Linux)
48
49 iD8DBQE/AgpU/YkW+U2QvjwRAmiNAJwPx5STl3I8TW64n7tKHUpjeZv5SACgjg75
50 DtaaavUwXgeEfcgne01gaBA=
51 =IHun
52 -----END PGP SIGNATURE-----
53
54 --
55 gentoo-dev@g.o mailing list