[gobolinux-devel] Options for MakeRecipe
Jonas Karlsson
jonka750 at student.liu.se
Thu Nov 23 07:04:12 UTC 2006
On Thu, 23 Nov 2006 00:54:53 +0100, Hisham Muhammad <hisham.hm at gmail.com>
wrote:
> On 11/22/06, Jonas Karlsson <jonka750 at student.liu.se> wrote:
>> I'm going though all scripts to use the Arg n and atm I'm stuck on
>> MakeRecipe. According to scriptUsage the arguments are "{{[<app_name>
>> [<app_version>]] <url>} | {<app_name> cvs -d <server> co <module>} |
>> {<app_name> svn co <svn url>}". What I wondered is: do we really specify
>> '-d' and 'co'? Wouldn't "{{[<app_name> [<app_version>]] <url>} |
>> {<app_name> cvs <server> <module>} | {<app_name> svn <svn url>}" be
>> better? We already know that we want to checkout the code and that '-d'
>> needs to be before the server argument when calling cvs.
>
> To make it simpler when copying and pasting from CVS instructions in
> websites (such as sourceforge.net).
>
Yes, I know why it's there, but my question is still if it's needed. I've
looked around and most of the times the URL is in the form "cvs -z3
-d:pserver:anonymous at cvs.savannah.nongnu.org:/sources/goboscripts co
<modulename>", where the module name isn't specified, so one cannot paste
it directly from the instructions anyway. Then I thought that why keep
'-d' and 'co' as those are redundant and it's not that much harder to
select only the
"pserver:anonymous at cvs.savannah.nongnu.org:/sources/goboscripts" part.
I'm ok with keeping them, just that I didn't find it easier if one had to
specify the '-d' and 'co'. There's one problem though: Parse_Option will
die with "unknown option: -d" unless the string is quoted or the option
'-d' is added to MakeRecipe.
--
/Jonas
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the gobolinux-devel
mailing list