Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319948 - Move to git
Summary: Move to git
Status: RESOLVED FIXED
Alias: None
Product: ECF
Classification: RT
Component: ecf.releng (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.4.0   Edit
Assignee: Markus Kuppe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 321556 327759 327760 327768
Blocks:
  Show dependency tree
 
Reported: 2010-07-15 03:10 EDT by Markus Kuppe CLA
Modified: 2010-10-18 13:17 EDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Kuppe CLA 2010-07-15 03:10:19 EDT
We would like to have the ECF project move to git as it offers a better
ground for collaboration. Please create the /gitroot/ecf folder and I'll take it from there. Once the sync is done, I'll come back to you to ask you to get rid of the ECF CVS (unless it's possible to keep a r/o and synced CVS repo).
Comment 1 Markus Kuppe CLA 2010-07-15 03:19:15 EDT
Thinking about it, does it make sense to aggregate all runtime projects (RT) under a common top-level folder like /gitroot/rt/${project} ?
Comment 2 Denis Roy CLA 2010-07-19 10:11:10 EDT
> Thinking about it, does it make sense to aggregate all runtime projects (RT)
> under a common top-level folder like /gitroot/rt/${project} ?

We've been removing references to top-level project names since it a) shortens URIs and b) facilitates project moves from one top-level to another.  So far Git repos operate without the notion of a top-level project and that is my personal preference, but the RT PMC may with to group all its projects under a common contain.  Talk to your PMC and let me know what the outcome is.
Comment 3 Markus Kuppe CLA 2010-07-19 11:06:32 EDT
(In reply to comment #2)
> We've been removing references to top-level project names since it a) shortens
> URIs and b) facilitates project moves from one top-level to another.  So far
> Git repos operate without the notion of a top-level project and that is my
> personal preference, but the RT PMC may with to group all its projects under a
> common contain.  Talk to your PMC and let me know what the outcome is.

Makes sense to me too. At some point however, we might need a more organized page for http://git.eclipse.org/c/ when the number of projects reaches a certain point.
Comment 4 Denis Roy CLA 2010-07-19 11:17:27 EDT
Absolutely, and I've been thinking about that for a while now.  My first thought is to simply insert a break to separate the projects alphabetically.

bpmn2	
bpmnmodeler
----
emf/org.eclipse.emf.mwe.git
emf/org.eclipse.emf.mwe.releng.git
----
gemini.web/org.eclipse.gemini.web.gemini-web-container.git
(etc).

But we can use another bug to track that effort.
Comment 5 Markus Kuppe CLA 2010-07-26 11:00:57 EDT
Do you have an estimate when ECF will be moved to git?
Comment 6 Denis Roy CLA 2010-07-26 11:09:53 EDT
Sorry, I guess I got distracted by the sub-issues.  I've created /gitroot/ecf, so feel free to migrate as you'd like, in accordance with our Migration Guide [1].  I would appreciate Scott's +1 on this bug, however.



[1] http://wiki.eclipse.org/Git/Migrating_to_Git
Comment 7 Markus Kuppe CLA 2010-07-26 11:37:24 EDT
(In reply to comment #6)
> I would appreciate Scott's +1 on this bug, however.

Here's a pointer to the public discussion we held on ecf-dev [0]

Markus

[0] http://dev.eclipse.org/mhonarc/lists/ecf-dev/msg03855.html
Comment 8 Denis Roy CLA 2010-07-26 11:46:42 EDT
Sounds like fun!
Comment 9 Markus Kuppe CLA 2010-07-26 15:30:43 EDT
Two more questions...

- Is is possible to keep a continuously synced ro CVS repo after moving to git?

- Which tool is used to sync CVS to git and at what time is the sync done?
Comment 10 Scott Lewis CLA 2010-07-26 16:13:49 EDT
(In reply to comment #6)
> Sorry, I guess I got distracted by the sub-issues.  I've created /gitroot/ecf,
> so feel free to migrate as you'd like, in accordance with our Migration Guide
> [1].  I would appreciate Scott's +1 on this bug, however.

+1
Comment 11 Denis Roy CLA 2010-07-27 11:47:57 EDT
> - Is is possible to keep a continuously synced ro CVS repo after moving to git?

It may be possible, but we don't support that.  We can keep the 'old' CVS repo around, read-only.

> - Which tool is used to sync CVS to git and at what time is the sync done?

For our CVS->Git mirrors we use git-cvsimport, and our Git sync begins at 13:12 Eastern time every day.  Depending on server load and how many changes, it can take a few hours to crawl all the projects.
Comment 12 Markus Kuppe CLA 2010-07-31 06:07:42 EDT
ECF 3.4 (fall release) will be released from git
Comment 13 Markus Kuppe CLA 2010-07-31 06:15:58 EDT
Webmaster have created the /gitroot/ecf folder, thanks!

Changing assignee to myself as the remainder of the work is up to us.
Comment 14 Markus Kuppe CLA 2010-10-12 11:22:04 EDT
(In reply to comment #11)
> > - Which tool is used to sync CVS to git and at what time is the sync done?
> 
> For our CVS->Git mirrors we use git-cvsimport, and our Git sync begins at 13:12
> Eastern time every day.  Depending on server load and how many changes, it can
> take a few hours to crawl all the projects.

Denis, do you have a tool that does a consistency check between CVS and git after an import with git-cvsimport?
Comment 15 Denis Roy CLA 2010-10-12 15:37:52 EDT
I don't have a tool to do that.
Comment 16 Markus Kuppe CLA 2010-10-12 15:52:02 EDT
(In reply to comment #15)
> I don't have a tool to do that.

How long do need notice in advance to set CVS to read-only?
Comment 17 Denis Roy CLA 2010-10-12 16:49:13 EDT
I'm not sure I understand that question.  How much advance do _we_ need?  We can do this anytime.
Comment 18 Markus Kuppe CLA 2010-10-12 23:42:21 EDT
(In reply to comment #17)
> I'm not sure I understand that question.  How much advance do _we_ need?  We
> can do this anytime.

That's exactly the question. Can you do it on short notice?
Comment 19 Markus Kuppe CLA 2010-10-13 09:10:24 EDT
Denis, as per http://dev.eclipse.org/mhonarc/lists/ecf-dev/msg04345.html please set ECF's CVS to read-only. Thanks
Comment 20 Denis Roy CLA 2010-10-13 09:25:35 EDT
(In reply to comment #19)
> Denis, as per http://dev.eclipse.org/mhonarc/lists/ecf-dev/msg04345.html please
> set ECF's CVS to read-only. Thanks

Done.  For completeness, I've set the entire tree of /cvsroot/rt/org.eclipse.ecf to read-only.
Comment 21 Markus Kuppe CLA 2010-10-14 05:09:36 EDT
I forgot to set the group ID execution bit on the repo and thus a commit, the screwed up the repo permissions.. Unfortunately we cannot fix this ourself. 

Denis, please fix the permissions of /gitroot/ecf/org.eclipse.ecf.git 

In the meantime a push might either be rejected or succeed. Depending with object/ folder is accessed.
Comment 22 Markus Kuppe CLA 2010-10-14 09:19:23 EDT
(In reply to comment #21)
> I forgot to set the group ID execution bit on the repo and thus a commit, the
> screwed up the repo permissions.. Unfortunately we cannot fix this ourself. 
> 
> Denis, please fix the permissions of /gitroot/ecf/org.eclipse.ecf.git 
> 
> In the meantime a push might either be rejected or succeed. Depending with
> object/ folder is accessed.

Rereported on bug #327768
Comment 23 Denis Roy CLA 2010-10-14 09:42:43 EDT
> Denis, please fix the permissions of /gitroot/ecf/org.eclipse.ecf.git 

Done.  I've also set the sharedrepository = 1 in your config file.  This will preserve group writable permissions.


> Rereported on bug #327768

But why?
Comment 24 Markus Kuppe CLA 2010-10-18 13:17:45 EDT
Have been using git for a while now, thanks everybody for the help. :-)