Darwinbots Forum
General => Off Topic => Topic started by: Botsareus on April 02, 2012, 03:56:29 PM
-
We are running Ubuntu.
My Instructor needs me to work on a group project.
We have no source version control software, so I suggested SmartSVN.
We installed smartSVN.
The problem is, I have no idea how to set up the server side for SmartSVN...
Can anyone help?
-
It is honestly not worth setting up a server unless you already know how. I would recommend one of the existing hosting providers like GitHub (supports git) or BitBucket (supports git and mercurial). BitBucket allows for free private repositories which is pretty cool.
Note that both of those only support distributed version control systems, so if you are not familiar with them there will be a bit of a learning curve.
-
You can also try google code ]clicky (http://code.google.com/hosting/). I've never used it, though; I always just bit the bullet and paid for hosting (or got Shasta to set things up).
-
k, w'ill try
One more question for Shasta:
Will it be any easier to setup a server for a private network???
-
Well, you technically don't need a central server for Git or Mercurial... but that probably isn't what you are asking. SVN is pretty much set up in one of two ways, being served though mod_dav in apache or over ssh. It isn't too bad as far as setup goes, but you will need a machine that can run it, and there are other things to take into consideration like permissions for the repositories.
-
We don't really need ssh, Can I get some external documentation to setup apache? (mod_dav as far as I understand is automatically included with SmartSVN) :lazy:
-
eh, never mind, it was fairly easy to find. If I have any trouble with this setup I'll let you know.
-
We are having the following problems:
- Do we need to set up a local repository? If so, what files do we use for svnadmin and svnserve?
- After we find the svnadmin and svnserve files, what location do we use for the local repository, hostname/port?
plz help
-
Not sure what you mean by local repository. Definitely you have to set up a server with SVN, and everyone on the team will need internet access to the server. That's the advantage of something like git, where each local copy is its own repository.
Assuming you have a server of some sort, you can install SVN on to it thusly: (for windows (http://willperone.net/Code/svnserver.php). A Linux install is similar.
And of course, a hosted repository like on google code does all the work of setting up the servers for you.
-
Ubontu on LAN:
We need the executable files (RED)
So we decided to follow the link (GREEN)
Unfortunately, there was no executable files in the package, I believe we have to extract them somehow... how???
-
I don't know.
-
:blink: I hope Shasta knows...
-
Install the subversion package for ubuntu. Should be something like:
apt-get install subversion
this will install the executables you need. They will probably end up in /usr/bin
-
lol, we always had the files in the user/bin folder we just never checked there...
We still have some problems:
When I setup a local repository I get this:
-
When the guy I am working with tries to connect to it we get this (the IP is correct):
-
You have to make sure the server is accepting connections on the appropriate port, that you aren't behind a firewall, etc.
-
We where considering that, not sure how I change the port on my side (the local repository side) though...
-
In windows 7 if you type "firewall" in the start menu you can pull up the inbuilt firewall and make sure a hole is poked through for your SVN server.
Are you sure the two computers can find each other? If you're using a school network they often stick students behind a variety of different firewalls and routers to keep the student computers protected from each other. Can you connect with each other using any other P2P applications (such as telnet)?
-
I will ask the network admin for an open port on Monday.
What I was worried about: I am not sure if Smart SVN listens on all ports...
I will let you know if it worked.
-
(I Changed the port btw)
lol, now I am getting a completely bizarre error:
-
I hope Shasta knows what to do...
-
that's it, I give up...
Hey, Thank you for your help anyway, at-least I learned some stuff about Linux.
-
Sorry man, been pretty busy this week. No idea what is causing your problems though, most likely something specific to your network. That last error is really weird too.
-
Yea, I know. The way our network is structured is a pain. We will figure something out.