You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Lopez, Denise" <dl...@humnet.ucla.edu> on 2007/06/06 18:28:19 UTC

View current repository through Apache

Hi all,

I need to setup several subversion repositories.  I believe we want to
setup the svnserve option and I believe I have that working.  The only
thing I am a little confused about is we also want to have the current
versions of the files which are a website viewable by apache but not
modifiable by apache.  So we want the current web page displayed through
apache but we don't want to configure subversion for http:// or https://
access.

Does anyone know how to do this?

Thanks in advance. 

Denise Lopez
UCLA Center for Digital Humanities
Network Services
Systems Engineer
337 Charles E. Young Drive East
PPB 1020
Los Angeles, CA 90095
310/206-8216


Re: View current repository through Apache

Posted by Andy Levy <an...@gmail.com>.
On 6/6/07, Lopez, Denise <dl...@humnet.ucla.edu> wrote:
>
>
>
>
> Maybe I wasn't clear.  We are going to use TortoiseSVN as a client to
> checkout and commit and browse the repositories.  The repository in question
> is made up of php scripts and images that make up a website.
>
>
>
> We are using subversion because we have 3 or 4 developers for the website.
> So when a change gets committed to the repository how can I set it up so the
> website displays the changes.  So I don't want to view the repository
> indexed files, I want to view the updated php scripts through Apache.
>
>
>
> Does this make more sense?

Yes - it's a completely different question from what most people
probably read your original post as.

What you want to do is to have a post-commit hook script which updates
the copy of the project which Apache serves. You can either make the
directory which Apache is serving a working copy, and run svn update
against it, or perform an export each time. The working copy will be
more efficient as far as updating goes (only changes will have to get
copied), but you'll want to restrict access to directories named .svn
via .htaccess or your httpd.conf.

This comes up pretty regularly on this list and other svn-related
discussion venues, a couple quick searches should turn up previous
discussion.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: View current repository through Apache

Posted by "Lopez, Denise" <dl...@humnet.ucla.edu>.
Maybe I wasn't clear.  We are going to use TortoiseSVN as a client to
checkout and commit and browse the repositories.  The repository in
question is made up of php scripts and images that make up a website.  

 

We are using subversion because we have 3 or 4 developers for the
website.  So when a change gets committed to the repository how can I
set it up so the website displays the changes.  So I don't want to view
the repository indexed files, I want to view the updated php scripts
through Apache.

 

Does this make more sense?

Denise Lopez 
UCLA Center for Digital Humanities 
Network Services 
Systems Engineer 
337 Charles E. Young Drive East 
PPB 1020 
Los Angeles, CA 90095 
310/206-8216 

________________________________

From: Hari Kodungallur [mailto:hkodungallur@gmail.com] 
Sent: Wednesday, June 06, 2007 12:05 PM
To: Lopez, Denise
Cc: users@subversion.tigris.org
Subject: Re: View current repository through Apache

 

On 6/6/07, Lopez, Denise <dl...@humnet.ucla.edu> wrote:

	Hi all,

	I need to setup several subversion repositories.  I believe we
want to setup the svnserve option and I believe I have that working.
The only thing I am a little confused about is we also want to have the
current versions of the files which are a website viewable by apache but
not modifiable by apache.  So we want the current web page displayed
through apache but we don 't want to configure subversion for http:// or
https:// access.

	Does anyone know how to do this?


Have you tried ViewVC ?
http://viewvc.tigris.org/ 

Setting this up does not automatically mean you are also setting up
subversion access via http.


Regards,
-Hari Kodungallur


Re: View current repository through Apache

Posted by Hari Kodungallur <hk...@gmail.com>.
On 6/6/07, Lopez, Denise <dl...@humnet.ucla.edu> wrote:
>
>  Hi all,
>
> I need to setup several subversion repositories.  I believe we want to
> setup the svnserve option and I believe I have that working.  The only thing
> I am a little confused about is we also want to have the current versions of
> the files which are a website viewable by apache but not modifiable by
> apache.  So we want the current web page displayed through apache but we don
> 't want to configure subversion for http:// or https:// access.
>
> Does anyone know how to do this?
>

Have you tried ViewVC ?
http://viewvc.tigris.org/

Setting this up does not automatically mean you are also setting up
subversion access via http.


Regards,
-Hari Kodungallur