On Wed, Oct 14, 2009 at 12:31, Thomas Bächler <thomas@archlinux.org> wrote:
Roman Kyrylych schrieb:
On Wed, Oct 14, 2009 at 00:07, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
Here's an idea. Considering we no longer have CVS repos displayed on repos.archlinux.org, we could switch to an SVN only web viewer that supports this. http://demo.websvn.info/listing.php?repname=WebSVN&
Wow, this is so much better than ViewVC! But please keep arch-commits ML (with community commits included) in addition to RSS feeds provided by WebSVN.
It doesn't support splitting the index into pages apparently.
I don't think this is a big problem. I suppose usually people go to the SVN repo viewer through a link on package's page which points directly to its directory in SVN.
I was looking for more solutions last night - there was one that even used caching for efficiency, but it had some other drawback. I found more, but discarded many of them for minor reasons.
svn::web: http://search.cpan.org/~nikc/SVN-Web/ Demo: http://jc.ngo.org.uk/svnweb/
Looks a lot like trac, but doesn't appear to support highlighting for file view. Arch lacks a few perl packages for this one though, but it should be easier to set up than bsSvnBrowser.
Highlighting could be easily done with a javascript: http://alexgorbatchev.com/wiki/SyntaxHighlighter http://shjs.sourceforge.net/ http://softwaremaniacs.org/soft/highlight/en/ -- Roman Kyrylych (Роман Кирилич)