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

Re: [PATCH v8 1/2] json_writer: new routines to create data in JSON format

From
JHJeff Hostetler <git@jeffhostetler.com>
Date
Jun 11, 2018, 11:43 UTC
Message-ID
<134901ed-eab9-b921-9c81-4397430c0069@jeffhostetler.com>
In-Reply-To
<f1154c86-9d11-f272-643f-4316be40e9b7@web.de>
On 6/8/2018 2:05 AM, René Scharfe wrote:
> Am 07.06.2018 um 16:12 schrieb git@jeffhostetler.com:
>> From: Jeff Hostetler <jeffhost@microsoft.com>
>>
>> Add a series of jw_ routines and "struct json_writer" structure to compose
[...]
Show 16 quoted lines
>>   TEST_PROGRAMS_NEED_X += test-index-version
>> +TEST_PROGRAMS_NEED_X += test-json-writer>  TEST_PROGRAMS_NEED_X += test-lazy-init-name-hash
>>   TEST_PROGRAMS_NEED_X += test-line-buffer
>>   TEST_PROGRAMS_NEED_X += test-match-trees
> 
> This doesn't apply cleanly on master, because most test helpers have
> been combined into a single binary to reduce their disk footprint and
> link times.  See efd71f8913 (t/helper: add an empty test-tool program)
> for the overall rationale.
> 
> test-json-writer could become a built-in as well, I think.  You can see
> e.g. in c932a5ff28 (t/helper: merge test-string-list into test-tool)
> what needs to be done to convert a helper.
> 
> René
> 

You're right, the test helper framework changed since I started this patch series. I was trying to keep the same parent commit as my V1 to make it easier to compare, but that's not working out so well.

I'll move it forward to the current master and fix it up.

Thanks, Jeff

Previous: René ScharfeNext: René Scharfe
Message 6 of 13 in “json-writer V8”
  1. 0/2 json-writer V8git@jeffhostetler.com, Jun 7, 2018
  2. 1/2 json_writer: new routines to create data in JSON formatgit@jeffhostetler.com, Jun 7, 2018
  3. Eric SunshineJun 7, 2018
  4. Jeff HostetlerJun 8, 2018
  5. René ScharfeJun 8, 2018
  6. Jeff HostetlerJun 11, 2018
  7. René ScharfeJun 8, 2018
  8. Jeff HostetlerJun 11, 2018
  9. René ScharfeJun 8, 2018
  10. Jeff HostetlerJun 11, 2018
  11. 2/2 json-writer: t0019: add perl unit testgit@jeffhostetler.com, Jun 7, 2018
  12. Eric SunshineJun 7, 2018
  13. Jeff HostetlerJun 11, 2018

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.