commands¶
Handlers for user commmands (@biocondabot do this
)
Functions
|
Run immediate Autobump on recipes |
|
Bump the build number of a recipe |
|
Check whether the bot is listening. |
|
Lint the current recipe |
|
Merge PR |
|
Trigger rebuild of PR as of latest sha |
|
Trigger check_check_run and check_circle_artifacts |
|
Schedule autobump on CircleCI |
|
Update PR branch with it’s target branch (“base”) |
|
Decorator for commands checking for permissions |
Classes
Decorator based router handling bot commands |
Documentation
-
class
bioconda_utils.bot.commands.
CommandDispatch
[source]¶ Decorator based router handling bot commands
>>> @command_routes.register("hello") >>> def command_hello(event, ghapi, *args): >>> logger.info("Got command 'hello %s'", " ".join(args))
-
async
bioconda_utils.bot.commands.
command_autobump
(ghapi, _issue_number, _user, *args)[source]¶ Run immediate Autobump on recipes
-
async
bioconda_utils.bot.commands.
command_bump
(ghapi, issue_number, _user, *_args)[source]¶ Bump the build number of a recipe
-
async
bioconda_utils.bot.commands.
command_hello
(ghapi, issue_number, user, *_args)[source]¶ Check whether the bot is listening. If it is, it will answer.
This command exists purely for the purpose of testing.
-
async
bioconda_utils.bot.commands.
command_lint
(ghapi, issue_number, _user, *_args)[source]¶ Lint the current recipe
-
async
bioconda_utils.bot.commands.
command_merge
(ghapi, issue_number, user, *_args)[source]¶ Merge PR
-
async
bioconda_utils.bot.commands.
command_rebuild
(ghapi, issue_number, _user, *_args)[source]¶ Trigger rebuild of PR as of latest sha
-
async
bioconda_utils.bot.commands.
command_recheck
(ghapi, issue_number, _user, *_args)[source]¶ Trigger check_check_run and check_circle_artifacts
-
async
bioconda_utils.bot.commands.
command_schedule
(ghapi, issue_number, user, *args)[source]¶ Schedule autobump on CircleCI
Takes the maximum number of recipes to update as optional argument.
-
async
bioconda_utils.bot.commands.
command_update
(ghapi, issue_number, user, *args)[source]¶ Update PR branch with it’s target branch (“base”)