From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12932 invoked by alias); 6 Oct 2009 13:08:32 -0000 Received: (qmail 12923 invoked by uid 22791); 6 Oct 2009 13:08:31 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from ey-out-1920.google.com (HELO ey-out-1920.google.com) (74.125.78.148) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Oct 2009 13:08:25 +0000 Received: by ey-out-1920.google.com with SMTP id 13so847054eye.42 for ; Tue, 06 Oct 2009 06:08:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.53.21 with SMTP id f21mr322699wec.48.1254834502622; Tue, 06 Oct 2009 06:08:22 -0700 (PDT) In-Reply-To: <87ws397z1b.fsf@meyering.net> References: <6dc9ffc80910051730p207a14f2m5ee6ff560ea60c33@mail.gmail.com> <87ws397z1b.fsf@meyering.net> Date: Tue, 06 Oct 2009 13:08:00 -0000 Message-ID: <6dc9ffc80910060608u60ccf9eal72ab51f216b7f75c@mail.gmail.com> Subject: Re: gdb.git mirror is broken From: "H.J. Lu" To: Jim Meyering Cc: Tom Tromey , GDB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 X-SW-Source: 2009-10/txt/msg00095.txt.bz2 On Tue, Oct 6, 2009 at 12:38 AM, Jim Meyering wrote: > H.J. Lu wrote: > >> Hi Jim, >> >> gdb.git mirror at >> >> http://sources.redhat.com/git/gdb.git >> >> is broken. The problems are >> >> 1: "cpu" directory is missing. > > Considering cpu/ has never been included in a gdb.git mirror > (it's been explicitly excluded from the beginning), it may > make sense to reconvert the repository from scratch, in order > to include that directory and all of its history. > > However, that would have the disadvantage of changing all > existing SHA1 commit values -- which might cause problems with > the likes of archer.git. I didn't realize that cpu was excluded on purpose. I just did a comparison between gdb tree checked out from CVS and gdb tree checked out from git. I don't mind leaving it as is. >> 2. =A0Top level files and gdb/gdbserver, bfd, sim, include directories >> haven't been updated =A0since 2009-09-16. > > I don't know what caused the process to stop mirroring > those directories. =A0It could be a bug in cvsps, git-cvsimport, > my script, git-push, or even rsync. > > IMHO, the best would be to remove CVS from the loop. > Leading up to that, I propose the following: > > =A0I will re-convert all of gdb's CVS history to git (using parsecvs), > =A0not excluding the cpu/ directory this time. =A0Then, I will add checks > =A0to my mirroring script to notify me if git and CVS checkouts ever > =A0diverge. I am enclosing my script at the end of this email. It diffs all ChangLogs between 2 gdb trees. > Note that the initial conversion is via parsecvs, > yet incrementals are via my scripts, which rely on git-cvsimport > (which in turn relies on cvsps). > > If anyone is interested in switching primary GDB development > to git, once such a new repository is in place and deemed stable, > I urge you to dump CVS. =A0While the conversion tools are not always > reliable, I can assure you that git itself has been amazingly reliable > for years. > It sounds a good idea. But don't we need to switch src tree to git, not just gdb tree? I don't mind checking out the whole src tree. But we need a way to build only gcc, gdb, binutils, .... even though there are more packages. Thanks. --=20 H.J. --- #! /bin/sh gdb=3D$1 cl=3D" ./etc/ChangeLog ./gdb/gdbserver/ChangeLog ./gdb/ChangeLog ./gdb/testsuite/ChangeLog ./gdb/doc/ChangeLog ./intl/ChangeLog ./bfd/ChangeLog ./bfd/doc/ChangeLog ./libdecnumber/ChangeLog ./readline/examples/rlfe/ChangeLog ./ChangeLog ./opcodes/ChangeLog ./libiberty/ChangeLog ./config/ChangeLog ./cpu/ChangeLog ./sim/frv/ChangeLog ./sim/arm/ChangeLog ./sim/mcore/ChangeLog ./sim/m32r/ChangeLog ./sim/mips/ChangeLog ./sim/d10v/ChangeLog ./sim/cr16/ChangeLog ./sim/h8300/ChangeLog ./sim/ChangeLog ./sim/sh/ChangeLog ./sim/m68hc11/ChangeLog ./sim/testsuite/frv-elf/ChangeLog ./sim/testsuite/mips64el-elf/ChangeLog ./sim/testsuite/d10v-elf/ChangeLog ./sim/testsuite/ChangeLog ./sim/testsuite/sim/mips/ChangeLog ./sim/testsuite/sim/cr16/ChangeLog ./sim/testsuite/sim/h8300/ChangeLog ./sim/testsuite/sim/sh/ChangeLog ./sim/testsuite/sim/sh64/ChangeLog ./sim/testsuite/sim/sh64/media/ChangeLog ./sim/testsuite/sim/sh64/compact/ChangeLog ./sim/testsuite/m32r-elf/ChangeLog ./sim/igen/ChangeLog ./sim/iq2000/ChangeLog ./sim/ppc/ChangeLog ./sim/v850/ChangeLog ./sim/mn10300/ChangeLog ./sim/sh64/ChangeLog ./sim/erc32/ChangeLog ./sim/common/ChangeLog ./sim/m32c/ChangeLog ./include/gdb/ChangeLog ./include/elf/ChangeLog ./include/opcode/ChangeLog ./include/coff/ChangeLog ./include/aout/ChangeLog ./include/ChangeLog ./include/nlm/ChangeLog " for f in $cl do diff -up $f $gdb/$f done