Author |
Message
|
deepak_paul |
Posted: Thu Sep 05, 2013 11:10 am Post subject: Migration from SVN to Git for Message Broker Projects |
|
|
Centurion
Joined: 04 Oct 2008 Posts: 147 Location: US
|
All,
Anyone has experience in migrating Message Broker projects from SVN to Git or setting up Git repo for Broker projects newly. Wanted to check if there are any special considerations to make, best practices, migration strategy on setting up the Git repo, tools for migration and Build/Deploy strategy for Broker projects. Please share if you have any experience. _________________ Regards
Paul |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Sep 05, 2013 11:28 am Post subject: Re: Migration from SVN to Git for Message Broker Projects |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
deepak_paul wrote: |
All,
Anyone has experience in migrating Message Broker projects from SVN to Git or setting up Git repo for Broker projects newly. Wanted to check if there are any special considerations to make, best practices, migration strategy on setting up the Git repo, tools for migration and Build/Deploy strategy for Broker projects. Please share if you have any experience. |
Its no different than for any other Eclipse/Java project. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Sep 05, 2013 12:40 pm Post subject: Re: Migration from SVN to Git for Message Broker Projects |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
lancelotlinc wrote: |
Its no different than for any other Eclipse/Java project. |
Except that a lot of Broker Devs have no idea of the wonderful world of Java dev and class/classpath nightmares. (eg Vitor, me). IF you have never installed a plugin into your broker tooling then there can as the saying goes, 'dragons ahead'.
There are things to take into consideration when setting up the GIT environment on your dev machine.
1) Install Git on the machine/VM. This will act as your local repo that will be sync'd with the main one
2) Install the GIT/MYLN addons into the toolkit. Don't install the sources and be prepared to do a bit of trial and error to get the plugins installed.
3) Install a GIT Gui on the machine/VM as well. GITub is a good one. My only beef is that the windows version looks like a Windows 8 Application (Ugh! WTF! Why?)
I have raised the issue of the version of Eclipse being used for broker not being one of the versions that has the GIT plugins already builtinto it with IBM. Hopefully by the time V10 is released they will be using one that does not need to have the plugins installed. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Sep 06, 2013 3:58 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Just because some Eclipse version ships with a set of plugins, does NOT, alas, mean that a Toolkit version built on top of that Eclipse version will ALSO ship with the same set of plugins.
It'll be much easier to add them if it doesn't, though. |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Sep 06, 2013 4:49 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
mqjeff wrote: |
It'll be much easier to add them if it doesn't, though. |
That always assumes that the separate plugin installs for git/myln will still be available  _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
deepak_paul |
Posted: Fri Sep 06, 2013 5:44 am Post subject: |
|
|
Centurion
Joined: 04 Oct 2008 Posts: 147 Location: US
|
Any good tools out there for a smooth migration from SVN to Git? _________________ Regards
Paul |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Sep 06, 2013 5:57 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You mean "How can I move change information out of SVN and into GIT"?
Or do you mean "How do I check out code from SVN and then check it into GIT"?
Most change control systems are bad about allowing you to export change history. Likewise they are bad about importing change history. I suspect that both Git and SVN are like most systems. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Fri Sep 06, 2013 5:57 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
deepak_paul wrote: |
Any good tools out there for a smooth migration from SVN to Git? |
The best tool is between the keyboard and the chair. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Tibor |
Posted: Fri Sep 06, 2013 5:57 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
There is a git-svn package, and you can use the next command: git svn clone |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Sep 06, 2013 6:00 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Tibor wrote: |
There is a git-svn package, and you can use the next command: git svn clone |
So at least git is not like most change control systems. |
|
Back to top |
|
 |
|