Subversion on bubba?

Discuss development on Bubba

Moderator: Moderators

Subversion on bubba?

Postby Tompa » 05 Feb 2007, 15:30

I'm trying to install subversion on bubba.

Locally everything works fine, but when I try svn://ip:3960/repository I get a connection refused message (I use AnkhSvn on a windows machine).

Has anyone got this up and running?
Tompa
 
Posts: 80
Joined: 03 Feb 2007, 19:50

Postby Tompa » 06 Feb 2007, 00:37

For the interested; I got this working now.

I had forseen a conf file that was controlling permissions, a little tweak there and it worked.

I must say, Bubba is just perfect for these kind of tasks!
Tompa
 
Posts: 80
Joined: 03 Feb 2007, 19:50

Postby tor » 06 Feb 2007, 10:43

Hi Tompa,

Nice to hear that you solved your problem.

A few tips if you are into using bubba as a server in a development environment.

Install viewcvs available as a debian package to get a nice web based browser to your repository.

If you have MySQL installed on your bubba you could install flyspray, also available in as a debian package ,which is a simple but yet very usable bug tracking system.

/Tor
Co-founder OpenProducts and Ex Excito Developer
tor
Site Admin
 
Posts: 701
Joined: 06 Dec 2006, 19:24

Postby Filip » 01 Mar 2007, 02:36

I'm very interested in getting subversion up running on my Bubba. But I can't make it work...

Maybe you're interested in writing a small guide?
Filip
 
Posts: 30
Joined: 06 Feb 2007, 19:27
Location: Lund, Sweden

Postby Tompa » 08 Mar 2007, 14:12

Sure, I could do that. Give me some time and I will write a small step-by-step on how I did when installing.
Tompa
 
Posts: 80
Joined: 03 Feb 2007, 19:50

Postby Tompa » 28 Mar 2007, 23:40

I'm sorry for my late answer, but here goes ;)

When I installed and configured subversion I used a guide somewhere on the net. Unfortunately I cannot find this very guide again, so I will explain the steps as I remember them.

1. Get root access.

2. Make sure you have added a package server like ftp.se.debian.org in the file /etc/apt/sources.list.

3. Run the following command to update the sources:
apt-get update

4. Install subversion:
apt-get install subversion

5. Create a repository where your serverside code-database will be stored.
svnadmin create /home/svn_repository

6. Edit the password file using your favorite editor and add a user and password at the end.
jed /home/svn_repository/conf/passwd

7. Edit the config file so it looks something like this (I've removed the comments). The file is called svnserve.conf
[general]
anon-access = none
auth-access = write
password-db = passwd
#auth-db = authz
realm = My repository


8. Now you should (hopefully!) be able to reach the svn-server from a client by using the url svn://bubba/svn_repository

9. There is also a way to set it up in apache so that it can be reached using http:// but I haven't been successful with this. I'm using AnkhSvn (http://ankhsvn.tigris.org) on a windows machine using Visual Studio 2005 without any problems.

Good luck!
Tompa
 
Posts: 80
Joined: 03 Feb 2007, 19:50

Postby HansH » 14 Apr 2007, 12:52

With subversion you can also use Trac
This way you get a wiki, a ticket system and a very nice browsable filedirectory with history.

You can find it at: http://trac.edgewall.org/
Look at the filedirectory here: http://trac.edgewall.org/browser
HansH
 
Posts: 2
Joined: 14 Apr 2007, 12:33

SVN Performance

Postby DarrenBeck » 03 May 2007, 10:05

Hi all,

What's the performance like when using Bubba as an SVN server? I realise most of the work is shifted to the client when using subversion but has one noticed any issues?

Thanks in advance,

Darren.
DarrenBeck
 
Posts: 5
Joined: 03 May 2007, 10:02

Permission problems

Postby petter » 21 Oct 2008, 23:00

Hello, I used the how-to guide to configure SNV on my Bubba Two.
(http://forum.excito.net/viewtopic.php?t=557)

Unfortunetely I get the following permission error when executing the code below:

Code: Select all
bubba:/# mkdir -p test/{trunk,branches,tags}
bubba:/# touch test/trunk/test.txt
bubba:/# svn import test svn://localhost/test --username xxxxx --password yyyyy -m "Initial import"
Adding         test/trunk
Adding         test/trunk/test.txt
Adding         test/branches
Adding         test/tags
svn: Can't create directory '/home/svn/repositories/test/db/transactions/0-1.txn': Permission denied


Any ideas on how to solve this?
petter
 
Posts: 9
Joined: 20 Oct 2008, 11:13

Postby DarrenBeck » 22 Oct 2008, 09:14

I assume you have subversion running as the svn user. Have you made any changes to the repository directories as another user (e.g. root)?

Check the ownership of the directories in the repository folder (ls -l). Are they all svn:svn?
DarrenBeck
 
Posts: 5
Joined: 03 May 2007, 10:02

SVN running!

Postby petter » 22 Oct 2008, 15:14

Yes, now I have svn running and I'm able to "update" and "commit" from my PC. Nice.

The permission problem earlier occured because I had created some directories as root (not as the svn user). Thank you for the [ls -l] command Darren.


Next step will be trying to make the repositories available over the internet using the http or https protocol instead of svn. I guess this will involve the built in Apache2 server and more configurating...

If anyone has a great guide for this, please let me know.
petter
 
Posts: 9
Joined: 20 Oct 2008, 11:13


Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron