Koozali.org: home of the SME Server

Subversion/Webdav on 6.0 Beta 3

Sean Stallbaum

Subversion/Webdav on 6.0 Beta 3
« on: September 04, 2003, 06:54:47 PM »
I am interested in implementing Subversion with Webdav on my 6b3 box because work has a very restrictive firewall which disallows SSH and I want keep some of my source code in my repository at home.

Thanks,
Sean

Guck Puppy

Re: Subversion/Webdav on 6.0 Beta 3
« Reply #1 on: September 04, 2003, 09:48:36 PM »
Sean Stallbaum wrote:

> I am interested in implementing Subversion with Webdav on my
> 6b3 box because work has a very restrictive firewall which
> disallows SSH and I want keep some of my source code in my
> repository at home.

Restrictive firewall eh? Have you considered using CVS over this :
http://forums.contribs.org/index.php?topic=14314.msg54501#msg54501

G

Sean Stallbaum

Re: Subversion/Webdav on 6.0 Beta 3
« Reply #2 on: September 05, 2003, 05:43:52 AM »
Thanks for the link, I have got the files installed and setup, I am going to try it out tomorrow :)

BTW, you mentioned in you post that you were thinking about setting a cron job for this, have you given it any more thought?

Sean

Guck Puppy

Re: Subversion/Webdav on 6.0 Beta 3
« Reply #3 on: September 05, 2003, 06:21:30 AM »
Hey one thing I noticed is that I referenced Dan Brown's 'Listen port change' howto. I heard recently that the httpd.conf templates have changed quite a bit between 5.1.2 and 5.6 so be wary...

Sean Stallbaum wrote:
> BTW, you mentioned in you post that you were thinking about
> setting a cron job for this, have you given it any more
> thought?

The good news is that I stopped being behind that awful firewall :)
The bad news is that I had no pressing need to work on it more :(
(i.e. no.) That said! I think I've learned a thing or two since then so :
auto start the tunnel at 9am, stop it at 6pm. (untested, mind you.)

(adapted from http://sme.swerts-knudsen.dk/howtos/howto_19.htm)

[root@e-smith ]# mkdir -p /etc/e-smith/templates-custom/etc/crontab
[root@e-smith ]# cd /etc/e-smith/templates-custom/etc/crontab  
[root@e-smith ]# echo "0 9 * * * /path/to/tunnel-start > tunnel_start
[root@e-smith ]# echo "0 18 * * * /path/to/tunnel-stop > tunnel_stop

Expand the new template
[root@e-smith ]# /sbin/e-smith/expand-template /etc/crontab  

Let me know how it goes eh?

G