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

Re: What's cooking in git.git (Jun 2019, #07; Fri, 28)

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 3, 2019, 11:13 UTC
Message-ID
<nycvar.QRO.7.76.6.1907031308150.44@tvgsbejvaqbjf.bet>
In-Reply-To
<xmqqftno2mku.fsf@gitster-ct.c.googlers.com>
Hi,
On Tue, 2 Jul 2019, Junio C Hamano wrote:
Show 66 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
>
> > * nd/index-dump-in-json (2019-06-26) 11 commits
> >  - SQUASH???
> >  - t3008: use the new SINGLE_CPU prereq
> >  - read-cache.c: dump "IEOT" extension as json
> >  - read-cache.c: dump "EOIE" extension as json
> >  - resolve-undo.c: dump "REUC" extension as json
> >  - fsmonitor.c: dump "FSMN" extension as json
> >  - split-index.c: dump "link" extension as json
> >  - dir.c: dump "UNTR" extension as json
> >  - cache-tree.c: dump "TREE" extension as json
> >  - read-cache.c: dump common extension info in json
> >  - ls-files: add --json to dump the index
> >
> >  "ls-files" learned "--debug-json" option to dump the contents and
> >  the extensions of the index file.
>
> The t3011 test in this topic seems timing-dependent-flaky.
>
> When we get "not ok 3 - ls-files --json, split index",
> the "filtered" one looks like this:
>
> $ diff -U999 t/t3011/split-index filtered
> --- t/t3011/split-index	2019-07-02 13:17:19.676719212 -0700
> +++ filtered	2019-07-02 13:40:32.068638361 -0700
> @@ -1,39 +1,19 @@
>  {
>    "version": 2,
>    "oid": <string>,
>    "mtime_sec": <number>,
>    "mtime_nsec": <number>,
>    "entries": [
> -    {
> -      "id": 0,
> -      "name": "",
> -      "mode": "100644",
> -      "flags": 0,
> -      "oid": <string>,
> -      "stat": {
> -        "ctime_sec": <number>,
> -        "ctime_nsec": <number>,
> -        "mtime_sec": <number>,
> -        "mtime_nsec": <number>,
> -        "device": <number>,
> -        "inode": <number>,
> -        "uid": <number>,
> -        "gid": <number>,
> -        "size": 4
> -      },
> -      "file_offset": <number>
> -    }
>    ],
>    "extensions": {
>      "link": {
>        "file_offset": <number>,
>        "ext_size": <number>,
>        "oid": <string>,
>        "delete_bitmap": [
>        ],
>        "replace_bitmap": [
> -        0
>        ]
>      }
>    }
>  }

ACK, I saw this quite a couple of times in the Azure Pipeline, too. It's an unreliable test case all right.

Ciao, Dscho

Previous: Junio C Hamano
Message 12 of 12 in “What's cooking in git.git (Jun 2019, #07; Fri, 28)”
  1. Junio C HamanoJun 28, 2019
  2. ab/no-kwset, was Re: What's cooking in git.git (Jun 2019, #07; Fri, 28)Johannes Schindelin, Jul 1, 2019
  3. Junio C HamanoJul 1, 2019
  4. Ævar Arnfjörð BjarmasonJul 1, 2019
  5. Johannes SchindelinJul 2, 2019
  6. Rohit AshiwalJul 1, 2019
  7. Junio C HamanoJul 1, 2019
  8. Taylor BlauJul 1, 2019
  9. Junio C HamanoJul 1, 2019
  10. Taylor BlauJul 1, 2019
  11. Junio C HamanoJul 2, 2019
  12. Johannes SchindelinJul 3, 2019

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.