<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Tue, 2010-10-05 at 10:55 +0200, Julien Cristau wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
<TT><FONT COLOR="#737373">> $ util/modular/build.sh $PREFIX --cmd "git pull"</FONT></TT><BR>
<TT><FONT COLOR="#737373">> </FONT></TT><BR>
<TT><FONT COLOR="#737373">> Would you consider it an example of having built every</FONT></TT><BR>
<TT><FONT COLOR="#737373">> module/component? It isn't strictly correct anymore to say the only</FONT></TT><BR>
<TT><FONT COLOR="#737373">> thing build.sh can do is build items. "can only be processed" is a</FONT></TT><BR>
<TT><FONT COLOR="#737373">> more general and correct phrase to explain the operation of build.sh.</FONT></TT><BR>
<TT><FONT COLOR="#737373">> </FONT></TT><BR>
<TT><FONT COLOR="#737373">> Although, since it's not strictly a spelling correction, the two</FONT></TT><BR>
<TT><FONT COLOR="#737373">> should probably be submitted as separate patches.</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#1a1a1a">You can do git pull on any OS, the only thing you can't do everywhere is</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">build the driver.</FONT></TT><BR>
<BR>
</BLOCKQUOTE>
There is an ambiguity here. New functions have been added, so the script can do <BR>
things that aren't strictly building. On other hand, this is a "build" script. It's main purpose in life<BR>
is to "build" the software. Added functions are accessories to "building". <BR>
<BR>
The reason why there are case statements is because the software won't build on the specified platforms,<BR>
not because it cannot be downloaded or even configured. Using "process", being more abstract,<BR>
can claim to be more correct, it cannot claim to be more useful.<BR>
<BR>
I would stick with the current comment as I think is the one that will be the most useful to readers.<BR>
It won't matter to 99% of users if the Sun legacy video driver can be downloaded on a MAC.<BR>
I am in the 1% as I work mostly on configuration, so I don't care if it builds or not on my platform.<BR>
Ideally, for me, there should be an option to by-pass the platform check. <BR>
<BR>
I have pushed the 3 patches in the first series.<BR>
<TT><FONT COLOR="#1a1a1a">[PATCH modular 1/3] Sanity check required cmdline arguments.</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">[PATCH modular 2/3] Add extra check for 'prefix'.</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">[PATCH modular 3/3] Better cmdline error parsing.</FONT></TT><BR>
<BR>
I suggest a new series be posted which takes into account the feedback received so far for:<BR>
<BR>
<TT>[PATCH modular 1/3] Process a user-supplied list of module/components.</TT><BR>
<TT><FONT COLOR="#1a1a1a">[PATCH modular 2/3] Fix spelling.</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">[PATCH modular 3/3] Enable progress on git clone.</FONT></TT><BR>
<BR>
This will make easier for reviewers.<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</BODY>
</HTML>