public inbox for gentoo-project@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-project] Council / Git Migration Agenda
@ 2014-10-04  0:00 Rich Freeman
  2014-10-04  7:15 ` Michał Górny
  2014-10-05  8:18 ` Dirkjan Ochtman
  0 siblings, 2 replies; 17+ messages in thread
From: Rich Freeman @ 2014-10-04  0:00 UTC (permalink / raw
  To: gentoo-project, gentoo-scm

Starting a new thread for discussion:

On Thu, Oct 2, 2014 at 7:06 PM, Michał Górny <mgorny@gentoo.org> wrote:
> Dnia 2014-10-01, o godz. 13:30:55
> Rich Freeman <rich0@gentoo.org> napisał(a):
>
>> On Tue, Sep 30, 2014 at 10:08 PM, Rich Freeman <rich0@gentoo.org> wrote:
>> > If you'd like to contribute another agenda item, please reply to this email.
>>
>> I'll offer up a further topic for the git migration.
>
> I think that there are a few issues that the Council may actually want
> to discuss.

I was thinking of an additional item also worth consideration.

So far the general plan has tended to be that we would do a full
historical git migration, and the last commit would just be the active
tree, which would then be further cleaned up (remove cvs headers,
changelogs, switch to thin manifests, etc).

I was thinking that it might make more sense to just make things
really simple and ONLY migrate the active tree into the starting git
repository.  That is, basically take the rsync tree, remove metadata,
and do a git init.  (Then follow that up with removing changelogs,
cleaning up cvs headers, and so on.)

A historical migration could be done in parallel and released a few
hours later.  However, it would not be a contiguous repository.  That
is, the converted active tree commit would not have any parents.  If
you wanted to have a contiguous tree you would need to splice in the
historical migration with git replace.

Rationale:
1.  The historical git migration right now is not perfect.  It
probably will never be perfect, and there is debatable value in even
trying to make it perfect.

2.  Somebody may very well want to improve on the historical git
migration.  If the converted repository doesn't favor any particular
historical migration, then anybody can swap in the historical
migration of their choosing.  We aren't locked into a point-in-time
migration that isn't the best that it could be.  Anybody who wants a
better migrated history can make their own.

3.  I fear that some are going to argue that we shouldn't do the
migration until the historical migration is better than it is now.
Just how much better it needs to be could be a matter of considerable
debate.  Not making a permanent connection between the historical and
active migration sidesteps this debate.

4.  Decoupling the historical and active migration makes the active
migration brain-dead simple.  Downtime will be minimized, and we don't
have the possibility of running into some issue hours into a migration
where we need to try to figure out how to handle it.  The active tree
will migrate and cut over as quickly as things can be swapped out.
The historical migrated tree will be posted whenever it is ready -
likely within hours but if it takes longer there really is no big
loss.  We can fix it as many times as we like.

5.  In general I think that we're well past the point of diminishing
returns.  I personally don't see any return on improving the
historical git tree beyond the general fun of tinkering with the code.
In the meantime many are eager to see the active tree migrate.  Let's
stop holding up moving forward by obsessing about looking backwards.

--
Rich


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-10-09 19:33 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-04  0:00 [gentoo-project] Council / Git Migration Agenda Rich Freeman
2014-10-04  7:15 ` Michał Górny
2014-10-05  8:18 ` Dirkjan Ochtman
2014-10-05  9:33   ` Michał Górny
2014-10-06  1:27   ` hasufell
2014-10-06  2:50   ` Seemant Kulleen
2014-10-06  5:48     ` Ulrich Mueller
2014-10-06  8:42       ` Seemant Kulleen
2014-10-06  8:48       ` Michał Górny
2014-10-07  7:57         ` Dirkjan Ochtman
2014-10-07  8:07           ` [gentoo-scm] " Michał Górny
2014-10-07  8:20             ` Ulrich Mueller
2014-10-07  8:26               ` Michał Górny
2014-10-07 10:58           ` Rich Freeman
2014-10-07 11:00             ` Anthony G. Basile
2014-10-07 11:09               ` Rich Freeman
2014-10-09 19:33       ` Tom Wijsman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox