You sound like you need a copy on commit script
- when a file is commited it is written to a staging/testing area. (eg.
somewhere that apache can view/run)
I believe there is a python version somewhere
I hacked together some nasty code to do it. (it works, but I cant be
bothered to maintain it..)
http://devel.akbkhome.com/svn/index.php/akpear/Subversion/CopyCommit.php
http://devel.akbkhome.com/svn/index.php/akpear/Stream_Subversion/Subversion.php
my post-commit hook has this in it.. (last param is where it writes
copies to)
php /usr/share/pear/lib/Subversion/CopyCommit.php "$REPOS" "$REV"
"/var/svn_live"
Regards
Alan
Aaron Axelsen wrote:
>I understand the concept of a CVS and how it works. I have websvn setup for
>viewing the files on the web. But we actually need a way to use the files
>and have the application function. My questions simply was is there an easy
>way to use the same files in the repository to do this, or is the easiest
>way just to upload the files to a different folder and go from there?
>
>
>--
>Aaron Axelsen
>Email: lists@frozenpc.net
>
>-----Original Message-----
>From: Jacob Atzen [mailto:jacob@aub.dk]
>Sent: Saturday, September 11, 2004 4:01 AM
>To: users@subversion.tigris.org
>Subject: Re: Access to files in CVS via Web
>
>On Fri, Sep 10, 2004 at 11:27:54PM -0500, Aaron Axelsen wrote:
>
>
>> I have subversion installed on my server. We are using it for a web
>> project which we are develping. However, we also need to have web
>> access to these files. Is there any way to a) access the raw files
>> stored in the cvs or b) set up some type of script that works with
>> subversion and is able to copy the files to a web folder where they
>> can be viewed?
>>
>> Maybe I'm going about this the wrong way to, does anyone have any
>> ideas that may be better to accomplish this?
>>
>>
>
>There recently was a discussion about just this on the list. Look here:
>
><http://www.contactor.se/~dast/svnusers/archive-2004-09/0470.shtml>
>
>BTW, CVS is another version control system and not a general concept like
>you seem to believe.
>
>--
>Cheers,
>- Jacob Atzen
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 11 14:10:19 2004