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

RFD: fast-import is picky with author names (and maybe it should - but how much so?)

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Nov 2, 2012, 14:43 UTC
Message-ID
<5093DC0C.5000603@drmicha.warpmail.net>

It seems that our fast-import is super picky with regards to author names. I've encountered author names like

Foo Bar<foo.bar@dev.null> Foo Bar <foo.bar@dev.null foo.bar@dev.null

in the self-hosting repo of some other dvcs, and the question is how to translate them faithfully into a git author name. In general, we try to do

fullotherdvcsname <none@none>

if the other system's entry does not parse as a git author name, but fast-import does not accept either of

Foo Bar<foo.bar@dev.null> <none@none> "Foo Bar<foo.bar@dev.null>" <none@none>

because of the way it parses for <>. While the above could be easily turned into

Foo Bar <foo.bar@dev.null>

it would not be a faithful representation of the original commit in the other dvcs.

So the question is:
- How should we represent botched author entries faithfully?
As a cororollary, fast-import may need to change or not.
Michael

P.S.: Yes, dvcs=hg, and the "earlier" remote-hg helper chokes on these. garbage in crash out :(

Next: Michael J Gruber
Message 1 of 24 in “RFD: fast-import is picky with author names (and maybe it should - but how much so?)”
  1. Michael J GruberNov 2, 2012
  2. Michael J GruberNov 2, 2012
  3. Jeff KingNov 8, 2012
  4. Michael J GruberNov 9, 2012
  5. Felipe ContrerasNov 9, 2012
  6. Michael J GruberNov 10, 2012
  7. Felipe ContrerasNov 10, 2012
  8. A Large Angry SCMNov 10, 2012
  9. Felipe ContrerasNov 11, 2012
  10. A Large Angry SCMNov 11, 2012
  11. Jeff KingNov 11, 2012
  12. Felipe ContrerasNov 11, 2012
  13. Jeff KingNov 11, 2012
  14. Felipe ContrerasNov 11, 2012
  15. Jeff KingNov 12, 2012
  16. Felipe ContrerasNov 12, 2012
  17. Michael J GruberNov 13, 2012
  18. Felipe ContrerasNov 13, 2012
  19. A Large Angry SCMNov 11, 2012
  20. Felipe ContrerasNov 11, 2012
  21. A Large Angry SCMNov 11, 2012
  22. Felipe ContrerasNov 11, 2012
  23. Junio C HamanoNov 12, 2012
  24. Felipe ContrerasNov 12, 2012

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.