Re: Re: Re: Re: [viewvc-users] viewvc, and using svn+ssh

"C. Michael Pilato" <[email protected]> Fri, 15 Jan 2016 10:50:31 -0500
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <CAFVDjdy=xerghbzRkvfZuKrpFB+nMheOqurkuO=qt1u=Wjx4Kg@mail.gmail.com>
------=_Part_14346_1023202749.1452873036760
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Dave,

root_relative_authzfile works fine with standalone.py.  Not sure what
problem you're running into.  Now, you do need to ensure that you aren't
also setting the 'authzfile' configuration parameter, though.

As for root-specific configuration, hyphens in root names also work fine.
Were you running standalone.py from an installed ViewVC instance (where it
would read the also-installed viewvc.conf)?  You might want to verify that
your conf-file is being read at all.

-- Mike

On Thu, Jan 14, 2016 at 5:20 PM, Dave Uebele <[email protected]> wrote:

> standalone.py has been helpful, of course the next step I'm trying breaks
> standalone.py usage.
>
> Now I'm trying to correctly use per repository root authz files.
>
> I was hoping to just use:
> root_relative_authzfile = conf/authz
>
> But that doesn't seem to work
> So instead, trying to figure how I can specify an authorizer per repo.
>
> Or can/should I specify per repository root authz file
> It doesn't seem to help that the repository includes "-" does that mess up
> viewvc's parsing? (or is the "root-" not needed)?
>
>  [root-foo-bar/options]
>  authorizer = svnauthz
>
>  [root-foo-bar/authz-svnauthz]
>  authzfile = /repos/foo-bar/conf/authz
>
> ------------------------------------------------------
>
> http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3155491
>
> To unsubscribe from this discussion, e-mail: [
> [email protected]].
>

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

To unsubscribe from this discussion, e-mail: [[email protected]].
------=_Part_14346_1023202749.1452873036760
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dave,<div><br></div><div>root_relative_authzfile works fin=
e with standalone.py.=C2=A0 Not sure what problem you&#39;re running into.=
=C2=A0 Now, you do need to ensure that you aren&#39;t also setting the &#39=
;authzfile&#39; configuration parameter, though.</div><div><br></div><div>A=
s for root-specific configuration, hyphens in root names also work fine.=C2=
=A0 Were you running standalone.py from an installed ViewVC instance (where=
 it would read the also-installed viewvc.conf)?=C2=A0 You might want to ver=
ify that your conf-file is being read at all.</div><div><br></div><div>-- M=
ike</div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On=
 Thu, Jan 14, 2016 at 5:20 PM, Dave Uebele <span dir=3D"ltr">&lt;<a href=3D=
"mailto:[email protected]" target=3D"_blank">[email protected]</a>&gt;</spa=
n> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
order-left:1px #ccc solid;padding-left:1ex">standalone.py has been helpful,=
 of course the next step I&#39;m trying breaks standalone.py usage.<br>
<br>
Now I&#39;m trying to correctly use per repository root authz files.<br>
<br>
I was hoping to just use:<br>
root_relative_authzfile =3D conf/authz<br>
<br>
But that doesn&#39;t seem to work<br>
So instead, trying to figure how I can specify an authorizer per repo.<br>
<br>
Or can/should I specify per repository root authz file<br>
It doesn&#39;t seem to help that the repository includes &quot;-&quot; does=
 that mess up viewvc&#39;s parsing? (or is the &quot;root-&quot; not needed=
)?<br>
<br>
=C2=A0[root-foo-bar/options]<br>
=C2=A0authorizer =3D svnauthz<br>
<br>
=C2=A0[root-foo-bar/authz-svnauthz]<br>
=C2=A0authzfile =3D /repos/foo-bar/conf/authz<br>
<br>
------------------------------------------------------<br>
<a href=3D"http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=3D4255&amp;=
dsMessageId=3D3155491" rel=3D"noreferrer" target=3D"_blank">http://viewvc.t=
igris.org/ds/viewMessage.do?dsForumId=3D4255&amp;dsMessageId=3D3155491</a><=
br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
To unsubscribe from this discussion, e-mail: [<a href=3D"mailto:users-unsub=
[email protected]">[email protected]</a>].<br>
</div></div></blockquote></div><br></div>

------=_Part_14346_1023202749.1452873036760--