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

2012-11-13 Thread Michael J Gruber
Felipe Contreras venit, vidit, dixit 12.11.2012 23:47: On Mon, Nov 12, 2012 at 10:41 PM, Jeff King p...@peff.net wrote: On Sun, Nov 11, 2012 at 07:48:14PM +0100, Felipe Contreras wrote: 3. Exporters should not use it if they have any broken-down representation at all. Even knowing that

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

2012-11-13 Thread Felipe Contreras
On Tue, Nov 13, 2012 at 11:15 AM, Michael J Gruber g...@drmicha.warpmail.net wrote: Felipe Contreras venit, vidit, dixit 12.11.2012 23:47: On Mon, Nov 12, 2012 at 10:41 PM, Jeff King p...@peff.net wrote: On Sun, Nov 11, 2012 at 07:48:14PM +0100, Felipe Contreras wrote: 3. Exporters should

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

2012-11-12 Thread Junio C Hamano
A Large Angry SCM gitzi...@gmail.com writes: On 11/11/2012 07:41 AM, Felipe Contreras wrote: On Sat, Nov 10, 2012 at 8:25 PM, A Large Angry SCMgitzi...@gmail.com wrote: On 11/10/2012 01:43 PM, Felipe Contreras wrote: So, the options are: a) Leave the name conversion to the export tools,

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

2012-11-12 Thread Felipe Contreras
On Mon, Nov 12, 2012 at 6:45 PM, Junio C Hamano gits...@pobox.com wrote: A Large Angry SCM gitzi...@gmail.com writes: On 11/11/2012 07:41 AM, Felipe Contreras wrote: On Sat, Nov 10, 2012 at 8:25 PM, A Large Angry SCMgitzi...@gmail.com wrote: On 11/10/2012 01:43 PM, Felipe Contreras wrote:

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

2012-11-12 Thread Felipe Contreras
On Mon, Nov 12, 2012 at 10:41 PM, Jeff King p...@peff.net wrote: On Sun, Nov 11, 2012 at 07:48:14PM +0100, Felipe Contreras wrote: 3. Exporters should not use it if they have any broken-down representation at all. Even knowing that the first half is a human name and the second

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

2012-11-11 Thread Felipe Contreras
On Sat, Nov 10, 2012 at 8:25 PM, A Large Angry SCM gitzi...@gmail.com wrote: On 11/10/2012 01:43 PM, Felipe Contreras wrote: So, the options are: a) Leave the name conversion to the export tools, and when they miss some weird corner case, like 'Authoremail', let the user face the

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

2012-11-11 Thread A Large Angry SCM
On 11/11/2012 07:41 AM, Felipe Contreras wrote: On Sat, Nov 10, 2012 at 8:25 PM, A Large Angry SCMgitzi...@gmail.com wrote: On 11/10/2012 01:43 PM, Felipe Contreras wrote: So, the options are: a) Leave the name conversion to the export tools, and when they miss some weird corner case, like

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

2012-11-11 Thread Jeff King
On Sun, Nov 11, 2012 at 12:00:44PM -0500, A Large Angry SCM wrote: a) Leave the name conversion to the export tools, and when they miss some weird corner case, like 'Authoremail', let the user face the consequences, perhaps after an hour of the process. [...] b) Do the name conversion in

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

2012-11-11 Thread Jeff King
On Sun, Nov 11, 2012 at 06:45:32PM +0100, Felipe Contreras wrote: If there is a standard filter, then what is the advantage in doing it as a pipe? Why not just teach fast-import the same trick (and possibly make it optional)? That would be simpler, more efficient, and it would make it

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

2012-11-11 Thread Felipe Contreras
On Sun, Nov 11, 2012 at 7:14 PM, Jeff King p...@peff.net wrote: On Sun, Nov 11, 2012 at 06:45:32PM +0100, Felipe Contreras wrote: If there is a standard filter, then what is the advantage in doing it as a pipe? Why not just teach fast-import the same trick (and possibly make it optional)?

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

2012-11-10 Thread Michael J Gruber
Felipe Contreras venit, vidit, dixit 09.11.2012 15:34: On Fri, Nov 9, 2012 at 10:28 AM, Michael J Gruber g...@drmicha.warpmail.net wrote: Hg seems to store just anything in the author field (committer). The various interfaces that are floating around do some behind-the-back conversion to

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

2012-11-10 Thread Felipe Contreras
On Sat, Nov 10, 2012 at 6:28 PM, Michael J Gruber g...@drmicha.warpmail.net wrote: Felipe Contreras venit, vidit, dixit 09.11.2012 15:34: On Fri, Nov 9, 2012 at 10:28 AM, Michael J Gruber g...@drmicha.warpmail.net wrote: Hg seems to store just anything in the author field (committer). The

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

2012-11-09 Thread Michael J Gruber
Jeff King venit, vidit, dixit 08.11.2012 21:09: On Fri, Nov 02, 2012 at 03:43:24PM +0100, Michael J Gruber wrote: It seems that our fast-import is super picky with regards to author names. I've encountered author names like Foo Barfoo@dev.null Foo Bar foo@dev.null foo@dev.null

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

2012-11-02 Thread Michael J Gruber
It seems that our fast-import is super picky with regards to author names. I've encountered author names like Foo Barfoo@dev.null Foo Bar foo@dev.null foo@dev.null in the self-hosting repo of some other dvcs, and the question is how to translate them faithfully into a git author

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

2012-11-02 Thread Michael J Gruber
Some additional input: [mjg@localhost git]$ git commit --author='is thiso...@or.not whats@up' --allow-empty -m test [detached HEAD 0734308] test Author: is thi...@or.not whats@up [mjg@localhost git]$ git show commit 0734308b7bf372227bf9f5b9fd6b4b403df33b9e Author: is thi...@or.not whats@up Date: