{"thread":{"id":"55650","subject":"Fwd: git-cvsimport documentation improvement","startedAt":"2021-05-09T07:30:44Z","lastAt":"2021-05-09T18:05:49Z","messageCount":3,"participants":["Reuben Thomas","Junio C Hamano","Eric Sunshine"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"423955","messageId":"CAOnWdog6k04pPdK1+n45x=+dXpSsqC_FUZhCBJqcAEd=n4dZpA@mail.gmail.com","threadId":"55650","inReplyTo":"CAOnWdogqShYMmZLAYvGnKVLdxPj8fYy4a2BZ-Mhe-kSKqQhv9Q@mail.gmail.com","subject":"Fwd: git-cvsimport documentation improvement","fromName":"Reuben Thomas","fromEmail":"rrt@sc3d.org","sentAt":"2021-05-09T07:30:31Z","receivedAt":"2021-05-09T07:30:44Z","isPatch":false,"sender":{"key":"rrt@sc3d.org","avatar":"https://gravatar.com/avatar/f1d2fd8cb53a9a1876636e095ed6c2e4f8ed357692bc1250cb91fdda23a2ac0a?d=mp&s=160"},"body":"The git-cvsimport docs say:\n\nWARNING: git cvsimport uses cvsps version 2, which is considered\ndeprecated; it does not work with cvsps version 3 and later. If you\nare performing a one-shot import of a CVS repository consider using\ncvs2git or cvs-fast-export.\n\nHowever, I can find no trace of cvsps version 3. The latest seems to\nbe 2.2, which is marked as a pre-release, and cvsps 2.1 seems to be\nthe most commonly packaged version.\n\nI understand that it's still better to use other tools than git\ncvsimport, but perhaps the warning could be better worded; for\nexample:\n\nWARNING: git cvsimport uses cvsps, which is considered deprecated. If\nyou are performing a one-shot import of a CVS repository consider\nusing cvs2git or cvs-fast-export.\n\n-- \nhttps://rrt.sc3d.org\n"},{"id":"423959","messageId":"xmqqczu0ti6s.fsf@gitster.g","threadId":"55650","inReplyTo":"CAOnWdog6k04pPdK1+n45x=+dXpSsqC_FUZhCBJqcAEd=n4dZpA@mail.gmail.com","subject":"Re: Fwd: git-cvsimport documentation improvement","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2021-05-09T08:39:07Z","receivedAt":"2021-05-09T08:39:17Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Reuben Thomas <rrt@sc3d.org> writes:\n\n> The git-cvsimport docs say:\n>\n> WARNING: git cvsimport uses cvsps version 2, which is considered\n> deprecated; it does not work with cvsps version 3 and later. If you\n> are performing a one-shot import of a CVS repository consider using\n> cvs2git or cvs-fast-export.\n>\n> However, I can find no trace of cvsps version 3. The latest seems to\n> be 2.2, which is marked as a pre-release, and cvsps 2.1 seems to be\n> the most commonly packaged version.\n>\n> I understand that it's still better to use other tools than git\n> cvsimport, but perhaps the warning could be better worded; for\n> example:\n>\n> WARNING: git cvsimport uses cvsps, which is considered deprecated. If\n> you are performing a one-shot import of a CVS repository consider\n> using cvs2git or cvs-fast-export.\n\nThe text comes from this commit early in 2013.  Perhaps there was\ncvsps 3 back then?\n\n\ncommit 1187ec99b93aefc3bfb6e360d285245745e1e390\nAuthor: John Keeping <john@keeping.me.uk>\nDate:   Thu Jan 24 19:18:45 2013 +0000\n\n    git-cvsimport.txt: cvsps-2 is deprecated\n    \n    git-cvsimport relies on version 2 of cvsps and does not work with the\n    new version 3.  Since cvsps 3.x does not currently work as well as\n    version 2 for incremental import, document this fact.\n    \n    Specifically, there is no way to make new git-cvsimport that supports\n    cvsps 3.x and have a seamless transition for existing users since cvsps\n    3.x needs a time from which to continue importing and git-cvsimport does\n    not save the time of the last import or import into a specific namespace\n    so there is no safe way to calculate the time of the last import.\n    \n    Signed-off-by: John Keeping <john@keeping.me.uk>\n    Signed-off-by: Junio C Hamano <gitster@pobox.com>\n\ndiff --git a/Documentation/git-cvsimport.txt b/Documentation/git-cvsimport.txt\nindex 98d9881d7e..fd1e613d95 100644\n--- a/Documentation/git-cvsimport.txt\n+++ b/Documentation/git-cvsimport.txt\n@@ -18,6 +18,12 @@ SYNOPSIS\n \n DESCRIPTION\n -----------\n+*WARNING:* `git cvsimport` uses cvsps version 2, which is considered\n+deprecated; it does not work with cvsps version 3 and later.  If you are\n+performing a one-shot import of a CVS repository consider using\n+link:http://cvs2svn.tigris.org/cvs2git.html[cvs2git] or\n+link:https://github.com/BartMassey/parsecvs[parsecvs].\n+\n Imports a CVS repository into git. It will either create a new\n repository, or incrementally import into an existing one.\n \n\nSearch engine found this hit for \"cvsps version 3\"\n\n    https://archlinux.org/packages/extra/x86_64/cvsps/\n\nwhich suggested that another place to be looked at, which was\n\n    https://aur.archlinux.org/packages/cvsps/\n\nwhich then led to\n\n    http://www.catb.org/esr/cvsps/\n\nIn any case, at this point both 2 and 3 haven't seen any active\nmaintenance for quite some time.\n\n\n"},{"id":"423974","messageId":"CAPig+cQxZJzgNLAbRGK_GyiudcmK_njKW=zafSKkoi6O0iYMog@mail.gmail.com","threadId":"55650","inReplyTo":"xmqqczu0ti6s.fsf@gitster.g","subject":"Re: Fwd: git-cvsimport documentation improvement","fromName":"Eric Sunshine","fromEmail":"sunshine@sunshineco.com","sentAt":"2021-05-09T18:05:36Z","receivedAt":"2021-05-09T18:05:49Z","isPatch":false,"sender":{"key":"sunshine@sunshineco.com","avatar":"https://avatars.githubusercontent.com/u/163641?v=4"},"body":"On Sun, May 9, 2021 at 4:39 AM Junio C Hamano <gitster@pobox.com> wrote:\n> Reuben Thomas <rrt@sc3d.org> writes:\n> > The git-cvsimport docs say:\n> >\n> > WARNING: git cvsimport uses cvsps version 2, which is considered\n> > deprecated; it does not work with cvsps version 3 and later. If you\n> > are performing a one-shot import of a CVS repository consider using\n> > cvs2git or cvs-fast-export.\n> >\n> > However, I can find no trace of cvsps version 3. The latest seems to\n> > be 2.2, which is marked as a pre-release, and cvsps 2.1 seems to be\n> > the most commonly packaged version.\n>\n> The text comes from this commit early in 2013.  Perhaps there was\n> cvsps 3 back then?\n\nThere's a cvsps 3.13, but it's deprecated and was EOL'd at the end of 2013.\nhttp://www.catb.org/~esr/cvsps/\n"}]}