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

Re: [PATCH] git-remote-mediawiki: bugfix for pages w/ >500 revisions

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Sep 23, 2013, 18:26 UTC
Message-ID
<20130923182601.GC9464@google.com>
In-Reply-To
<vpqsiwwejxz.fsf@anie.imag.fr>
Matthieu Moy wrote:
> Benoit Person <benoit.person@gmail.com> writes:
Show 6 quoted lines
>> For now, if the tests suite is run without the fix, the new test
>> introduces an infinite loop. I am not sure if this should be handled ?
>> (a timeout of some kind maybe ?)
>
> If the patch fix this, then it's not a really big problem. The test
> failure is an infinite loop.
Yes, I think it's fine.
>                              That would be problematic if ran
> non-interactively, but I think it's Ok since we only run the testsuite
> manually.

Some distros (e.g., Debian) occasionally do run the testsuite automatically, but it is still fine since they have a timeout that varies by platform to detect if the test has stalled. I suppose ideally git's test harness could learn to do the same thing some day, but for now it's easier one level above since an appropriate timeout depends on the speed on the platform, what else is creating load on the test machine, and other factors that are probably not easy for us to guess.

(other tweaks snipped)
Thanks, both.
Previous: Matthieu Moy
Message 3 of 3 in “git-remote-mediawiki: bugfix for pages w/ >500 revisions”
  1. git-remote-mediawiki: bugfix for pages w/ >500 revisionsBenoit Person, Sep 22, 2013
  2. Matthieu MoySep 22, 2013
  3. Jonathan NiederSep 23, 2013

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.