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

"C. Michael Pilato" <[email protected]> Thu, 17 Jun 2010 16:22:55 -0400
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Organization CollabNet, Inc.
Message-ID <[email protected]>
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.

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.  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.

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

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

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkwahB8ACgkQokEGqRcG/W6IEwCeIK88PXDivWyMAT4tyhuzD1QO
tHQAn25Pi6Tw1I+ZtoPpTmf2Av362bwJ
=Tf8m
-----END PGP SIGNATURE-----