Old git repo

Started by Jeff Davisover 15 years ago4 messages
#1Jeff Davis
pgsql@j-davis.com

The new git repository will have different SHA1s for all of the commits,
so any old SHA1s will be useless without the old repository.

Hopefully nobody used links to specific commits (or SHA1s) pointing to
the old git repository for anything important. But I found myself doing
so occasionally for unimportant things (if it was important, I included
the date as a safeguard) -- so I assume a few other people did, as well.

Would it be worth keeping the old git repository around in a read-only
mode, just in case people have links/SHA1s floating around for it?

Regards,
Jeff Davis

#2Magnus Hagander
magnus@hagander.net
In reply to: Jeff Davis (#1)
Re: Old git repo

On Thu, Aug 19, 2010 at 23:29, Jeff Davis <pgsql@j-davis.com> wrote:

The new git repository will have different SHA1s for all of the commits,
so any old SHA1s will be useless without the old repository.

Hopefully nobody used links to specific commits (or SHA1s) pointing to
the old git repository for anything important. But I found myself doing
so occasionally for unimportant things (if it was important, I included
the date as a safeguard) -- so I assume a few other people did, as well.

Would it be worth keeping the old git repository around in a read-only
mode, just in case people have links/SHA1s floating around for it?

It might well be, and the cost is low. But if you're talking about
gitweb links or so, they'll still be invalid, because it would have to
be renamed to "postgresql-old" or something like that...

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

#3Christopher Browne
cbbrowne@gmail.com
In reply to: Jeff Davis (#1)
Re: Old git repo

On Thu, Aug 19, 2010 at 5:29 PM, Jeff Davis <pgsql@j-davis.com> wrote:

The new git repository will have different SHA1s for all of the commits,
so any old SHA1s will be useless without the old repository.

Hopefully nobody used links to specific commits (or SHA1s) pointing to
the old git repository for anything important. But I found myself doing
so occasionally for unimportant things (if it was important, I included
the date as a safeguard) -- so I assume a few other people did, as well.

Would it be worth keeping the old git repository around in a read-only
mode, just in case people have links/SHA1s floating around for it?

Perhaps "http://git.postgresql.org/gitweb?p=postgresql-before-official-git-migration.git;a=summary&quot;
--
http://linuxfinances.info/info/linuxdistributions.html

#4Jeff Davis
pgsql@j-davis.com
In reply to: Magnus Hagander (#2)
Re: Old git repo

On Thu, 2010-08-19 at 23:30 +0200, Magnus Hagander wrote:

It might well be, and the cost is low. But if you're talking about
gitweb links or so, they'll still be invalid, because it would have to
be renamed to "postgresql-old" or something like that...

Sure, that's fine.

It would just be nice to have a place to turn to if you have an old SHA1
and no other information; even if it's slightly inconvenient.

Regards,
Jeff Davis