Skip to content

Commit

Permalink
introduce 'util' category of plugins
Browse files Browse the repository at this point in the history
* this will help to make master.cfg files that only use core functinality to
  look much simpler
  • Loading branch information
Mikhail Sobolev committed Aug 14, 2014
1 parent e05c648 commit 3a8126f
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 5 deletions.
3 changes: 2 additions & 1 deletion master/buildbot/plugins/__init__.py
Expand Up @@ -25,7 +25,7 @@
from buildbot.interfaces import IStatusReceiver


__all__ = ['changes', 'schedulers', 'buildslave', 'steps', 'status']
__all__ = ['changes', 'schedulers', 'buildslave', 'steps', 'status', 'util']


# Names here match the names of the corresponding Buildbot module, hence
Expand All @@ -35,3 +35,4 @@
buildslave = get_plugins('build_slave', IBuildSlave)
steps = get_plugins('step', IBuildStep)
status = get_plugins('status', IStatusReceiver)
util = get_plugins('util', None)
47 changes: 43 additions & 4 deletions master/setup.py
Expand Up @@ -291,13 +291,52 @@ def define_plugin_entries(groups):
('buildbot.status.github', ['GitHubStatus'])
]),
('buildbot.util', [
('buildbot.process.factory', [
'BuildFactory', 'GNUAutoconf', 'CPAN', 'Distutils', 'Trial',
'BasicBuildFactory', 'QuickBuildFactory', 'BasicSVN']),
# Connection seems to be a way too generic name, though
('buildbot.buildslave.libvirt', ['Connection']),
('buildbot.changes.filter', ['ChangeFilter']),
('buildbot.changes.gerritchangesource', ['GerritChangeFilter']),
('buildbot.changes.svnpoller', [
('svn.split_file_projects_branches',
'split_file_projects_branches'),
('svn.split_file_branches', 'split_file_branches'),
('svn.split_file_alwaystrunk', 'split_file_alwaystrunk')]),
('buildbot.config', ['BuilderConfig']),
('buildbot.locks', ['MasterLock', 'SlaveLock']),
('buildbot.steps.shellsequence', ['ShellArg'])
('buildbot.manhole', [
'AuthorizedKeysManhole', 'PasswordManhole', 'TelnetManhole']),
('buildbot.process.builder', ['enforceChosenSlave']),
('buildbot.process.factory', [
'BuildFactory', 'GNUAutoconf', 'CPAN', 'Distutils', 'Trial',
'BasicBuildFactory', 'QuickBuildFactory', 'BasicSVN']),
('buildbot.process.logobserver', ['LogLineObserver']),
('buildbot.process.properties', [
'FlattenList', 'Interpolate', 'Property', 'WithProperties',
'renderer']),
('buildbot.process.properties', [
'CommandlineUserManager']),
('buildbot.revlinks', ['RevlinkMatch']),
('buildbot.schedulers.forcesched', [
'AnyPropertyParameter', 'BooleanParameter',
'BuildslaveChoiceParameter', 'ChoiceStringParameter',
'CodebaseParameter', 'FixedParameter', 'InheritBuildParameter',
'IntParameter', 'NestedParameter', 'ParameterGroup',
'StringParameter', 'TextParameter', 'UserNameParameter']),
('buildbot.status.results', [
'Results', 'SUCCESS', 'WARNINGS', 'FAILURE', 'SKIPPED',
'EXCEPTION', 'RETRY', 'CANCELLED']),
('buildbot.steps.mtrlogobserver', ['EqConnectionPool']),
('buildbot.steps.source.repo', [
('repo.DownloadsFromChangeSource',
'RepoDownloadsFromChangeSource'),
('repo.DownloadsFromProperties',
'RepoDownloadsFromProperties')]),
('buildbot.steps.shellsequence', ['ShellArg']),
('buildbot.www.avatar', ['AvatarGravatar']),
('buildbot.www.auth', [
'UserPasswordAuth', 'HTPasswdAuth', 'RemoteUserAuth']),
('buildbot.www.ldapuserinfos', ['LdapUserInfo']),
('buildbot.www.oauth2', [
'GoogleAuth', 'GitHubAuth'])
])
])
}
Expand Down

0 comments on commit 3a8126f

Please sign in to comment.