Gentoo Archives: gentoo-dev

From: Jason Cooper <gentoo@××××××××××.net>
To: Donnie Berkholz <spyderous@g.o>, gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] consistent Gentoo tool names
Date: Tue, 16 Mar 2004 20:21:32
Message-Id: 20040316202811.GF32504@lakedaemon.net
In Reply to: Re: [gentoo-dev] consistent Gentoo tool names by Donnie Berkholz
1 Donnie Berkholz (spyderous@g.o) scribbled:
2 > On Tue, 2004-03-16 at 13:51, Sven Vermeulen wrote:
3 > > On Tue, Mar 16, 2004 at 11:34:57AM -0500, Donnie Berkholz wrote:
4 > > > Granted it's ad hoc, but it's not official to my knowledge.
5 > >
6 > > Official or not, we should try to *not* confuse our users. A quick search on
7 > > my own system find the following *-config:
8 >
9 > OK, current names of tools I think should be config-*:
10 >
11 > x11-base/opengl-update -> config-opengl
12 > distcc-config -> config-distcc
13 > config-kernel
14 > app-admin/zope-config -> config-zope
15 > app-sci/blas-config -> config-blas
16 > dev-java/java-config -> config-java
17 > dev-ruby/ruby-config -> config-ruby
18 > net-www/webapp-config -> config-webapp
19 > sys-devel/cc-config -> config-cc
20 > sys-devel/gcc-config -> config-gcc
21 >
22 > While I'm at it, any *-update{,r} scripts that aren't related to
23 > configuration can be renamed to update-*:
24 >
25 > modules-update -> update-modules
26 > env-update -> update-env
27 > python-updater -> update-python
28 > etc-update -> update-etc
29
30 Don't forget
31
32 rc-update -> update-rc
33
34 or
35
36 gen-update-rc ? :)
37
38 >
39 > I realize the update-env and update-etc are fairly major changes, but I
40 > feel a more consistent way to find Gentoo config and update tools is
41 > needed.
42 >
43 > Finally, I was pondering a gentoo-* prefix on all of these, to ensure an
44 > even more consistent and easily findable set of tools. That way,
45 > `gentoo-<tab><tab>` would find every Gentoo tool.
46
47 users like <tab><tab> <grin>
48
49 And maybe a warning wrapper for a month or two, eg:
50
51 ##############
52 #!/bin/sh
53 # rc-update wrapper
54
55 echo "WARNING... 'rc-update' depreciated, use 'gen-update-rc' instead."
56 echo "See 'man <umpty-scrunch>' for new gentoo tools naming standards."
57
58 # some call to gen-update-rc with all command line args.
59 ##############
60
61 Or put a test in the scripts and do a symlink...
62
63 Just my 2c
64
65 Cooper.
66
67
68 --
69 gentoo-dev@g.o mailing list