Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Author Topic: Installing subversion server...  (Read 3316 times)

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Installing subversion server...
« on: March 10, 2006, 07:09:42 PM »

I am in the process to installing a subversion server to this host... Now, the main reason is two fold. 1) For a place to host my personal project, 2) and perhaps bring the Theora Plugin and OIS to a new home.

The only issue I have with moving OIS and TheoraPlugin is: sourceforge (even though down at some times - or a lot) has a good set of tools, and OIS will always be available. On my host, I would be very responsible for keeping backups (not a problem), and setting up dev access to the repsoitory (shouldn't be too hard). The only thing I cannot garantee is how long this server will stay alive. It is not free by any means, and I can afford to keep it up for at least another 6 months, after that donations, a new job (that pays enough), or revenue coming in from this site will determine how long that wreckedgames stays above water so to speak.

Anyway, let me know your opinions on moving this off sourceforge to an svn server.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Installing subversion server...
« Reply #1 on: March 10, 2006, 09:59:13 PM »

Hmm, after reading through svn docs, I hink I will be using svn via Apache (instead of through ssh), though, if anyone can tell me why it would be better to usie it through svnserver and ssh I am all ears.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Installing subversion server...
« Reply #2 on: March 11, 2006, 08:49:13 PM »

I thought about setting up SVN through the admin apache that is running, however, I realized it is probably not possible. ISPConfig uses an Apace 1.3 install, where I beleive SVN needs Apache 2+. My webserver is Apache 2+ and I do not want to install a third webserver, so I will likely just install it to the main webserver.

I kinda wish svnserve had better access control so I could just use that.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Installing subversion server...
« Reply #3 on: March 11, 2006, 10:19:43 PM »

Yay :D I got Svn through Apache all setup now, just need to add data to it... I havn;t made up my mind yet if I will indeed import theora or OIS into this svn server.. For now I won't, at least, not officially, as that will mean importing all the old revision info, and getting the other contributers setup there (not even sure if they like SVN).. So, i will just use it for my personal project for now.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Installing subversion server...
« Reply #4 on: March 12, 2006, 09:10:19 AM »

I've installed mod_ssl for use in secure authorization mainly for svn.. However, it can also be used when loggin into the forum for the paranoid amongst us :wink: Perhaps, as a lesson in Apache for me, I will make the login use ssl always, and then drop to regular http.. I think it would just be a matter of editing the http access file with a rewrite directive. I'll look into it in the future.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Installing subversion server...
« Reply #5 on: March 14, 2006, 11:56:26 AM »

Took me some time.. And, the setup is not ideal. What I wanted was basically anonymous access to not have to use ssl, and force ssl for dev access. Well, I could only get it to force ssl for dev access and anon. Oh well, I don't think that will heavily strain my server, as OIS is not that huge, and does not get downloaded that often.

Anyway, this is my apache conf:
Code: [Select]

<Location /svn>
  DAV svn
  SVNParentPath /path/to/svn_root

  # our access control policy
  AuthzSVNAccessFile /path/to/svn-access-list

  Satisfy Any
  SSLRequireSSL
  SSLOptions +StrictRequire
  Require valid-user

  # how to authenticate a user
  AuthType Basic
  AuthName "Subversion repository"
  AuthUserFile /path/to/svn-auth-file

</Location>


If anyone has a better solution, I'm open.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Installing subversion server...
« Reply #6 on: March 17, 2006, 09:50:48 PM »

Funny thing.. when I added anonymous read only access to the WGE and Ringo reporitories, I used "* = r" but forgot to add permisions for me to write, so removed my dev access to commit.. :lol: Anyway, quick fix, but at least I know that anonymous cannot commit. I was wondering why it kept refusing to let me commit.
Logged