Install both hub and builder plugins.
This is a different take at https://pagure.io/koji/pull-request/45 Instead of installing just the runroot builder plugin explicitly, here we separate the plugins out into hub and builder plugins explicitly and install each type in turn.
This commit is contained in:
parent
79721c4dc9
commit
43ba5a6071
9 changed files with 11 additions and 2 deletions
|
|
@ -1,15 +0,0 @@
|
|||
# Example Koji callback
|
||||
# Copyright (c) 2009-2014 Red Hat, Inc.
|
||||
# This callback simply logs all of its args using the logging module
|
||||
#
|
||||
# Authors:
|
||||
# Mike Bonnet <mikeb@redhat.com>
|
||||
|
||||
from koji.plugin import callbacks, callback, ignore_error
|
||||
import logging
|
||||
|
||||
@callback(*callbacks.keys())
|
||||
@ignore_error
|
||||
def echo(cbtype, *args, **kws):
|
||||
logging.getLogger('koji.plugin.echo').info('Called the %s callback, args: %s; kws: %s',
|
||||
cbtype, str(args), str(kws))
|
||||
Loading…
Add table
Add a link
Reference in a new issue