<div dir="ltr"><div>Is there any documentation for translating the old buildbot.status.web.authz.Authz class to whatever the new alternative is? I'm assuming this is now a plugin, but it's unclear what the new call is like. I see some examples at:<br><br>    <a href="http://buildbot.readthedocs.io/en/latest/manual/cfg-www.html#example-configs">http://buildbot.readthedocs.io/en/latest/manual/cfg-www.html#example-configs</a><br><br></div><div>but the new Authz class doesn't seem to share any of the same arguments.<br><br></div><div>For example, how would I translate this?<br><br>    authz_cfg=authz.Authz(<br>        auth=auth.HTPasswdAprAuth('/usr/local/project/htpasswd'),<br>        useHttpHeader=True,<br>        gracefulShutdown=False,<br>        forceBuild='auth',<br>        forceAllBuilds='auth',<br>        pingBuilder=False,<br>        stopBuild=True,<br>        stopAllBuilds=True,<br>        cancelPendingBuild=True,<br>    )<br>    c['status'].append(html.WebStatus(<br>         http_port=8010,<br>         authz=authz_cfg,<br>    ))<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 11, 2017 at 6:24 AM, Chris Spencer <span dir="ltr"><<a href="mailto:chrisspen@gmail.com" target="_blank">chrisspen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 11, 2017 at 3:10 AM, Pierre Tardy <span dir="ltr"><<a href="mailto:tardyp@gmail.com" target="_blank">tardyp@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Chris,<div>Please see this section of the upgrade manual </div><div><a href="http://buildbot.readthedocs.io/en/latest/manual/installation/nine-upgrade.html#web-status" target="_blank">http://buildbot.readthedocs.io<wbr>/en/latest/manual/installation<wbr>/nine-upgrade.html#web-status</a></div><div><br></div><div>Pierre<br><div><br><div class="gmail_quote"><div><div class="m_2131858221220992030h5"><div dir="ltr">Le mer. 11 janv. 2017 à 03:25, Chris Spencer <<a href="mailto:chrisspen@gmail.com" target="_blank">chrisspen@gmail.com</a>> a écrit :<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_2131858221220992030h5"><div dir="ltr" class="m_2131858221220992030m_7729019584194841228gmail_msg"><div class="m_2131858221220992030m_7729019584194841228gmail_msg">I'm trying to test a Buildbot 0.8 config on the current Buildbot 0.9.2, and I'm getting the error:<br class="m_2131858221220992030m_7729019584194841228gmail_msg"><br class="m_2131858221220992030m_7729019584194841228gmail_msg">    Traceback (most recent call last):<br class="m_2131858221220992030m_7729019584194841228gmail_msg">      File "/usr/local/myproject/.env/loc<wbr>al/lib/python2.7/site-packages<wbr>/twisted/python/threadpool.py"<wbr>, line 262, in <lambda><br class="m_2131858221220992030m_7729019584194841228gmail_msg">        inContext.theWork = lambda: context.call(ctx, func, *args, **kw)<br class="m_2131858221220992030m_7729019584194841228gmail_msg">      File "/usr/local/myproject/.env/loc<wbr>al/lib/python2.7/site-packages<wbr>/twisted/python/context.py", line 118, in callWithContext<br class="m_2131858221220992030m_7729019584194841228gmail_msg">        return self.currentContext().callWith<wbr>Context(ctx, func, *args, **kw)<br class="m_2131858221220992030m_7729019584194841228gmail_msg">      File "/usr/local/myproject/.env/loc<wbr>al/lib/python2.7/site-packages<wbr>/twisted/python/context.py", line 81, in callWithContext<br class="m_2131858221220992030m_7729019584194841228gmail_msg">        return func(*args,**kw)<br class="m_2131858221220992030m_7729019584194841228gmail_msg">      File "/usr/local/myproject/.env/loc<wbr>al/lib/python2.7/site-packages<wbr>/buildbot/config.py", line 162, in loadConfig<br class="m_2131858221220992030m_7729019584194841228gmail_msg">        self.basedir, self.configFileName)<br class="m_2131858221220992030m_7729019584194841228gmail_msg">    --- <exception caught here> ---<br class="m_2131858221220992030m_7729019584194841228gmail_msg">      File "/usr/local/myproject/.env/loc<wbr>al/lib/python2.7/site-packages<wbr>/buildbot/config.py", line 119, in loadConfigDict<br class="m_2131858221220992030m_7729019584194841228gmail_msg">        exec(f, localDict)<br class="m_2131858221220992030m_7729019584194841228gmail_msg">      File "/usr/local/myproject/src/buil<wbr>dbot/master/master.cfg", line 131, in <module><br class="m_2131858221220992030m_7729019584194841228gmail_msg">        from buildbot.status import html<br class="m_2131858221220992030m_7729019584194841228gmail_msg">    exceptions.ImportError: cannot import name html<br class="m_2131858221220992030m_7729019584194841228gmail_msg"><br class="m_2131858221220992030m_7729019584194841228gmail_msg"></div>Presumably, some functionality was removed or refactored. However, I can't find any documentation on the site or through Google to explain where the "html" status went. Where can I find this?<br class="m_2131858221220992030m_7729019584194841228gmail_msg"></div></div></div>
______________________________<wbr>_________________<br class="m_2131858221220992030m_7729019584194841228gmail_msg">
users mailing list<br class="m_2131858221220992030m_7729019584194841228gmail_msg">
<a href="mailto:users@buildbot.net" class="m_2131858221220992030m_7729019584194841228gmail_msg" target="_blank">users@buildbot.net</a><br class="m_2131858221220992030m_7729019584194841228gmail_msg">
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" class="m_2131858221220992030m_7729019584194841228gmail_msg" target="_blank">https://lists.buildbot.net/mai<wbr>lman/listinfo/users</a></blockquote></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>