Mailinglist Archive: opensuse-softwaremgmt (13 mails)
| < Previous | Next > |
Re: [softwaremgmt] zypper output for machine consumption (--xml, --terse, gui front-ends)
- From: Thomas Goettlicher <thomas.goettlicher@xxxxxxx>
- Date: Wed, 05 Sep 2007 09:44:46 +0200
- Message-id: <1188978287.12175.10.camel@xxxxxxxxxxxx>
Am Dienstag, den 04.09.2007, 19:59 +0200 schrieb Jan Kupec:
> I think XML is well-suited for the machine-readable output and we should
> continue using it here. Current tag/attribute set will need to be
> extended and documented, a DTD will be needed.
I documented the xml tags that I know in the wiki:
http://en.opensuse.org/Standards/Zypper_Xml
> The --terse option was inherited from rug, but not implemented until
> Thomas made use of it. I don't know much about how it worked (or works)
> in rug, though, but i'm sure it did not write XML. I suggest to start
> using --xml or --xmlout global option instead of --terse in the future.
> The --terse option can probably be dropped (but left available for the
> rug compatibility mode and implemented in rug's way).
I would prefer --xml, because --xmlout limits to one-way communication.
Perhaps we want to talk duplex in the future. For example when user
input is needed for accepting licenses or solving dependencies.
Thomas
--
To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-softwaremgmt+help@xxxxxxxxxxxx
> I think XML is well-suited for the machine-readable output and we should
> continue using it here. Current tag/attribute set will need to be
> extended and documented, a DTD will be needed.
I documented the xml tags that I know in the wiki:
http://en.opensuse.org/Standards/Zypper_Xml
> The --terse option was inherited from rug, but not implemented until
> Thomas made use of it. I don't know much about how it worked (or works)
> in rug, though, but i'm sure it did not write XML. I suggest to start
> using --xml or --xmlout global option instead of --terse in the future.
> The --terse option can probably be dropped (but left available for the
> rug compatibility mode and implemented in rug's way).
I would prefer --xml, because --xmlout limits to one-way communication.
Perhaps we want to talk duplex in the future. For example when user
input is needed for accepting licenses or solving dependencies.
Thomas
--
To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-softwaremgmt+help@xxxxxxxxxxxx
| < Previous | Next > |