From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1J4bVD-0003yp-Mc for mharc-grub-devel@gnu.org; Tue, 18 Dec 2007 07:24:51 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J4bVC-0003xg-0g for grub-devel@gnu.org; Tue, 18 Dec 2007 07:24:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J4bV9-0003xC-5u for grub-devel@gnu.org; Tue, 18 Dec 2007 07:24:49 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4bV8-0003wt-KU for grub-devel@gnu.org; Tue, 18 Dec 2007 07:24:46 -0500 Received: from spiffy.freedom.ind.br ([201.35.65.91] helo=freedom.ind.br) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J4bV8-0005by-3v for grub-devel@gnu.org; Tue, 18 Dec 2007 07:24:46 -0500 Received: from freedom.ind.br (localhost [127.0.0.1]) by freedom.ind.br (Postfix) with ESMTP id 1729319C4B2 for ; Tue, 18 Dec 2007 10:05:17 -0200 (BRST) Received: from lab.ossystems.com.br (localhost [127.0.0.1]) by freedom.ind.br (Postfix) with SMTP id 18F14DAE30 for ; Tue, 18 Dec 2007 10:05:15 -0200 (BRST) Received: from 201.40.162.47 ([201.40.162.47] helo=lab.ossystems.com.br) by mail.freedom.ind.br; 18 Dec 2007 10:05:15 -0200 Received: (nullmailer pid 29682 invoked by uid 1000); Tue, 18 Dec 2007 12:05:15 -0000 To: The development of GRUB 2 References: <1196963148.15804.44.camel@dv> <47670FF4.9070701@casema.nl> <20071217202057.ygvk8pyyowsok04g@webmail.spamcop.net> <200712180357.38552.okuji@enbug.org> From: Otavio Salvador Organization: O.S. Systems Ltda. X-URL: http://www.debian.org/~otavio/ X-Attribution: O.S. Date: Tue, 18 Dec 2007 10:05:15 -0200 In-Reply-To: <200712180357.38552.okuji@enbug.org> (Yoshinori K. Okuji's message of "Tue\, 18 Dec 2007 03\:57\:37 +0100") Message-ID: <8763yww6mc.fsf@lab.ossystems.com.br> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Switching to git? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 12:24:50 -0000 "Yoshinori K. Okuji" writes: > On Tuesday 18 December 2007 02:20, Pavel Roskin wrote: >> If there are any specific problems with git pertinent to GRUB or >> preferences of the GRUB developers, I'm ready to convey them to the >> git developers and take the blame (if any). >> >> We don't have to look for the best tool, just for the best tool for >> this particular project and those working on it. > > I bet that you under-estimate the pain of migrating to another SCM. I hav= e=20 > experienced such migrations twice, and they were always a pain, something= =20 > that nobody wants to repeat. I experienced such migrations a lot of times and have moved projects from: - CVS -> SVN - SVN -> Bzr - SVN -> GIT - CVS -> Darcs And others too. > - All developers are forced to install new software and learn it (always = a=20 > pain). Developers are used (or ought to) to learn new things since it's of programming art. I guess learning wouldn't be a problem. > - All local (pending) changes in working copies become very hard to merge= =20 > (extremely painful). Just a "cvs diff > /tmp/foo ; cd ~/newrepo ; patch -p1 < /tmp/foo" works for most of cases and then it's not a really big problem from my POV. > - It is hard to re-select yet another SCM later, because old software is= =20 > usually better supported for migrations, i.e. it's not cheap to migrate b= ack=20 > and forth (very painful). I guess nobody wants to come back to CVS after getting out from it. > First of all, this is not a hurry at all. CVS is far from nice, but it ha= s=20 > worked well for GRUB for the past 10 years, and we haven't had any critic= al=20 > problem with it. This is because GRUB is a very simple project from the=20 > viewpoint of source code management. Sure it's. But all developers want to use more time working on code then dealing with the bad merging of CVS and dealing with cvsps to identify when something has been fixed and like. > You might be excited with technical innovations, but please don't forget = that=20 > it costs to change things. Note that I don't mean that we should't change= ,=20 > but that we must be a bit more conservative with regard to SCM. Since we = are=20 > not developing SCM itself, we should consider carefully pros and cons, be= fore=20 > making an action. Agree on that. However since git does offer a CVS server this can be reduced a lot allowing you and anyother that don't want to move to it to stay using CVS for hacking. > Ok, now about the git. As Tom=C3=A1=C5=A1 pointed out, the lack of portab= ility is=20 > regression from CVS. If you think, for example, grub4dos is important, wh= y=20 > can you choose git? Agree on that too. It's not that bad[1] and users can use git with cygwin or via git-cvspserve= r. 1. http://git.or.cz/gitwiki/WindowsInstall > Besides the portability, I don't like the merging algorithm. If my knowle= dge=20 > is not completely outdated yet, git still uses 3-way merging, right? I do= n't=20 > describe the math here, as it is (a little) documented in the revctrl wik= i: > > http://revctrl.org/CategoryMergeAlgorithm > > As long as git uses this naive algorithm, I am not willing to use it. While I agree that it's not the best merging algorithm I also fail to see why it could be a blocker. I've been using GIT for a while and I do not see conflicts very ofthen. Linux kernel also does it and I don't see people complaining about it. Personally I don't like bazaar due performance problem. It's really slow for big projects (it wouldn't be a big problem since GRUB is a small one) and it changes its data format too ofthen. If I'd going to choose, I'd go to GIT or Mercurial. --=20 O T A V I O S A L V A D O R --------------------------------------------- E-mail: otavio@debian.org UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://otavio.ossystems.com.br --------------------------------------------- "Microsoft sells you Windows ... Linux gives you the whole house."