1 |
On Saturday 01 May 2004 02:33, Stuart Herbert wrote: |
2 |
> On Saturday 01 May 2004 01:13, Grant Goodyear wrote: |
3 |
> > Oh, dear. I'm afraid I wasn't very clear about what I meant. I didn't |
4 |
> > mean that it's hard to write an interactive script, of course that's |
5 |
> > reasonably straightforward. What I was trying, rather poorly, to say |
6 |
> > was that one of the long-time tenets of Gentoo has always been that it |
7 |
> > should be possible for people to write simple scripts to _install_ |
8 |
> > ebuilds. For example, somebody should be able to write a poor-man's |
9 |
> > "kickstart" that would build and install a desired set of ebuilds, |
10 |
> > perhaps with customized USE flags. Or use cfengine to install a |
11 |
> > particular well-tested ebuild on one hundred machines. To the best of |
12 |
> > my knowledge having interactive ebuilds would make _that_ sort of |
13 |
> > scripting much more difficult. |
14 |
> > |
15 |
> > Does that make more sense? |
16 |
> |
17 |
> Yup. |
18 |
> |
19 |
> Like I said, it would only have to ask for information that wasn't |
20 |
> available from the cache of answers. Provided there was a tool to pre-edit |
21 |
> the cache - something I suggested earlier - then your scenarios would work. |
22 |
|
23 |
I agree with such a setup. Have a way in which - optionally - the ebuild can |
24 |
be preconfigured. This configuration would need to be selfcontained in such a |
25 |
way that the configuration files can be copied and created at any time. |
26 |
|
27 |
Paul |
28 |
|
29 |
ps. Besides this I feel the need to allow per-ebuild descriptions on useflags. |
30 |
Those descriptions would describe what the consequences of the useflags are. |
31 |
Like for subversion the berkdb useflag signifies whether the server part gets |
32 |
build (because berkdb is needed for that), it would be very usefull to have |
33 |
some easilly accessible description for it. |
34 |
|
35 |
-- |
36 |
Paul de Vrieze |
37 |
Gentoo Developer |
38 |
Mail: pauldv@g.o |
39 |
Homepage: http://www.devrieze.net |