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

Re: [PATCH] git-svn: parse authors file more leniently

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Sep 11, 2015, 08:36 UTC
Message-ID
<55F292A7.1030809@drmicha.warpmail.net>
In-Reply-To
<20150910180810.GA22112@dcvr.yhbt.net>
Eric Wong venit, vidit, dixit 10.09.2015 20:08:
Show 23 quoted lines
> Michael J Gruber <git@drmicha.warpmail.net> wrote:
>> Instead, make git svn uses the perl regex
>>
>> /^(.+?|\(no author\))\s*=\s*(.+?)\s*<(.*)>\s*$/
>>
>> for parsing the authors file so that the same (slightly more lenient)
>> regex is used in both cases.
>>
>> Reported-by: Till Schäfer <till2.schaefer@tu-dortmund.de>
>> Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
> 
> Thanks.
> Signed-off-by: Eric Wong <normalperson@yhbt.net>
> 
> And pushed to master of git://bogomips.org/git-svn
> (commit f7c6de0ea1bd5722a1181c6279676c6831b38a34)
> 
> By the way, I also had some other patches sitting around for you.
> Did you ever have time to revisit them?  (I haven't)
> 
>       t/lib-httpd: load mod_unixd
>       t/lib-git-svn: check same httpd module dirs as lib-httpd
> 
Also "from me".
Short answer: No

If I remember correctly, they were correct bit not complete in the sense that on a standard Fedora install (with newer apache), svn tests still wouldn't run over http. But I/we learned that those tests were simply run over local file protocol instead when svn over http didn't work. On a standard debian install (which apparantly has non-standard, thus downwards compatible apache config) everything was fine with or without those patches.

I still plan to look at them when I find time. (I'll be retiring sometime between 20 and 30 years from now, so there's hope.)

Michael
Previous: Junio C Hamano
Message 7 of 7 in “git clone svn: authors from authors file are ignored, authors-prog works, but crashes on branch points”
  1. Till SchäferAug 26, 2015
  2. Michael J GruberSep 10, 2015
  3. Till SchäferSep 10, 2015
  4. git-svn: parse authors file more lenientlyMichael J Gruber, Sep 10, 2015
  5. Eric WongSep 10, 2015
  6. Junio C HamanoSep 10, 2015
  7. Michael J GruberSep 11, 2015

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.