git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC/PATCH 0/3] JSON/XML output for scripting interface

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
Apr 11, 2010, 15:48 UTC
Message-ID
<k2pfabb9a1e1004110848u15859465qf14e3d40eb4ba877@mail.gmail.com>
In-Reply-To
<20100411112928.80010.1786.julian@quantumfyre.co.uk>
Heya,
On Sun, Apr 11, 2010 at 13:37, Julian Phillips <julian@quantumfyre.co.uk> wrote:
> Here is an attempt at making a format agnostic structured output library.  The
> idea being that the command doing the output doesn't have to care what the
> actual output format is, it just uses the abstract notion of objects and arrays.

How easy is it to add support for this to other commands using the infrastructure this command adds? I assume that we'd want to do this for all/most plumbing commands, so I think it's important that we make sure it's easy to add for other commands other than 'git status', no?

-- 
Cheers,

Sverre Rabbelier
Previous: Julian PhillipsNext: Julian Phillips
Message 16 of 24 in “JSON/XML output for scripting interface”
  1. 0/3 JSON/XML output for scripting interfaceJulian Phillips, Apr 11, 2010
  2. 1/3 strbuf: Add strbuf_vaddf functionJulian Phillips, Apr 11, 2010
  3. Erik Faye-LundApr 11, 2010
  4. Julian PhillipsApr 11, 2010
  5. 2/3 add a library of code for producing structured outputJulian Phillips, Apr 11, 2010
  6. Erik Faye-LundApr 11, 2010
  7. Julian PhillipsApr 11, 2010
  8. Jakub NarebskiApr 11, 2010
  9. Junio C HamanoApr 11, 2010
  10. Sverre RabbelierApr 11, 2010
  11. Julian PhillipsApr 11, 2010
  12. Jakub NarebskiApr 11, 2010
  13. Julian PhillipsApr 11, 2010
  14. Eric RaymondApr 11, 2010
  15. 3/3 status: add support for structured outputJulian Phillips, Apr 11, 2010
  16. Sverre RabbelierApr 11, 2010
  17. Julian PhillipsApr 11, 2010
  18. Sverre RabbelierApr 11, 2010
  19. Julian PhillipsApr 11, 2010
  20. Sverre RabbelierApr 11, 2010
  21. Jon SeymourApr 11, 2010
  22. Eric RaymondApr 11, 2010
  23. Jon SeymourApr 11, 2010
  24. Julian PhillipsApr 11, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.