source control for personal use
-
zorocke
- Halfling
- Posts: 48
- Joined: Mon Dec 22, 2008 5:01 pm
source control for personal use
I'm just wondering, how many people use source control locally for their own personal use? I'm thinking about trying it on my next project. You know, set up a local SVN server on your own computer. Of course this would make development much cleaner, even though it's just me working on the project.
- Karan
- Halfling
- Posts: 62
- Joined: Wed Sep 17, 2008 1:59 pm
- Location: Berlin, Germany
Re: source control for personal use
I like using SVN for my personal projects. Wouldn't code without it if it's more than a small script or exercise or the like...
Though not local, got a personal repository on a server in my university.
Though not local, got a personal repository on a server in my university.
-
zorocke
- Halfling
- Posts: 48
- Joined: Mon Dec 22, 2008 5:01 pm
Re: source control for personal use
That seems nice.Karan wrote:I like using SVN for my personal projects. Wouldn't code without it if it's more than a small script or exercise or the like...
Though not local, got a personal repository on a server in my university.
It would be cool if i could get a server running SVN, but this might be hard to find for free if i'm not open sourcing the project( Lol, i haven't even decided what my next project will be yet. I've been out of programming for a while). Any one have any suggesting on SVN hosting solutions for non-open source projects?
- cdleonard
- Goblin
- Posts: 266
- Joined: Thu May 31, 2007 9:45 am
Re: source control for personal use
You don't need a svn server; you can create a local svn repository which can only be accessed using a file:/// url. Here's how it would look like:
Now the privsvn-co should contain a checkout of your new empty repository; and you can start adding stuff. Later you can configure a web server for the same repository; but you don't have to.
Code: Select all
svnadmin create privsvn
export PRIVSVNREPO=file:///home/user/privsvn
svn checkout $PRIVSVNREPO privsvn-co
- jacmoe
- OGRE Retired Moderator

- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: source control for personal use
Use Git.
It's perfect for personal use. Does not need a server, is fast and flexible.
However, if you need a free server (SVN) for closed source, try Origo.
It's perfect for personal use. Does not need a server, is fast and flexible.
However, if you need a free server (SVN) for closed source, try Origo.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- milliams
- Gremlin
- Posts: 172
- Joined: Fri Feb 16, 2007 1:47 am
- Location: Portsmouth, UK
- Contact:
Re: source control for personal use
I have to agree. Git just makes perfect sense for doing local source control. It adds hardly any overhead at all and doesn't require a server. If you ten want to distrubute the code, loning it to a remote server such as GitHub or Gitorious is really easy.jacmoe wrote:Use Git.
It's perfect for personal use. Does not need a server, is fast and flexible.
If you want to understand Git really well, try giving the Git Parable a read.
- spacegaier
- OGRE Team Member

- Posts: 4308
- Joined: Mon Feb 04, 2008 2:02 pm
- Location: Germany
- x 137
- Contact:
Re: source control for personal use
Is Git a local SVN or designed for running on a server? Would it also run on simple webspace with php or does it require full server access?
Currently, I use AnkhSVN. It creates a local SVN server and is integrated in VisualStudio.
Currently, I use AnkhSVN. It creates a local SVN server and is integrated in VisualStudio.
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
- jacmoe
- OGRE Retired Moderator

- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: source control for personal use
Git is distributed source control - let me quote from git-scm.com:
Use pull and push to - well - pull and push from a server, like Github.
One thing I really like about Git is that it's really easy to create, merge, manage branches.
Unlike SVN, which is &%"¤&
Normal commits are performed locally, as is mostly everything else.Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Every Git clone is a full-fledged repository with complete history and full revision tracking capabilities, not dependent on network access or a central server. Branching and merging are fast and easy to do.
Use pull and push to - well - pull and push from a server, like Github.
One thing I really like about Git is that it's really easy to create, merge, manage branches.
Unlike SVN, which is &%"¤&
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- milliams
- Gremlin
- Posts: 172
- Joined: Fri Feb 16, 2007 1:47 am
- Location: Portsmouth, UK
- Contact:
Re: source control for personal use
To be able to access a Git repository located on a remote server, I believe you need to be able to an application called 'git-daemon' which serves the git based requests to the outside world. I would imagine that you need to have full server access in order to run git-daemon as a service but I'm really not sure.
As far as a web frontend, there's Gitorious (Ruby on Rails), cgit (C) and gitweb (Perl) that come to mind. However, without git daemon running they'll do nothing more than allow people to browse the contents of the Git repo.
As far as a web frontend, there's Gitorious (Ruby on Rails), cgit (C) and gitweb (Perl) that come to mind. However, without git daemon running they'll do nothing more than allow people to browse the contents of the Git repo.
- jacmoe
- OGRE Retired Moderator

- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: source control for personal use
Nope. Unless it's installed behind my back: no daemon. Just clone, push or pull. Over ssh. 
Look at this for a good guide to Git:
http://www.kernel.org/pub/software/scm/ ... ryday.html
Look at this for a good guide to Git:
http://www.kernel.org/pub/software/scm/ ... ryday.html
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- milliams
- Gremlin
- Posts: 172
- Joined: Fri Feb 16, 2007 1:47 am
- Location: Portsmouth, UK
- Contact:
Re: source control for personal use
Yeah, ok. I've just found http://www.rubynaut.net/articles/2008/0 ... repository which makes it all seem a lot easier. Just ssh and nothing else 
-
zorocke
- Halfling
- Posts: 48
- Joined: Mon Dec 22, 2008 5:01 pm
Re: source control for personal use
Git does look interesting since as of now most of my code will be done locally, but i've used SVN before and have a lot of experience with it. I'm also thinking hosted SVN will be good because I might want to sync with my laptop when i go places.
I did find Origo, but I also found xp-dev. I was planning on using xp-dev because it looks like it might be faster from where I am, as far as i can tell.
jacmoe wrote:However, if you need a free server (SVN) for closed source, try Origo.
I did find Origo, but I also found xp-dev. I was planning on using xp-dev because it looks like it might be faster from where I am, as far as i can tell.
- jacmoe
- OGRE Retired Moderator

- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: source control for personal use
It looks easy enough to set up your own Git server:
http://This post is suspected as SPAM! If you feel otherwise contact a moderator..com/2008/4/14/ ... git-server
http://This post is suspected as SPAM! If you feel otherwise contact a moderator..com/2008/4/14/ ... git-server
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- jacmoe
- OGRE Retired Moderator

- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: source control for personal use
Also, if you prefer to store your project on a SVN server somewhere, and still use Git locally, you can do that. 
Use git svn ->
http://justaddwater.dk/2009/03/09/using ... -workflow/
The best of both worlds, IMO.
Use git svn ->
http://justaddwater.dk/2009/03/09/using ... -workflow/
The best of both worlds, IMO.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- Klaim
- Old One
- Posts: 2565
- Joined: Sun Sep 11, 2005 1:04 am
- Location: Paris, France
- x 56
- Contact:
Re: source control for personal use
This is great!
I think I'll try git as while keeping my svn server.
By the way, any problem using git on windows?
I think I'll try git as while keeping my svn server.
By the way, any problem using git on windows?
- milliams
- Gremlin
- Posts: 172
- Joined: Fri Feb 16, 2007 1:47 am
- Location: Portsmouth, UK
- Contact:
Re: source control for personal use
There were claims that it is slower than on Linux but I've not had any trouble using msysgit.Klaim wrote:By the way, any problem using git on windows?
- jacmoe
- OGRE Retired Moderator

- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: source control for personal use
One issue: Git for windows doesn't seem to have https support (in cUrl) compiled in. You need to use http or svn protocols.
For GUI, I use git-cola.
For GUI, I use git-cola.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- nikki
- Old One
- Posts: 2730
- Joined: Sat Sep 17, 2005 10:08 am
- Location: San Francisco
- x 13
- Contact:
-
Speedo
- Greenskin
- Posts: 106
- Joined: Fri Jan 23, 2009 9:17 pm
Re: source control for personal use
Anyone have guides or etc for managing projects with SVN?
- jacmoe
- OGRE Retired Moderator

- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: source control for personal use
I use(d) the official SVN handbook, the manual that comes with TortoiseSVN, and good 'ole Google for the rest.
<edit>
If you are going to branch/merge, make sure you read this:
http://www.ogre3d.org/wiki/index.php/Merging_Branches
I gave up on SVN. It's so much easier to branch/merge using Git.
However, Git has its share of drawbacks, so maybe a combination of the two?
</edit>
<edit>
If you are going to branch/merge, make sure you read this:
http://www.ogre3d.org/wiki/index.php/Merging_Branches
I gave up on SVN. It's so much easier to branch/merge using Git.
However, Git has its share of drawbacks, so maybe a combination of the two?
</edit>
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- Karan
- Halfling
- Posts: 62
- Joined: Wed Sep 17, 2008 1:59 pm
- Location: Berlin, Germany
Re: source control for personal use
Or Mercurial? Had to use it for a little project, is similar to git. Though I didn't use any advanced features. Otherwise I stick with SVN so far because I'm more familiar with it and TortoiseSVN seems much better than the GUI tools for git/mercurial (or has that changed? It's been a while since I checked out git). I don't want to learn all those console commands...
- jacmoe
- OGRE Retired Moderator

- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: source control for personal use
Git-Cola is nice. The 'built-in' Git-gui is not bad either. And then there's TortoiseGit (which has improved a lot lately). 
Mercurial seems to be okay, but doesn't have cheap local branching or a staging area (Git-stash).
Mercurial seems to be okay, but doesn't have cheap local branching or a staging area (Git-stash).
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
-
zorocke
- Halfling
- Posts: 48
- Joined: Mon Dec 22, 2008 5:01 pm
Re: source control for personal use
TortoiseGit looks cool because from the screenshots it looks very similar to TortoiseSVN which i'm already good at using.
- :wumpus:
- OGRE Retired Team Member

- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
Re: source control for personal use
I second that.jacmoe wrote: It's perfect for personal use. Does not need a server, is fast and flexible.
The only drawback of GIT is the confusing stuff when something goes wrong (like a conflict). It starts to spew jargon and very terse error messages in that case. SVN is much nicer and user friendly when that happens.
So to a beginner to source control I can only recommend setting up a personal SVN server or using some repository...

