Thread (24 messages) flat view 24 messages, 5 authors, 2016-06-15

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

From: Michael J Gruber <hidden>
Date: 2016-06-15 22:55:11

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

Foo Bar[off-list ref]
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[off-list ref] <none@none>
"Foo Bar[off-list ref]" <none@none>

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

Foo Bar [off-list ref]

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 :(
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help