Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361849

Summary: Git migration request: EMFT Texo project
Product: Community Reporter: Martin Taal <mtaal>
Component: GitAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Martin Taal CLA 2011-10-24 14:29:35 EDT
Hi,
I would like to move the EMFT Texo project to git. Currently Texo is hosted in cvs:
dev.eclipse.org
/cvsroot/modeling
org.eclipse.emf/org.eclipse.emf.texo

Remarks:
- I can work with one repository which contains all the code.
- The current cvs plugins do not need to be migrated (I will push a completely new structure myself)
- Preferably the old cvs repo should remain for archiving/history.
- My prefered name/location for the repository: http://git.eclipse.org/c/texo/texo.git/
- Description: Model-driven development for web-server/service environments

Questions:
Can you create the base repository for me including the current committers of Texo (there are 2)?

I will import my plugins etc. myself as I want to create a completely new structure within the repository.

Thanks!

gr. Martin
Comment 1 Eclipse Webmaster CLA 2011-10-24 14:42:49 EDT
I've created /gitroot/texo for you.

You may want to consider following the emergent naming convention for repositories (org.eclipse.project.name.git).

-M.
Comment 2 Martin Taal CLA 2011-10-24 16:33:27 EDT
Ok, if that's the standard, ofcourse then that's better:
org.eclipse.emf.texo

Does this mean a name change for the repository also? (I guess so, can you do that for me?)

gr. Martin
Comment 3 Eclipse Webmaster CLA 2011-10-24 16:48:07 EDT
Sorry if I confused things.

Your usage of /gitroot/texo is correct(all projects are 'flat' under /gitroot).  

I was suggesting the name for the repo itself(/gitroot/texo/org.eclipse.emft.texo.somecomponent.git).  Since you can init the repo yourself(initrepo /gitroot/texo/my.repo.git), you can chose to follow along of blaze your own path.

-M.
Comment 4 Martin Taal CLA 2011-10-24 17:00:03 EDT
Thanks! on which server should I do this (dev.eclipse.org?)?

Have the texo committers/logins also been transferred or is this I need to do myself? (is there a wiki page on this?)

gr. Martin
Comment 5 Martin Taal CLA 2011-10-25 09:29:38 EDT
And an additional question, currently I have a mailing list on cvs-commits, is there an equivalent mailing list for any commits to the git repo?

gr. Martin
Comment 6 Martin Taal CLA 2011-10-29 03:12:39 EDT
Hi,
Sorry to bug you but I have no idea how to continue:
- I found out that I need to run the initrepo on git.eclipse.org, but I get the r$ shell, can you give me shell access?
- is there something you can do to migrate the 2 committers on the project (myself and Dmitry Harachka) to git, or should I do that?
- can you also setup a commit mailing list for the git repositories, or maybe this can be done for each repository within /gitroot/texo

gr. Martin
Comment 7 Eclipse Webmaster CLA 2011-10-31 11:27:22 EDT
Sorry off for a couple of days.

(In reply to comment #6)
> - I found out that I need to run the initrepo on git.eclipse.org, but I get the
> r$ shell, can you give me shell access?

The initrepo command is available even with the restricted shell.  Just make sure to specify the full repo path: /gitroot/texo/org.eclipse.my.repo.name.git .

> - is there something you can do to migrate the 2 committers on the project
> (myself and Dmitry Harachka) to git, or should I do that?

Unless I'm missing something since you're not changing project 'parents', there isn't anything to do for this.  Once you've created the repo as long as the group ownership is correct everything should just work.

> - can you also setup a commit mailing list for the git repositories, or maybe
> this can be done for each repository within /gitroot/texo

We can certainly add a hook to push notices to your mailing list.  Since we can't rename lists your choices are: a new list or keep the old list and 'ignore' the name.

-M
Comment 8 Martin Taal CLA 2011-10-31 14:57:22 EDT
Thanks

I accidentally created a wrong repository here:
http://git.eclipse.org/c/texo/org.eclipse.my.repo.name.git

can you remove it?

I created another repository in /gitroot/texo but it does not show up in git it seems (maybe there is a delay):
http://git.eclipse.org/c/texo/org.eclipse.emf.texo

Or is there another reason that it does not show up?

Can you create a nofitication for the complete texo path and/or for this last repo? The commit mailing list:
texo-commit@eclipse.org

Thanks!

gr. Martin
Comment 9 Eclipse Webmaster CLA 2011-10-31 16:56:52 EDT
(In reply to comment #8)
> 
> can you remove it?

Done.

> Or is there another reason that it does not show up?

There does seem to be a 5-10 minute delay for new repos to appear, after that they're ok.

> Can you create a nofitication for the complete texo path and/or for this last
> repo? The commit mailing list: texo-commit@eclipse.org

The notifications are per repo, so I've added the post-receive hook and pointed it at texo-commit.

-M.
Comment 10 Martin Taal CLA 2011-11-01 01:19:20 EDT
Hi,
This all seems to work fine, great! 

Can you make the cvs repository read only or archive it somewhere?

gr. Martin
Comment 11 Eclipse Webmaster CLA 2011-11-01 10:40:50 EDT
I've removed your cvs data from the repo after creating a tgz of it, and placing it here:  http://archive.eclipse.org/modeling/emft/texo/texo.cvs.tgz .

-M.