From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19344 invoked by alias); 21 Aug 2013 15:05:44 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 19320 invoked by uid 89); 21 Aug 2013 15:05:43 -0000 X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 21 Aug 2013 15:05:42 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MRV00H00Z4OTP00@a-mtaout21.012.net.il>; Wed, 21 Aug 2013 18:05:20 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MRV00H0YZ8WTK10@a-mtaout21.012.net.il>; Wed, 21 Aug 2013 18:05:20 +0300 (IDT) Date: Wed, 21 Aug 2013 15:05:00 -0000 From: Eli Zaretskii Subject: Re: A Proposal to Move to Git In-reply-to: <8738q4gj7a.fsf@fleche.redhat.com> To: Tom Tromey Cc: gdb@sourceware.org, binutils@sourceware.org Reply-to: Eli Zaretskii Message-id: <83siy3jd7m.fsf@gnu.org> References: <8738q4gj7a.fsf@fleche.redhat.com> X-SW-Source: 2013-08/txt/msg00086.txt.bz2 > From: Tom Tromey > CC: Binutils Development > Date: Tue, 20 Aug 2013 15:12:41 -0600 > > I'd like to move gdb and binutils from CVS to Git. I've done much of > the preliminary work and I will do the remainder, including the > inevitable follow-up bug-fixing. Thanks for doing this. > Once the infrastructure bits are in place, there is the matter of the > conversion: > > * Convert the tree. We can perhaps reuse parts of the existing > conversion process for this. I will try a test conversion at least > once. Since the old history is available > (see http://sourceware.org/ml/binutils/2012-10/msg00407.html), > we can try to merge it before conversion. > There seem to be several approach we can take here. I am > investigating the options, but I'm interested in your expert > advice. > > * Mark the various converted directories as read-only in CVS. > This can be done via the commitinfo file. What about possible issues related to the differences in how CVS and git do things? A few things come to mind: . Tags. CVS tags file revisions, while git tags the whole tree. Can this cause loss of information? . Files/directories that are deleted or moved/renamed. Will the information from the Attic be extracted, and will git be able to intuit renaming and handle deleted files correctly? (One type of file which we constantly rename is ChangeLog.) . How will the committers be mapped? AFAIU, CVS and git represent committers differently. . Which branches will be converted? Do we want to convert all or just some, and if the latter, which ones will be left out? . Finally, what about some QA, once the initial conversion is done? Can we run some scripts to be sure nothing is lost? It's quite possible that some, or maybe even all of these issues are already solved by the existing conversion procedure. But I thought I'd raise these (and other similar) issues, since I don't think they can be postponed for later -- once we convert and start working with git, the history that we have at that point will be practically immutable, so whatever will be missed during the conversion will never happen. Therefore, I think we need to be aware of any such issues and review them carefully before we decide how to handle them.