You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mark Mcfarlane <ma...@aramco.com> on 2005/10/01 06:04:26 UTC

RE: Accessing SVN project version history from ASP.NET

I never got a response on my first post, so I am resubmitting this.

-----Original Message-----
From: Mark Mcfarlane [mailto:mark.mcfarlane@aramco.com] 
Sent: Tuesday, September 20, 2005 10:33 AM
Subject: Accessing SVN project version history from ASP.NET

Is there an easy way to programmatically retrieve the version history (w/
comments) for a project from an ASP.NET application?

e.g. 

We have SVN running on a few Linux and Solaris machines that NFS mount the
repositories.

I have written a C# ASP.NET web application for issue tracking.

I'd like to access project version history information from within my
ASP.NET app using one of the following techniques:

1) url to call:  An SVN Tool can render the history..
2) web service /soap:  I will render the history...
3) RSS Feed: I will render the history...

We are currently NOT using the Apache SVN interface. Apache is not allowed
at our company.  I've looked at a number of SVN tools, like the new C# API
but I haven't found anything 'fully cooked' that seems to fit the problem
well.  

However, if the only way (or simplest way) to solve this problem is using
Apache then maybe we can figure out a way to get Apache going.

Thanks,

Mark McFarlane


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

Re: Accessing SVN project version history from ASP.NET

Posted by Daniel Rall <dl...@finemaltcoding.com>.
On Sat, 01 Oct 2005, Mark Mcfarlane wrote:
...
> Is there an easy way to programmatically retrieve the version history (w/
> comments) for a project from an ASP.NET application?

Questions like this should be directed to the users@subversion.tigris.org
mailing list.

...
> I have written a C# ASP.NET web application for issue tracking.
> 
> I'd like to access project version history information from within my
> ASP.NET app using one of the following techniques:
> 
> 1) url to call:  An SVN Tool can render the history..

This is already available through several third-party OSS applications,
including ViewCVS (1.0, pending release) and Trac.

> 2) web service /soap:  I will render the history...
> 3) RSS Feed: I will render the history...
 
For these, you'd likely want to write code against Subversion's C API, or
one of the existing language bindings (Python, Perl, Java, Ruby).  Given
your environment, wrapping the command-line binary and parsing the output
might also be considered as an option (there's tons of code float around on
the net which does this).

...
> However, if the only way (or simplest way) to solve this problem is using
> Apache then maybe we can figure out a way to get Apache going.

If I were you, I would've installed Trac from the get-go.  It includes a
reasonably useful bug tracker, a Wiki, RSS feed, etc.

http://projects.edgewall.com/trac/

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