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

Re: web interface to subversion... (websvn/pear/svn)

From: Clay Loveless <clay_at_killersoft.com>
Date: 2004-09-21 22:06:07 CEST

Hi Bruce,

As the author of the VersionControl_SVN package in PEAR, I can say that the
PEAR package does all of the things you listed below.

In fact, there are examples for each subclass that demonstrate each of the
tasks you listed.

WebSVN uses svnlook, which means you're out of luck for altering the
repository unless you hack in some of your own code.

VersionControl_SVN, on the other hand, will let you do everything you need
to do.

Take a look through the examples in the API documentation, and I believe
you'll find that the examples within will have you pretty far down the road
on what you need to accomplish.


Example of repository listing with DHTML directory structure:

API docs:

> From: bruce <bedouglas@earthlink.net>
> Reply-To: <bedouglas@earthlink.net>
> Date: Tue, 21 Sep 2004 11:17:10 -0700
> To: 'Subversion Users Mailing List' <users@subversion.tigris.org>
> Subject: web interface to subversion... (websvn/pear/svn)
> hi...
> i'm reviewing websvn and the php-pear/svn libs as i'm going to need a way to
> provide some basic web interaction with a svn repository.
> i'm inclined to go towards using svnlook with the web app having direct
> access to the repository. however, in looking at websvn/pear, it appears
> that websvn provides direct svnlook hooks, whereas the pear/svn lib only
> deals with svn.
> i need to be able to do/provide the following types of interations with svn:
> svn functions
>  return list of version numbers for a give file name
>  create/add/update/commit a dir based on a given dir name
>  create/add/update/commit a file based on a given file name
>  generate a list of files for a given dir
>  generate a list of dirs for a given parent dir
>  add new dir/file to svn access file for new dir/file
>  add new user to svn access file for given dir/file
> based on this, does anybody have experience with either/both packages/apps
> who can share with me your thoughts/comments on which app might make sense.
> the major downside i see to the websvn app is that it's template based, and
> if i rip it apart, i'm going to have to spend a good deal of time to
> understand/modify the template mechanism to incorporate the requisite parts
> into my app...
> thoughts/comments/opinions/etc... are helpful...
> thanks...
> -bruce
> ---------------------------------------------------------------------
> 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 Tue Sep 21 22:06:49 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.