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

Re: [PATCH] t9010: svnadmin can fail even if available

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 7, 2011, 18:54 UTC
Message-ID
<7vfwt47det.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20110107165837.GA8062@kytes>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
Show 21 quoted lines
> Jonathan Nieder writes:
>> To do the same for t91* would be impossible.  If svn is broken or not
>> installed, svn-fe will run fine, but "git svn" will not.  On the other
>> hand, if svnadmin were broken but svn still worked, "git svn" would be
>> fine but that would be quite strange and I do not think it is worth
>> spending time to prepare for.
>
> I don't think it's worth spending time preparing for every concievable
> breakage. The patch A few more examples of possible breakages I've
> encountered:
> - APR compiled without threading support, SVN compiled with it, or
>   viceversa.
> - SVN is compiled against GNU iconv, but apr-iconv installed, or
>   viceversa.
> - Two different versions of a dependent library are installed, and SVN
>   links to a different version in a different location.
>
> One or many components of SVN may fail. So, I'm in favor of the
> current approach: if SVN is installed, attempt to run all the t91*
> tests. Any failure can either be interpreted as a real test failure or
> malformed SVN installation.
That was what I was alluding to earlier, but ...
 (1) the patch has already been written and it looks obviously correct;
 (2) the code after the patch is shorter and more readable; and
 (3) this will prevent the mailing list from getting spammed by useless
     "bug reports" that should have been directed to distros that packaged
     subversion in one broken way.

Admittedly, it may only catch a breakage in one particular way and not other ways, so we cannot put too much weight on (3), but I would say (2) above alone is a merit enough for us to have this.

Previous: Ramkumar RamachandraNext: Junio C Hamano
Message 11 of 13 in “Repeatable test t9010-svn-fe.sh failure w/ master (685e9d9, 1.7.4.rc1)”
  1. A Large Angry SCMJan 6, 2011
  2. Jonathan NiederJan 6, 2011
  3. A Large Angry SCMJan 6, 2011
  4. t9010: svnadmin can fail even if availableJonathan Nieder, Jan 6, 2011
  5. A Large Angry SCMJan 6, 2011
  6. Junio C HamanoJan 6, 2011
  7. Jonathan NiederJan 6, 2011
  8. Junio C HamanoJan 7, 2011
  9. Jonathan NiederJan 7, 2011
  10. Ramkumar RamachandraJan 7, 2011
  11. Junio C HamanoJan 7, 2011
  12. Junio C HamanoJan 6, 2011
  13. A Large Angry SCMJan 6, 2011

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.