git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Haggerty <mhagger@alum.mit.edu>
To: Eugene Sajine <euguess@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Fwd: Fwd: git cvsimport implications
Date: Sat, 18 May 2013 07:52:03 +0200	[thread overview]
Message-ID: <51971703.5070700@alum.mit.edu> (raw)
In-Reply-To: <CAPZPVFbkcmBH7OPeP83gPnSGodoi_9diAUk-5dtR43dCDRfkwQ@mail.gmail.com>

On 05/17/2013 06:10 PM, Eugene Sajine wrote:
> MIchael, sorry for dup - didn't press reply all for the first one.
> 
>>
>> So what are you going to do, use cvsimport whenever you cannot *prove*
>> that it is wrong?  You sure have low standards for your software.
> 
> 1. You are making assumptions and conclusions that have no grounds.
> I asked for help understanding what are the problems of cvsimport.
> Never i said i'm not willing use cvs2git. Never i said I'm happy to have
> problems in my git repos. So, this "low standard" punch was... not necessary.

I didn't mean to be offensive.  I meant it more in the sense of "you
deserve to expect more from your software".

> 2. I started to use cvsimport because it was the tool *provided with
> git* about three years ago.
> By that time i didn't find any better and simpler tool to use and
> those implications were uknown for me,
> they were brought up to my attention just recently.
> CVS is not good for branches, so most of our projects didn't have any
> cvs branches.
> So for majority of those it seems that the cvsimport did it's job just fine.
> Now we are going to try to migrate some projects that are using CVS
> branches heavily.
> That concerns me, so i'm looking for better tool.

The Git test suite (tests t/t960?-*.sh) demonstrates some of the known
problems with cvsimport, and those failures are summarized in the
manpage for git-cvsimport(1).  Not all of the problems are related to
branches and tags.  There might be more problems; I simply documented a
few that I found relatively quickly then I stopped looking.

> 3. Is there a way to have the whole plumbing with the
> blobfiles and dumpfiles and consequent git fast-import wrapped into
> nice command like:
> 
> git cvsimport -C path/to/my/new/shiny/gitrepo
> 
> Or are there any particular reasons why end user must deal with blob
> and dump files and do fast-import afterwards?

There are benefits to the split blobfile/dumpfile approach for some
users, so I wouldn't want to get rid of that possibility.  But there's
no reason I wouldn't accept a patch that provides an option to convert
as you describe.  Alternately, it would take only a few lines of script
to automate it yourself.

Michael

-- 
Michael Haggerty
mhagger@alum.mit.edu
http://softwareswirl.blogspot.com/

      reply	other threads:[~2013-05-18  5:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAPZPVFYFL6OS2HWbF0BKNKtNsZ6CfpWmKCypGxeTs7W8-76q8Q@mail.gmail.com>
2013-05-14 22:09 ` Fwd: git cvsimport implications Eugene Sajine
2013-05-14 22:19   ` Junio C Hamano
2013-05-15  6:24     ` Michael Haggerty
2013-05-15 18:03       ` Eugene Sajine
2013-05-17  9:10         ` Michael Haggerty
2013-05-17  9:21           ` John Keeping
2013-05-17 11:50           ` Martin Langhoff
2013-05-17 13:14             ` Michael Haggerty
2013-05-17 13:34               ` Andreas Krey
2013-05-17 13:50                 ` Martin Langhoff
2013-05-17 15:28                 ` Michael Haggerty
     [not found]           ` <CAPZPVFZ6HjFYaPOqcrwhCCdGhYUaVEjyDeaL8dcsqy1ghcfWpg@mail.gmail.com>
2013-05-17 16:10             ` Fwd: " Eugene Sajine
2013-05-18  5:52               ` Michael Haggerty [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51971703.5070700@alum.mit.edu \
    --to=mhagger@alum.mit.edu \
    --cc=euguess@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).