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

Bug 348470

Summary: Git migration request
Product: Community Reporter: Axel Uhl <eclipse>
Component: GitAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: adolfosbh, ed, laurent.goubet, webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
URL: http://wiki.eclipse.org/MDT/OCL/CVS2GIT
Whiteboard:

Description Axel Uhl CLA 2011-06-06 16:10:14 EDT
Please migrate the CVS at dev.eclipse.org:/cvsroot/modeling/org.eclipse.mdt/org.eclipse.ocl to a new git repository at

    git.eclipse.org/gitroot/mdt/org.eclipse.ocl.git

We'll leave /cvsroot/modeling/org.eclipse.mdt/org.eclipse.ocl.releng behind in CVS. Our path mappings are explained in http://wiki.eclipse.org/MDT/OCL/CVS2GIT

With the publishing of RC4 which just happened, our CVS is frozen. Webmaster can feel free to start the import now. We're fine with a plain cvsimport taking the history with us. We can do the moves that we desire for the feature directories into a new top-level features/ folder ourselves.

Thanks and bunch.
Comment 1 Ed Willink CLA 2011-06-06 16:25:06 EDT
+1 (in case project lead authorization needed)
Comment 2 Eclipse Webmaster CLA 2011-06-10 16:47:50 EDT
Ok I've done an initial import(gitroot/mdt/org.eclipse.ocl.git).  Can you verify that it's as you expect?

-M.
Comment 3 Ed Willink CLA 2011-06-10 17:13:17 EDT
Is there a time lag?

I can see the files on build.eclipse.org but the EGIT repository explorer reports git://git.eclipse.org/gitroot/mdt/org.eclipse.ocl.git cannot be found.
Comment 4 Axel Uhl CLA 2011-06-11 04:30:44 EDT
http://git.eclipse.org/c/mdt/org.eclipse.ocl.git/ says "Not a git repository: '/gitroot/mdt/org.eclipse.ocl.git'".
Comment 5 Axel Uhl CLA 2011-06-11 04:34:15 EDT
Ah, when using

  git clone ssh://auhl@git.eclipse.org/gitroot/mdt/org.eclipse.ocl.git

things work like a charm. I'll check the repo contents.
Comment 6 Ed Willink CLA 2011-06-11 04:54:23 EDT
(In reply to comment #5)
> Ah, when using
> 
>   git clone ssh://auhl@git.eclipse.org/gitroot/mdt/org.eclipse.ocl.git
> 
> things work like a charm. I'll check the repo contents.

Yes. ssh://ewillink@git.eclipse.org/gitroot/mdt/org.eclipse.ocl.git works much better.

But why doesn't git://git.eclipse.org/gitroot/mdt/org.eclipse.ocl.git when the equivalent works for e.g. Xtext?
Comment 7 Axel Uhl CLA 2011-06-12 17:34:08 EDT
Looks good. All files seem to have been migrated. No diffs that a recursive
diff would notice. Checking out the git repository lets all mainstream tests succeed.
Comment 8 Ed Willink CLA 2011-06-13 01:51:04 EDT
Axel: The *-feature plugins need manual relocation.
Comment 9 Axel Uhl CLA 2011-06-13 03:32:34 EDT
Moved now.
Comment 10 Adolfo Sanchez-Barbudo Herrera CLA 2011-06-13 10:25:22 EDT
> 
> But why doesn't git://git.eclipse.org/gitroot/mdt/org.eclipse.ocl.git when the
> equivalent works for e.g. Xtext?

We will need to fix this to make the builds work (allow anonymous user).

Perhaps, granting some read access to others for every file should suffice. For instance, the following files at /gitroot/mdt/org.eclipse.ocl.git:

...
-rw-r-----  1 khussey modeling.mdt.ocl     66 2011-06-10 15:46 config
-rw-r-----  1 khussey modeling.mdt.ocl     73 2011-06-10 15:46 description
-rw-r-----  1 khussey modeling.mdt.ocl     23 2011-06-10 15:46 HEAD
drwxrwsr-x  2 khussey modeling.mdt.ocl    472 2011-06-10 15:46 hooks
-rw-r-----  1 khussey modeling.mdt.ocl 881894 2011-06-10 16:43 index
...

Subfolders also contain files not allowed to others. For instance at /gitroot/mdt/org.eclipse.ocl.git/refs/tags:

total 896
-rw-r----- 1 khussey modeling.mdt.ocl 41 2011-06-10 15:49 build_200512121700
-rw-r----- 1 khussey modeling.mdt.ocl 41 2011-06-10 15:49 build_200601051352
-rw-r----- 1 khussey modeling.mdt.ocl 41 2011-06-10 15:49 build_200601191242
...

The files owner (khussey) and/or the webmaster (root) should fix this. Reopening

Regards,
Adolfo.
Comment 11 Axel Uhl CLA 2011-06-13 10:44:06 EDT
$ git clone http://git.eclipse.org/gitroot/mdt/org.eclipse.ocl.git
Cloning into org.eclipse.ocl...
fatal: http://git.eclipse.org/gitroot/mdt/org.eclipse.ocl.git/info/refs not found: did you run git update-server-info on the server?


Can you log on to the server? In this case, could you try the recommended "git update-server-info" and subsequently use the http method for anonymous access if it works?
Comment 12 Eclipse Webmaster CLA 2011-06-13 13:49:46 EDT
(In reply to comment #10)

> The files owner (khussey) and/or the webmaster (root) should fix this.
> Reopening

Fixed.

-M.
Comment 13 Adolfo Sanchez-Barbudo Herrera CLA 2011-06-13 14:03:25 EDT
Thanks a lot.

Now, I can successfully clone a repository using the git protocol (git://git.eclipse.org/gitroot/mdt/org.eclipse.ocl.git).

Cheers,
Adolfo.
Comment 14 Ed Willink CLA 2011-06-15 14:19:33 EDT
Hi Webmaster.

Can you shed any light on this?
Comment 15 Eclipse Webmaster CLA 2011-06-15 14:47:17 EDT
(In reply to comment #14)
 
> Can you shed any light on this?

What specifically would you like me to answer?

-M.
Comment 16 Ed Willink CLA 2011-06-15 15:25:44 EDT
(In reply to comment #15)
> (In reply to comment #14)
> 
> > Can you shed any light on this?
> 
> What specifically would you like me to answer?
> 
> -M.

Sorry. Idiot. It was Bug 346140 that Miles Parker suggested consulting you on; strange EGIT/GIT problems
Comment 17 Ed Willink CLA 2011-07-30 15:26:48 EDT
No idea why this was still open.