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

Re: [PATCH] Added an option to cvsimport to specify email domain

From
ANAlexey Nezhdanov <snake@penza-gsm.ru>
Date
Sep 30, 2005, 10:22 UTC
Message-ID
<200509301422.14677.snake@penza-gsm.ru>
In-Reply-To
<7v64sj6iva.fsf@assigned-by-dhcp.cox.net>
On Friday 30, September 2005 12:48 Junio C Hamano wrote:
Show 6 quoted lines
> Alexey Nezhdanov <snake@penza-gsm.ru> writes:
> > Unfortunately I do not know perl so I can not write a patch for
> > git-cvsimport-script. So I asking you, Matthias, to help with this or may
> > somebody on this list can do it instead.
>
> Untested, but something like this?

<skipped/> Yes, now it works correctly and can go down to master IMHO. One little notice, though. It is still prints out "* UNKNOWN LINE *" for each authorname in the new format. This is not result of your patch - it started doing this immidiatedly after I tried updated version of cvsps (I have not mentioned this in my previous mail, sorry). Let's wait if somebody will fix it. In any way,

ANNOUNCE: ========= With my patch to cvsps and Junio's patch to git-cvsimport.perl it is now possible to import authorname+email pairs correctly basing on contents of CVSROOT/users file. Currently cvsps can't retrieve this file in --cvs-direct mode (that git-cvsimport.perl uses) so you'll need to check it out by hand. May be if David will find some time for it this limitation will be lifted.

So now you can do either: cvs checkout CVSROOT/users or mkdir CVSROOT && echo "author:A U Thor <author@domain.xz>" >CVSROOT/users and then git cvsimport -p "--users-file,CVSROOT/users"

you will import all mapped usernames correctly.
-- 
Respectfully
Alexey Nezhdanov
Previous: Junio C HamanoNext: David Mansfield
Message 8 of 10 in “Added an option to cvsimport to specify email domain”
  1. Added an option to cvsimport to specify email domainDavid Kågedal, Sep 7, 2005
  2. Junio C HamanoSep 7, 2005
  3. Petr BaudisSep 14, 2005
  4. Alexey NezhdanovSep 27, 2005
  5. David MansfieldSep 27, 2005
  6. Alexey NezhdanovSep 30, 2005
  7. Junio C HamanoSep 30, 2005
  8. Alexey NezhdanovSep 30, 2005
  9. David MansfieldSep 30, 2005
  10. Alexey NezhdanovSep 29, 2005

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.