Add Bugtracker plugin to meetbot supybot

Add the Bugtracker plugin to the supybot used for meetbot (OpenStack).
This will restore the response of bug information to the channel when
a user references a bug in a message (e.g. 'bug XXXXXX').

Change-Id: I3ee3f1fa516bf1607ba6e79c6f911190a49b0161
This commit is contained in:
Morgan Fainberg 2015-01-28 11:01:28 -08:00
parent 66fab61dc4
commit e5545cbaef
2 changed files with 114 additions and 0 deletions

View File

@ -7,6 +7,15 @@ class meetbot {
source => 'https://git.openstack.org/openstack-infra/meetbot',
}
vcsrepo { '/opt/ubuntu_supybot_plugins':
ensure => latest,
provider => bzr,
require => [
Package['bzr'],
],
source => 'lp:ubuntu-bots'
}
user { 'meetbot':
gid => 'meetbot',
home => '/var/lib/meetbot',
@ -21,6 +30,9 @@ class meetbot {
$packages = [
'supybot',
'bzr',
'python-launchpadlib',
'python-soappy',
'python-twisted'
]
@ -43,6 +55,16 @@ class meetbot {
],
source => '/opt/meetbot/MeetBot',
}
file { '/usr/share/pyshared/supybot/plugins/Bugtracker':
ensure => directory,
recurse => true,
require => [
Package['supybot'],
Vcsrepo['/opt/ubuntu_supybot_plugins']
],
source => '/opt/supybot/plugins/Bugtracker',
}
}
# vim:sw=2:ts=2:expandtab:textwidth=79

View File

@ -846,6 +846,98 @@ supybot.plugins.MeetBot.public: True
###
supybot.plugins.MeetBot.enableSupybotBasedConfig: False
###
# Determines whether this plugin is loaded by default.
###
supybot.plugins.Bugtracker: True
###
# Determines whether this plugin is publicly visible.
#
# Default value: True
###
supybot.plugins.Bugtracker.public: True
###
# Determines whether the bug snarfer will be enabled, such that any
# Bugtracker URLs and bug ### seen in the channel will have their
# information reported into the channel.
#
# Default value: False
###
supybot.plugins.Bugtracker.bugSnarfer: True
###
# Determines whether the CVE snarfer will be enabled, such that any CVE
# URLs and CVE-????-???? seen in the channel will have their information
# reported into the channel.
#
# Default value: False
###
supybot.plugins.Bugtracker.cveSnarfer: False
###
# Determines whether the OOPS snarfer will be enabled, such that any
# OOPS ### seen in the channel will have their information reported into
# the channel.
#
# Default value: False
###
supybot.plugins.Bugtracker.oopsSnarfer: False
###
# Determines the phrase to use when notifying the user that there is no
# information about that bugtracker site.
#
# Default value: I don't have a bugtracker %s.
###
supybot.plugins.Bugtracker.replyNoBugtracker: I don't have a bugtracker %s.
###
# Determines the bugtracker to query when the snarf command is triggered
#
# Default value: launchpad
###
supybot.plugins.Bugtracker.snarfTarget: launchpad
###
# Determines what bugtrackers will be added to the bot when it starts.
#
# Default value:
###
supybot.plugins.Bugtracker.bugtrackers: launchpad
supybot.plugins.Bugtracker.bugtrackers.launchpad.url: https://launchpad.net
supybot.plugins.Bugtracker.bugtrackers.launchpad.description: Launchpad
supybot.plugins.Bugtracker.bugtrackers.launchpad.trackertype: launchpad
###
# Whether to send a message when a bug could not be found
#
# Default value: False
###
supybot.plugins.Bugtracker.replyWhenNotFound: False
###
# Number of seconds to wait between repeated bug calls
#
# Default value: 60
###
supybot.plugins.Bugtracker.repeatdelay: 60
###
# Whether to show the assignee in bug reports
#
# Default value: False
###
supybot.plugins.Bugtracker.showassignee: True
###
# Show optional extneded bug information, specific to trackers
#
# Default value: False
###
supybot.plugins.Bugtracker.extended: False
###
# Determines whether this plugin is loaded by default.
###