pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kjetil Nygård <polpot78@gmail.com>
To: Maciek Sakrejda <msakrejda@truviso.com>
Cc: Kris Jurka <books@ejurka.com>
Cc: Dave Cramer <pg@fastcrypt.com>
Cc: Marko Kreen <markokr@gmail.com>
Cc: Craig Ringer <ringerc@ringerc.id.au>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Moving to git
Date: Sat, 08 Oct 2011 20:53:59 +0200
Message-ID: <1318100039.22486.9.camel@kjetil.kny.im> (raw)
In-Reply-To: <CAH_hXRZky_w9LoHV6ytFQY2K7F65h+c2GKZu7rMxS_DcTora3Q@mail.gmail.com>
References: <5cd1ffed-061d-4e7a-ad26-93f387535710@u13g2000vbx.googlegroups.com>
	<4E88EFA5.8020009@ringerc.id.au>
	<CAH_hXRZ4p+Tax7Mi4TCfccJ3wYbdT-2EzUzdGMDv7z29C-E6QQ@mail.gmail.com>
	<1317742424.1761.11.camel@kjetil.kny.im>
	<CAH_hXRYmVWD53ytwPQOB_Po1X9MkOto8wfz_D6RuXL6aTi2wZw@mail.gmail.com>
	<1317745533.1761.17.camel@kjetil.kny.im>
	<alpine.BSO.2.00.1110041235020.22947@leary.csoft.net>
	<CACMqXCL5Cx98motUx+ZXDqumoAVutttsE4JeaA3WBbqOVMmRow@mail.gmail.com>
	<CADK3HH+ymK_kvgJ6_ZNT_mOoSwucRvCWY==GSdrtim7X8CLdpg@mail.gmail.com>
	<CAH_hXRY6kndA1_4z6QOfVkbgvqaKrNoc=9Kss09NPkV2QBPDYw@mail.gmail.com>
	<1317832492.2580.2.camel@kjetil.kny.im>
	<4E8C883D.3000606@ejurka.com>
	<1318027765.23288.6.camel@kjetil.kny.im>
	<CAH_hXRZky_w9LoHV6ytFQY2K7F65h+c2GKZu7rMxS_DcTora3Q@mail.gmail.com>

On Sat, 2011-10-08 at 01:15 -0700, Maciek Sakrejda wrote:
> Verified that this works, and that the (filtered) diffs are clean for
> all tags. I've incorporated the script changes and pushed them out to
> the github repository I sent out earlier. I don't quite get the
> filtering expression here--can someone clarify?
> 
>     diff -r --exclude=CVS --exclude=.git . ../cvs-co/${tag} \
>             | grep "\$Header:" -v \
>             | egrep -v "^\-\-\-$"  \
>             | egrep -v "^[0-9]+c[0-9]+" \
>             | grep -v "^diff \-r '\-\-exclude"
> 
> Is this just filtering out the '$Header' in the Makefile from back in
> the day? Is there a better way to deal with this? It seems to get
> expanded to include my username and path to export.

I guess so. I just choose to ignore it, as it seemed autogenerated and
comments.


> I'm fairly certain that with a judicious application of git
> filter-branch, I can strip out all those "manufactured commits" that
> Tom mentioned. The issues Kris mentioned [1] seem to be more complex,
> but I don't quite understand what they are. Can someone point out a
> specific bit of history that's mangled in Marko's github repo? I
> *think* it might be something like the problems discussed starting
> here [2] for the server migration, but it'd be helpful to see this
> going wrong in the jdbc history.
> 
> Also, from reading the mailing list archives, it looks like tag-by-tag
> verification may *not* be a good way to verify sanity of full history.
> Any suggestions as to what a more extensive automated verification
> method might entail? We'd want to do manual spot-checks as well, of
> course, but is there something more we can do for an automated check?
> 
> [1]: http://archives.postgresql.org/pgsql-www/2008-12/msg00124.php
> [2]: http://archives.postgresql.org/pgsql-hackers/2010-08/msg01274.php

After reading [2] and similar documentation about cvs, I come to a
conclusion in two parts.

 a) Because CVS tags single files instead of a branch, it is impossible
to convert them to true git tags. I consider this bad design in CVS.

 b) Because of this design flaw, I suggest we move to git ASAP.


PS: Does it really matter if the history is a bit altered by the
conversion process? As long as HEAD and the tags are the same?
The history could be kept in a read-only cvs-repository :-)


Mvh

Kny




view thread (31+ messages)  latest in thread

Message-ID: <1318100039.22486.9.camel@kjetil.kny.im>
Permalink:  ../1318100039.22486.9.camel@kjetil.kny.im/
Also on:    postgresql.org/message-id/1318100039.22486.9.camel@kjetil.kny.im

 · 

reply

Reply instructions:

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

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: polpot78@gmail.com, msakrejda@truviso.com, books@ejurka.com, pg@fastcrypt.com, markokr@gmail.com, ringerc@ringerc.id.au
  Subject: Re: Moving to git
  In-Reply-To: <1318100039.22486.9.camel@kjetil.kny.im>
  References: <5cd1ffed-061d-4e7a-ad26-93f387535710@u13g2000vbx.googlegroups.com> <4E88EFA5.8020009@ringerc.id.au> <CAH_hXRZ4p+Tax7Mi4TCfccJ3wYbdT-2EzUzdGMDv7z29C-E6QQ@mail.gmail.com> <1317742424.1761.11.camel@kjetil.kny.im> <CAH_hXRYmVWD53ytwPQOB_Po1X9MkOto8wfz_D6RuXL6aTi2wZw@mail.gmail.com> <1317745533.1761.17.camel@kjetil.kny.im> <alpine.BSO.2.00.1110041235020.22947@leary.csoft.net> <CACMqXCL5Cx98motUx+ZXDqumoAVutttsE4JeaA3WBbqOVMmRow@mail.gmail.com> <CADK3HH+ymK_kvgJ6_ZNT_mOoSwucRvCWY==GSdrtim7X8CLdpg@mail.gmail.com> <CAH_hXRY6kndA1_4z6QOfVkbgvqaKrNoc=9Kss09NPkV2QBPDYw@mail.gmail.com> <1317832492.2580.2.camel@kjetil.kny.im> <4E8C883D.3000606@ejurka.com> <1318027765.23288.6.camel@kjetil.kny.im> <CAH_hXRZky_w9LoHV6ytFQY2K7F65h+c2GKZu7rMxS_DcTora3Q@mail.gmail.com> <1318100039.22486.9.camel@kjetil.kny.im>

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

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox