[Buildbot] #3371: LDAP user auth doc is out of date
Buildbot trac
trac at buildbot.net
Wed Feb 24 09:07:57 UTC 2016
#3371: LDAP user auth doc is out of date
---------------------+--------------------
Reporter: packadal | Owner:
Type: defect | Status: new
Priority: major | Milestone: 0.9.1
Version: 0.9.0b3 | Resolution:
Keywords: |
---------------------+--------------------
Comment (by rutsky):
Looks like this is an issue with PyPI package index:
https://bitbucket.org/pypa/pypi/issues/326/some-packages-not-showing-up-
when
> However, the doc still states that the import should be from
buildbot.plugins import util
> Which still does not work.
It works for me:
{{{
$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from buildbot.plugins import util
>>> util.LdapUserInfo
<class 'buildbot.www.ldapuserinfo.LdapUserInfo'>
>>> util.RemoteUserAuth
<class 'buildbot.www.auth.RemoteUserAuth'>
>>> util.AvatarGravatar
<class 'buildbot.www.avatar.AvatarGravatar'>
>>> util.GoogleAuth
<class 'buildbot.www.oauth2.GoogleAuth'>
>>>
}}}
`LdapUserInfo` available as class in native Python module
`buildbot.ldapuserinfo` and as a `util` plugin from
`buildbot.plugins.util`.
Latter option (with `buildbot.plugins`) is a recommended way to use it.
@packadal, is using `LdapUserInfo` from `util` plugin doesn't work for
you?
--
Ticket URL: <http://trac.buildbot.net/ticket/3371#comment:6>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list