pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kjetil Nygård <polpot78@gmail.com>
To: Kris Jurka <books@ejurka.com>
Cc: Maciek Sakrejda <msakrejda@truviso.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 11:46:45 +0200
Message-ID: <1318067205.20983.0.camel@kjetil.kny.im> (raw)
In-Reply-To: <4E8C883D.3000606@ejurka.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>

On Wed, 2011-10-05 at 09:39 -0700, Kris Jurka wrote:
> On 10/5/2011 9:34 AM, Kjetil Nygård wrote:
> 
> > Is it possible to put a snapshot copy of the cvs-directory somewhere, so
> > people who is interested can download the cvs-repo and set it up locally
> > for test-mirgrations?
> >
> 
> 
> http://ejurka.com/pgsql/tmp/pgjdbc-cvs.tar.gz



Hi,

My original e-mail did not come through, because of an email with an
image.

I have now made two scripts. One that takes the dump above and convert
it to git with svn2git.

The second script verify that the content of the tags are the same.

It is also a good idea to browse the git-non-bare with qgit to see if
there is something wrong with the commit-tree. (See screenshot)

To run the scripts:

# Convert
$ mkdir <an empty dir>
$ cd <an empty dir>
$ path/to/convert_cvs_git.sh ../pgjdbc-cvs.tar.gz

# Verify
$ export CVSROOT=<equal copy of the tar.gz>
$ path/to/verify-tags-equal.sh




Regards,
  Kny

Attachments:

  convert_cvs_git.sh (application/x-shellscript, 396B) download

  verify-tags-equal.sh (application/x-shellscript, 745B) download

view thread (31+ messages)  latest in thread

Message-ID: <1318067205.20983.0.camel@kjetil.kny.im>
Permalink:  ../1318067205.20983.0.camel@kjetil.kny.im/
Also on:    postgresql.org/message-id/1318067205.20983.0.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, books@ejurka.com, msakrejda@truviso.com, pg@fastcrypt.com, markokr@gmail.com, ringerc@ringerc.id.au
  Subject: Re: Moving to git
  In-Reply-To: <1318067205.20983.0.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> <1318067205.20983.0.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