[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Access to files in CVS via Web

From: Aaron Axelsen <lists_at_frozenpc.net>
Date: 2004-09-13 04:16:25 CEST

Is there anyone out there who has a good unstanding of pear and php that
would be willing to do this? It would be greatly appreciated. I just don't
have the time right now to figure out how to implement that, and this is
something that would make my life easier. If anyone has the time, and
wouldn't mind doing it, it would be grealy appreciated.

--
Aaron Axelsen
Email: lists@frozenpc.net
-----Original Message-----
From: Alan Knowles [mailto:alan@akbkhome.com] 
Sent: Sunday, September 12, 2004 12:07 AM
To: Aaron Axelsen
Cc: 'Jacob Atzen'; users@subversion.tigris.org
Subject: Re: Access to files in CVS via Web
If you've got someone with php knowledge,
||using:
http://pear.php.net/package/VersionControl_SVN
It should be pretty simple to replace the Stream_Subverison::getRevision
calls in CopyCommit.php with the VersionControl_SVN stuff. - It would
probably work alot better that way as well...
Regards
Alan
Aaron Axelsen wrote:
>It appears that this solution does not work properly with php5.  Is 
>there anything else I can try?
>
>
>--
>Aaron Axelsen
>Email: lists@frozenpc.net
>
>-----Original Message-----
>From: Alan Knowles [mailto:alan@akbkhome.com]
>Sent: Saturday, September 11, 2004 7:11 AM
>To: Aaron Axelsen
>Cc: 'Jacob Atzen'; users@subversion.tigris.org
>Subject: Re: Access to files in CVS via Web
>
>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.ph
>p 
>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
>
>
>
>---------------------------------------------------------------------
>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 Mon Sep 13 04:16:50 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.