[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] monotone automate stdio
From: |
jc007b6093 |
Subject: |
Re: [Monotone-devel] monotone automate stdio |
Date: |
Fri, 20 May 2005 09:50:15 +0100 (BST) |
User-agent: |
SquirrelMail/1.4.3a |
Much as I hate to be Windows specific - piping commands into a single
process is normally *much* more efficient under Windows - Windows doesn't
like continuously forking processes (empirical observation), and
invocation of monotone each time a command is requested - the GUIs can
ask for a lot of information - would not be very performant.
Joel
>>>> Just a small comment; maybe a format using the numeric prefix
>>>> familiar to us all from RFCs like
>>>>
>>>> 200 OK UNKNOWN test/foo
>>>> 201 foo.h
>>>> 201 foo.c
>
> I know it makes sense to add something like this in general.
> But I am against it.
>
> The beauty of "automate" (in my eyes) is its simplicity. You run a
> command. You get back a simple list of information. That's it.
> I propose to give other feedback (an error occured, the query was
> non-sensical) through an error code when mt exits, or through stderr.
> This makes it darn easy to parse it with some scripts without the need
> to have delimiters, escape delimiters, ...
>
> If you need more information, use that
> sed/perl/awk-within-monotone-minilanguage which is being developed to
> control the format, possibly having something like %n for a "error" code
> as you propose. Other will be able to fill in more about this...
>
> spaetz
>
>
> _______________________________________________
> Monotone-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/monotone-devel
>
>
- Re: [Monotone-devel] monotone automate stdio, (continued)
- Re: [Monotone-devel] monotone automate stdio, Joel Crisp, 2005/05/15
- Re: [Monotone-devel] monotone automate stdio, Jerome Fisher, 2005/05/18
- Re: [Monotone-devel] monotone automate stdio, Timothy Brownawell, 2005/05/18
- Re: [Monotone-devel] monotone automate stdio, Sebastian Spaeth, 2005/05/19
- Re: [Monotone-devel] monotone automate stdio, Timothy Brownawell, 2005/05/19
- Re: [Monotone-devel] monotone automate stdio,
jc007b6093 <=
- Re: [Monotone-devel] monotone automate stdio, Matthew A. Nicholson, 2005/05/20
Re: [Monotone-devel] monotone automate stdio, Nathaniel Smith, 2005/05/18
- Re: [Monotone-devel] monotone automate stdio, Timothy Brownawell, 2005/05/18
- Re: [Monotone-devel] monotone automate stdio, Nathaniel Smith, 2005/05/19
- Re: [Monotone-devel] monotone automate stdio, Timothy Brownawell, 2005/05/20
- Re: [Monotone-devel] monotone automate stdio, Nathaniel Smith, 2005/05/20
- Re: [Monotone-devel] monotone automate stdio, Timothy Brownawell, 2005/05/21
Re: [Monotone-devel] monotone automate stdio, Grahame Bowland, 2005/05/15