Re: Hacking on PostgreSQL via GIT

From: Markus Schiltknecht <markus(at)bluegap(dot)ch>
To: Aidan Van Dyk <aidan(at)highrise(dot)ca>, "Jim C(dot) Nasby" <jim(at)nasby(dot)net>, Martin Langhoff <martin(at)catalyst(dot)net(dot)nz>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Hacking on PostgreSQL via GIT
Date: 2007-04-19 11:22:20
Message-ID: 462750EC.9010608@bluegap.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Alvaro Herrera wrote:
> Which is not always what happens in reality. Consider for example that
> we borrowed some files from NetBSD, OpenBSD, Tcl, zic and others. It
> would be nice to know exactly at what point we borrowed the file, so we
> can go to the upstream repo and check if there's any bug fix that we
> should also apply to our local copy. And we _also_ modify locally the
> file of course, so just digesting the file we have to get a SHA1 (or
> whatever) identifier is not an option.

I consider such information (i.e. 'where is this file coming from') to
be historical information. As such, this information clearly belongs to
the VCS sphere and should be tracked and presented by the VCS.

Advanced VCSes can import files from other projects and properly track
those files or propagate on request. Even subversion can do that to some
extent. My point here is: given a decent VCS, you don't need such
historical information as often as you do with CVS. You can sit back and
let the VCS do the job. (Like looking up, when the last 'import' of the
file from the external project happened, what changed and merge those
changes back into your (locally modified variant of the) file.) And if
you really want to dig in the history of your project, you can ask the
VCS, which you are going to need anyway for other historic information.

Regards

Markus

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Markus Schiltknecht 2007-04-19 11:31:30 Re: Hacking on PostgreSQL via GIT
Previous Message Heikki Linnakangas 2007-04-19 11:02:19 Re: Load distributed checkpoint V4