Re: [viewvc-dev] authzfile configuration to match multiple SVN repositories

"C. Michael Pilato" <[email protected]> Wed, 04 Feb 2009 13:49:06 -0500
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Organization CollabNet, Inc.
Message-ID <[email protected]>
Sebastien VARRETTE wrote:
> Hi everybody,
> 
> I wanted to upgrade viewvc on our gforge platform to 1.1.0-beta1 in  
> order to make use of authz files.
> The various repositories being located in /svn, i configured the  
> authzfile variable of viewvc.conf to:
> 
> 	authzfile = /svn/%(rootname)/conf/authz
> 
> (I found en entry in the mailing list claiming this substitution would  
> be possible)
> which lead to teh following error (when accessing to the page:
> https://gforge.example.org/plugins/scmsvn/viewcvs.php/Script/?root=myrepository 
>   )

[...]

> (Citing http://markmail.org/search/?q=viewvc+authzfile#query:viewvc 
> %20authzfile+page:1+mid:kdbzum7tnstsobau+state:results
> I would expect viewcv to make the substitution %(rootname) ->  
> myrepository to load the authz file
> /svn/myrepository/conf/authz
> 
> Configuration:
> - Python 2.4.4
> - ViewCV 1.1.0-beta1 (from the official tarball of tigris)
> 
> Best regards;

In the thread you reference, I was contemplating making the change to allow
that sort of string substitution, but I never got around to doing it.

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

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

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)

iEYEARECAAYFAkmJ4yIACgkQokEGqRcG/W6/DwCgniCyubxzg2BvunNr06foAkme
NakAoMm8yPXEG1qzyVI3Bt7iySfpgm1J
=8r9v
-----END PGP SIGNATURE-----