Jump to content

PHP based SVN


PC Nerd

Recommended Posts

Hi,

 

I want ot setup a SV N repository for a project Im working on and Ive run into a few problems.  Firstly, my host nly provides alocal access,  sop I woudl have to provide my personal login details to the accoutn to all those who need access to the reopsitory.  Secondly, I wan tot integrate it into the project management im building in the next few weeks.  Is there a way that I can get PHP to provide files in a manner that will allow current SVN clients such as rapidSVN etc to connect to it and have accounts and stuff managed through MySQL database etc?

 

Is any of this possible, or an im heading off onto a tangent and missing something?

 

Thanks

Link to comment
Share on other sites

hmmm,

 

so im familiar with sockets ( im also a python programmer amoungst many other languages, and imworkign on a large sockets based app).... howevre how woudl i get the php to receive requests through the SVN ports etc, when the web host is only listening on port 80??? (is svn stil port 80?)

 

so would i have a similar setup to:

 

svn clients connect to <domain>.com/svn.php

 

then svn.php receives requests, and "proxies" them through using sockets???

 

 

I havent a clue where to start on that one sorry - although it cetainly sounds like its got heaps of potential :)

 

Thanks

Link to comment
Share on other sites

  • 1 month later...

So ive looked into it more and im thinking that the following is how im going to approach the problem:

 

My database will list file names.  then my php script will read those files - and deliver directories etc in XML - ie - setup the directory and deliver it to the client as XML..... - because itll be a program connecting.  then the program will request teh files etc from another script...

 

 

is this the best way of doing it ?

 

thanks

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.