Re: [viewvc-dev] standalone.py issues (Was: [PATCH] issue #441: Allow "rNNN" formatting for Subversion revision specifiers)

Daniel Shahaf <[email protected]> Thu, 17 Jun 2010 23:39:34 +0300 (Jerusalem Daylight Time)
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Message-ID <[email protected]>
C. Michael Pilato wrote on Thu, 17 Jun 2010 at 23:22 -0000:
> Daniel Shahaf wrote:
>  > Daniel
> > (by the way, as reported on IRC: to make standalone.py work, I had to
> > provide a config file with svn_roots= set and run 'cd conf; ln -s ../templates')
> 
> I fixed the problem with 'standalone.py -r /path/to/repos' raising an Exception.
> 

Thanks.

> I'm not able to trigger any problems with the templates, though.  Oh.  Wait.
>  I bet I know the difference.  I'm pointing -c to a viewvc.conf in my
> installation target directory (where viewvc.conf lives in the root of that
> directory).  I bet your pointing it to something in the ./conf source
> directory.

Yes, I copied conf/viewvc.conf.tmpl to conf/viewvc.conf, edited it, and
used that file (conf/viewvc.conf) as my -c.

> The docs for the 'template_dir' variable indicate that the path
> value is relative to viewvc.conf container directory.  If you'd set:
> 
>    template_dir = ../templates
> 
> in your configuration file, I bet that would have worked, too.

Fair enough :-)

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4251&dsMessageId=2623163

To unsubscribe from this discussion, e-mail: [[email protected]].