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

Bug 359298

Summary: Git migration request
Product: Community Reporter: Daniel Drigo Pastore <kpqb38>
Component: GitAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ericc, kpqb38, wmg040
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Daniel Drigo Pastore CLA 2011-09-28 15:41:24 EDT
Hi guys,

We would like to ask you to create our GIT repository. :)

Migration timeline: we don't have it completely figured out, but we don't want to take too long to complete it, so I'd say the next few weeks or so.

Mapping of current code to new Git repos: we think it would be only one git repo, org.eclipse.sequoyah.git, right? We'd like to keep the layout as it is in SVN, with all the branches and tags.

Your decision regarding existing code (archive or import): we would like to keep history, so an import would be preferred.

A description for each of your repositories:
Trunk/master - "Main code of development"
  org.eclipse.sequoyah - "License feature, build feature, capabilities"
  org.eclipse.sequoyah.android - "Native android development support"
  org.eclipse.sequoyah.device - "Device management support"
  org.eclipse.sequoyah.localization - "Localization framework"
  org.eclipse.sequoyah.pulsar - "Pulsar code"
  org.eclipse.sequoyah.vnc - "VNC support"

Also, please DO NOT freeze our SVN now. As soon as we are all set with GIT, we'll ask the freeze.

Is there any other information I may provide?

Thanks for your attention and help,

Daniel Pastore
Sequoyah Team
Comment 1 Eclipse Webmaster CLA 2011-09-29 15:10:22 EDT
I've created a test import here: git.eclipse.org/gitroot/sequoyah/org.eclipse.sequoyah.git .  Can you take a look and tell me if it's as you expect?

-M.
Comment 2 Daniel Drigo Pastore CLA 2011-09-29 15:13:02 EDT
(In reply to comment #1)
> I've created a test import here:
> git.eclipse.org/gitroot/sequoyah/org.eclipse.sequoyah.git .  Can you take a
> look and tell me if it's as you expect?
> 
> -M.

Hi, Matt!

I'll check things and get back to you ASAP.

Many thanks!

Daniel Pastore
Sequoyah Team
Comment 3 Daniel Drigo Pastore CLA 2011-09-30 13:40:42 EDT
(In reply to comment #1)
> I've created a test import here:
> git.eclipse.org/gitroot/sequoyah/org.eclipse.sequoyah.git .  Can you take a
> look and tell me if it's as you expect?
> 
> -M.

Hi Matt,

I have been trying to checkout, I mean, clone the repository, but I have received the message:

"git.exe clone  --progress -v  "ssh://git.eclipse.org/gitroot/sequoyah/org.eclipse.sequoyah.git" "C:\Tests\bla\org.eclipse.sequoyah"

Cloning into C:\Tests\bla\org.eclipse.sequoyah...
fatal: '/gitroot/sequoyah/org.eclipse.sequoyah.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly"

I tried with TortoiseGIT and EGit on Eclipse, and both fail to find the repository. Am I doing something wrong? :(

Thanks for your help,

Daniel Pastore
Sequoyah Team
Comment 4 Eclipse Webmaster CLA 2011-09-30 14:40:21 EDT
Sorry typo in the repo name. Fixed, please try the clone again.

-M.
Comment 5 Daniel Drigo Pastore CLA 2012-06-11 16:26:08 EDT
Hi there again,

I was wondering if we could resync the git repo and finish the migration.
I don't know how much effort this brings to you, and since we are close to Juno's release, I thought that I should ask prior to announcing any dates on Sequoyah's mailing list.

So, guys, when could we do this, please? :)

Thanks again,

Daniel Pastore
Sequoyah Team
Comment 6 Eclipse Webmaster CLA 2012-06-12 13:42:53 EDT
So I just wanted to clarify something before I re-run the import: you're ok with a 'single' git repo correct?  That's our standard method of conversion.

-M.
Comment 7 Daniel Drigo Pastore CLA 2012-06-12 13:53:44 EDT
Hi Matt,

> So I just wanted to clarify something before I re-run the import: you're ok
> with a 'single' git repo correct?  That's our standard method of conversion.

This is what you have done before, right?
I checked this code out and it seems about right. :)
And since the SVN repo will remain available for reading, I can recreate any branch that we miss.

Also, I would just like to ask one more thing: I tried to clone the repo without my committer credentials and I couldn't. The repo should be *readable* without credentials, right? The commits are protected, but anyone should be able to clone it, as far as I understand. :)

Thanks,

Daniel Pastore
Sequoyah Team
Comment 8 Eclipse Webmaster CLA 2012-06-12 14:19:30 EDT
(In reply to comment #7)

> This is what you have done before, right?

Yes.

> The repo should be *readable* without credentials, right? The commits are >protected, but anyone should be able to clone it, as far as I understand. :)

Right.  I just tried from my remote location and had no problems:

[@remote~]$ git clone git://git.eclipse.org/gitroot/sequoyah/org.eclipse.sequoyah.git
Cloning into 'org.eclipse.sequoyah'...
remote: Counting objects: 21413, done.
remote: Compressing objects: 100% (4935/4935), done.
remote: Total 21413 (delta 11500), reused 21413 (delta 11500)
Receiving objects: 100% (21413/21413), 12.68 MiB | 1.51 MiB/s, done.
Resolving deltas: 100% (11500/11500), done.

Ok the next question is: when will the SVN repo be quiet enough for me to do the move?

-M.
Comment 9 Daniel Drigo Pastore CLA 2012-06-12 14:57:21 EDT
Hi Matt,

Thanks for the clarifications!

And the repo is quiet since SR2, so it's up to you, whenever you can do it.
Just please give me the dates (e.g. SVN freezes on Jun 14th, GIT available on Jun 15th, etc) so I can announce them on our mailing list.

Thanks,

Daniel Pastore
Sequoyah Team
Comment 10 Eclipse Webmaster CLA 2012-06-13 11:18:29 EDT
(In reply to comment #9)

> And the repo is quiet since SR2, so it's up to you, whenever you can do it.
> Just please give me the dates (e.g. SVN freezes on Jun 14th, GIT available on
> Jun 15th, etc) so I can announce them on our mailing list.

Ok sounds good to me.

-M.
Comment 11 Daniel Drigo Pastore CLA 2012-06-13 12:26:08 EDT
(In reply to comment #10)
> (In reply to comment #9)
> 
> > And the repo is quiet since SR2, so it's up to you, whenever you can do it.
> > Just please give me the dates (e.g. SVN freezes on Jun 14th, GIT available on
> > Jun 15th, etc) so I can announce them on our mailing list.
> 
> Ok sounds good to me.
> 
> -M.

Great, Matt!

I have just announced on the mailing list.
If you need me to do something from here, just tell me, please.

Many thanks,

Daniel Pastore
Sequoyah Team
Comment 12 Eclipse Webmaster CLA 2012-06-15 11:23:16 EDT
Ok I think we're all set.  I've 'reused' git.eclipse.org/gitroot/sequoyah/org.eclipse.sequoyah.git as the repo location.

Remember that commits need to come in via ssh.  

For some general git info see: http://wiki.eclipse.org/Git

-M.
Comment 13 Daniel Drigo Pastore CLA 2012-06-15 16:03:04 EDT
(In reply to comment #12)
> Ok I think we're all set.  I've 'reused'
> git.eclipse.org/gitroot/sequoyah/org.eclipse.sequoyah.git as the repo location.
> 
> Remember that commits need to come in via ssh.  
> 
> For some general git info see: http://wiki.eclipse.org/Git
> 
> -M.

Hi Matt,

Thanks for your help so far.
I could test the clone/checkout and it is working fine, but I have to use the git protocol, I could not use the http.

Since we do have to make a small fix in Sequoyah, I'll try to commit later today or in the next few days and I'll test the SSH part.

If we have any problems, we'll ask for your help. :)

Many thanks and a nice weekend for you all,

Daniel Pastore
Sequoyah Team