<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Those darned IRC people, always advising people to use undocumented
options... Sheesh.<br>
<br>
On 08/06/2012 07:10 PM, James wrote:
<blockquote cite="mid:1344305416.9973.8.camel@freed" type="cite">
<pre wrap="">On Tue, 2012-08-07 at 07:33 +0530, Kaushal M wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi James,
This is the first time I've heard of someone in the community using
the '--xml' flag.
</pre>
</blockquote>
<pre wrap="">Cool :) I'll be posting my updated code that uses this in my
<a class="moz-txt-link-freetext" href="https://github.com/purpleidea/puppet-gluster">https://github.com/purpleidea/puppet-gluster</a> shortly. The --xml flag was
suggested by someone in irc, as a stable alternative to parsing the
normal command line output (messy).
</pre>
<blockquote type="cite">
<pre wrap="">This flag has not been tested extensively, so there are bound to be
some errors, inconsistencies and incompleteness. We are trying to fix
it and stabilize it as much as possible. So if you do find any bugs
(which you will) please report them.
</pre>
</blockquote>
<pre wrap="">Will do :) It seems to be working at the moment 3.3
James
</pre>
<blockquote type="cite">
<pre wrap="">
Cheers,
Kaushal
On 7 Aug 2012 01:58, "James" <a class="moz-txt-link-rfc2396E" href="mailto:purpleidea@gmail.com"><purpleidea@gmail.com></a> wrote:
Hi there,
I'm currently using the --xml flag when running gluster via
automatic
scripts such as via puppet exec. Please keep this stable :)
Thank you!
James
On Mon, 2012-08-06 at 12:31 +0530, Amar Tumballi wrote:
> Hi All,
>
> We are in the process of improving our log messages, and
message outputs
> through CLI. As a first step, we want to make sure our CLI
outputs are
> both meaningful and script friendly (for people who want to
use the CLI
> output in their scripts).
>
> We are taking few baby steps in this regard in upstream
(master branch).
> I recently sent a patch <a class="moz-txt-link-freetext" href="http://review.gluster.com/3753">http://review.gluster.com/3753</a> which
tries to
> separate out most of the error messages by outputting it to
stderr
> instead of stdout.
>
> In the meantime, I tried to keep it script friendly too.
With that patch
> going in, the problem is, if any of you have written scripts
which greps
> for specific pattern in the CLI output, will be broken when
the next
> major release happens.
>
> So, I want your feed back on getting it right by involving
you all to
> make the messages more friendlier to both script writers,
and also to
> admins who would understand the messages properly. (ie,
meaning of the
> messages should be unambiguous).
>
> To try to see the difference in CLI outputs, you need to
checkout git
> repo, and build locally, as there are no releases available
at the moment.
>
>
> Thanks and Regards,
> Amar
> _______________________________________________
> Gluster-users mailing list
> <a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
> <a class="moz-txt-link-freetext" href="http://gluster.org/cgi-bin/mailman/listinfo/gluster-users">http://gluster.org/cgi-bin/mailman/listinfo/gluster-users</a>
_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://gluster.org/cgi-bin/mailman/listinfo/gluster-users">http://gluster.org/cgi-bin/mailman/listinfo/gluster-users</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://gluster.org/cgi-bin/mailman/listinfo/gluster-users">http://gluster.org/cgi-bin/mailman/listinfo/gluster-users</a></pre>
</blockquote>
</blockquote>
</body>
</html>