Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 28-06-2010, 08:29   #1
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,878
git

Considering a shift from CVS to to git for version control. Anyone have any objections or comments regarding using sourceforge as "the" git repository? Any other options? We need to have one repo that is well known by the world to be the "official" one...... Thanks Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Old 28-06-2010, 13:18   #2
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 335
I remember a post on sourceforge vs "pure" git:
I Added libgps Support to OpenCPN

There's also a tread about git:
GIT Source Code Repository
__________________

__________________
SethDart is offline   Reply With Quote
Old 28-06-2010, 15:42   #3
Registered User
 
antonm's Avatar

Join Date: Feb 2010
Location: Saint Petersburg, Russia
Posts: 66
Quote:
Originally Posted by bdbcat View Post
Considering a shift from CVS to to git for version control. Anyone have any objections or comments regarding using sourceforge as "the" git repository? Any other options? We need to have one repo that is well known by the world to be the "official" one...... Thanks Dave
Another popular git hosting service to consider is github.

Secure source code hosting and collaborative development - GitHub

Main difference that I would note is that github is "easily forkable". Each github user may have personal branches of any project and draft or play within them. Obviously such branches are visible on the main project page and can be merged if needed.

The disadvantage is that github is actually a commercial company, open source projects provided with a free plan with space limit that are extensible though. Current limit is 300 Mb that is quite enough.

Happily git is not bound to one single repository, so SourceForge can easily be an official one and development sandbox can be in some different place if needed.
__________________
antonm is offline   Reply With Quote
Old 28-06-2010, 21:56   #4
Registered User
 
scotte's Avatar

Join Date: Apr 2007
Location: SF Bay Area, CA, USA
Boat: Privilege 39
Posts: 664
Lots of good reasons to switch to git. CVS has lived a good life, but it's really reached the end of it's life.

Choice of a hosting provider is somewhat less important, since a repo can easily be moved around... Although you do want to be sure to only have a single master/origin at any particular time. Having said that, since sourceforge is already where the project is currently, that seems like the natural choice, to me...
scotte is offline   Reply With Quote
Old 28-06-2010, 23:23   #5
Registered User

Join Date: Mar 2010
Location: Göteborg, Sweden
Boat: Seamaster 700
Posts: 96
Send a message via Skype™ to balp
I love git....

I guess no surprise in that.

I like github as a development area, it have many more nice functions that sf. In the repository, SF thou have bug tracking and stuff like that github is missing. Howevere haveing a git reposotory at sf does not hinder deleopeers from using github and shareing stuff there. It maybe will give a small manual labour for someone to push updates into that place, if one have an extra repository.

The handling of comments on code is really nice in github imho...
__________________
balp is offline   Reply With Quote
Old 28-06-2010, 23:31   #6
Registered User

Join Date: Nov 2009
Location: Bellingham WA
Boat: 17' faering Ironblood, building 34' schooner Javelin
Posts: 305
Follow me, Alice .... no time to wave hello, goodbye ..... Did this thread happen under the mushroom?
__________________
MichaelC is offline   Reply With Quote
Old 29-06-2010, 05:52   #7
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Hi,
just tested github about 3 miles off the Croatian coast with the local 3g usb stick which is probably the only option to get reasonably priced internet here. Works very well... As for the SF approach to git, read the post pointed out higher - limited in the features, for an official repo no problem though. As for the development, github is really much better as far as I can tell.

Pavel
__________________
nohal is offline   Reply With Quote
Old 29-06-2010, 19:45   #8
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,878
CVS is dead, long live git

Developers and Testers....

I have initialized a git repository on sourceforge:

You can view the repo through the sourceforge web page.
You can clone a local copy by:

Code:
git clone git://opencpn.git.sourceforge.net/gitroot/opencpn/opencpn
This repo will be the "official" OpenCPN git spot. This is not to say that other private repos should not be utilized for development and code sharing. Far from it. It merely means that when we get into the next stage of Beta testing, this is where the RC's will come from, and this is where the Release will occur.

I will push changes to this repo (or maybe a branch) for future Betas and Releases. Developers may pull and merge with their local branches as needed. email me when your patches are ready, and I will pull, merge, and push to the sourceforge master ( or maybe a "bleeding edge" branch) as appropriate.

Developers are also encouraged to publish links to their own (github, etc) repositories, so that courageous testers can try out new features before they are integrated into the master.

Sourceforge CVS is now dormant at Release 2.1.0 Build 624a

git is a new thing for me, and there may be hiccups. Seems workable so far..... We shall overcome any difficulties as they arise

Dave
__________________
bdbcat is offline   Reply With Quote
Old 02-07-2010, 10:32   #9
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
I like to have a script doing all the download and compiling work for me. This way I only need one command + a password later on, to start playing with one of Dave's latest betas. Here is my latest incarnation of this script, using git. You only need to edit the third line in the script to suit you. If you haven't got a git copy of opencpn it creates one, otherwise it updates the existing one if there are any changes on sourceforge. Ideas for a better script are welcome.

Thomas
Attached Files
File Type: doc GitOCPN.tar.gz.doc (390 Bytes, 39 views)
__________________

__________________
cagney is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 03:54.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.