Обсуждение: Old git repo

Поиск
Список
Период
Сортировка

Old git repo

От
Jeff Davis
Дата:
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



Re: Old git repo

От
Magnus Hagander
Дата:
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/


Re: Old git repo

От
Christopher Browne
Дата:
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"
-- 
http://linuxfinances.info/info/linuxdistributions.html


Re: Old git repo

От
Jeff Davis
Дата:
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