Gentoo Archives: gentoo-soc

From: Fabian Groffen <grobian@g.o>
To: gentoo-soc@l.g.o
Subject: Re: [gentoo-soc] [SOC Ebuild generator project] Introduction and C&C
Date: Mon, 21 Mar 2011 09:10:29
Message-Id: 20110321091010.GI72718@gentoo.org
In Reply to: [gentoo-soc] [SOC Ebuild generator project] Introduction and C&C by darkdefende@gmail.com
1 Hi Sebastian,
2
3 On 20-03-2011 19:18:54 +0100, darkdefende@×××××.com wrote:
4 > I was thinking about doing a ebuild generator like a "install wizard". What
5 > I mean with this is that it will have input fields for deps, useflags, where
6 > to get the sources and how (tarball?/Git?/SVN?...) and the different stages
7 > in the ebuild (unpack,compile,install...).
8
9 Have you considered a 100% automatic ebuild generator? Based on
10 heuristics you can come quite far in generating a first shot. Think of
11 tools like autoscan, and what brew create[1] for instance do.
12
13 > However I aim at making it as simple so that it will basically "ask" you how
14 > you would build it normally and it will put together an ebuild for you.
15
16 What are the questions you envisage to present the user here?
17
18 > This will obviously be usefull for beginners or people (perhaps devs?) that
19 > doesn't use gentoo. It might also come in handy with small projects.
20 > But that doesn´t mean that I'll not try to make it usefull for larger projects
21 > as well.
22
23 In general, trying to come up with a use-case (or two) helps to get
24 yourself a focus on what you would like to do, and what not. A clearly
25 defined project has multiple advantages for everyone involved.
26
27 > An other thing is that I will make the generator independent of the GUI so that
28 > you can write clients to it in whatever you wish. But I will mainly focus on
29 > a GTK client first to get it working. After that I will try to make a webapp
30 > for it as dol-sen on the IRC channel suggested.
31
32 How about interaction with an editor, such as Vim? Would a command-line
33 based core be acceptable for you? It would help you to get it accepted
34 in a broader audience.
35
36 > C&C is hugely appreciated to flesh out this proposal.
37
38 What language(s) would you like to use to work this thing out?
39 Perhaps try to fit approaches like Perl's GPAN into your proposal.
40 Likewise, Python's pypi packages may inspire you how to fully
41 automatically create an ebuild from just an url.
42
43
44 [1] http://mxcl.github.com/homebrew/
45
46 Regards,
47
48 --
49 Fabian Groffen
50 Gentoo on a different level

Replies