Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1478 from sa2ajj/backport-plugins
Backport plugins
- Loading branch information
Showing
31 changed files
with
2,207 additions
and
1,098 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,5 @@ tutorial: | |
cd docs/tutorial; $(MAKE) html | ||
pyflakes: | ||
pyflakes buildbot | ||
rmpyc: | ||
make -C .. rmpyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# This file is part of Buildbot. Buildbot is free software: you can | ||
# redistribute it and/or modify it under the terms of the GNU General Public | ||
# License as published by the Free Software Foundation, version 2. | ||
# | ||
# This program is distributed in the hope that it will be useful, but WITHOUT | ||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | ||
# details. | ||
# | ||
# You should have received a copy of the GNU General Public License along with | ||
# this program; if not, write to the Free Software Foundation, Inc., 51 | ||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
# | ||
# Copyright Buildbot Team Members | ||
|
||
# Having them here prevents all kind of circular dependencies | ||
|
||
|
||
class PluginDBError(Exception): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# This file is part of Buildbot. Buildbot is free software: you can | ||
# redistribute it and/or modify it under the terms of the GNU General Public | ||
# License as published by the Free Software Foundation, version 2. | ||
# | ||
# This program is distributed in the hope that it will be useful, but WITHOUT | ||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | ||
# details. | ||
# | ||
# You should have received a copy of the GNU General Public License along with | ||
# this program; if not, write to the Free Software Foundation, Inc., 51 | ||
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
# | ||
# Copyright Buildbot Team Members | ||
|
||
""" | ||
Buildbot plugin infrastructure | ||
""" | ||
|
||
from buildbot.plugins.db import get_plugins | ||
from buildbot.interfaces import IBuildSlave | ||
from buildbot.interfaces import IBuildStep | ||
from buildbot.interfaces import IChangeSource | ||
from buildbot.interfaces import IScheduler | ||
from buildbot.interfaces import IStatusReceiver | ||
|
||
|
||
__all__ = ['changes', 'schedulers', 'buildslave', 'steps', 'status', 'util'] | ||
|
||
|
||
# Names here match the names of the corresponding Buildbot module, hence | ||
# 'changes', 'schedulers', but 'buildslave' | ||
changes = get_plugins('changes', IChangeSource) | ||
schedulers = get_plugins('schedulers', IScheduler) | ||
buildslave = get_plugins('buildslave', IBuildSlave) | ||
steps = get_plugins('steps', IBuildStep) | ||
status = get_plugins('status', IStatusReceiver) | ||
util = get_plugins('util', None) |
Oops, something went wrong.