RespoStyle for SVN

In the earlier posts we have covered Installation & Backup / Proxy of SVN.

By default with native repos.xsl you’ll not get better look, to make your SVN repo look better you can use Rsposstyle.

e.g

repostyle

Download latest version of ResposStyle.

unzip it & copy repos-web to apache_web folder (/var/www/html)

add / replace following line in httpd.conf

SVNIndexXSLT "/repos-web/view/repos.xsl"

Configure ReposStyle

vi /var/www/html/repos-web/open/log/index.php
change @@Repository@@ to svn repo path e.g
$repo = 'file:///home/svnroot/PROJECT';
Change following to <strong>true</strong> if the mentioned path is SVNPatentPath
$isParent = false;

Resource

By defult time displayed in repos style (repos-style-2.2) is GMT

repostyle1
to use local time zone.
download dateformat.load.js from
https://labs.repos.se/data/repos-plugins/trunk/dateformat/ to /var/www/html/repos-web/repos-plugins/dateformat

Add followings in head section of /var/www/html/repos-web/view/log.xsl

<!-- plugins -->
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript"
src="/repos-web/repos-plugins/dateformat/dateformat.load.js"></script>

repostyle2
Resource

if you find any missing point in here, please let us know in comment section or tweet us at @linuxreaders. To get more articles like this, subscribe to our RSS feeds / Mails.

One Comments

  1. Faggot62 says:

    As we seek to embrace and encourage participation in open science, understanding patterns of adoption will allow us to make informed decisions about tools, policies, and best practices. ,

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trending Posts