[meetbot-devel] Agenda support for MeetBot
Richard Darst
rkd at zgib.net
Fri Jul 1 08:06:45 UTC 2011
Everyone: I am desperately trying to finish stuff up to get all
patches integrated, and something we can test. I'll get back and
answer all mails ASAP.
Joachim: this is a good idea overall, and I'm sure we can integrate it
somehow. The meetings I tend to be involved with are rather
unstructured, but people seem to want this feature so we should make
it so somehow.
On Wed, Jun 29, 2011 at 10:41:52PM +0200, Joachim Bartosik wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
> as part of my GSoC project I'm making some changes to MeetBot. If it's
> possible I'd like to merge those changes into official MeetBot.
>
> Changes are:
> - Agenda management
> - Turned off by default
> - When staring meeting bot will fetch json files from given location.
Could it be made so that there is a configurable hook for getting
agenda items? For example, someone can write their own script that
will fetch the URL and parse a list to make the meeting items.
Perhaps it could be something like "set a variable to a module to
import and run get_meeting_agenda function" to return agenda items?
> - Those files contain list of users allowed to vote and agenda items
> - Adds commands to use during meeting:
> - For changing current agenda item
> - #nextitem
> - #previtem
> - #changeitem <no>
> - To manage voting
> - #startvote
> - #vote <choice>
> - #endvote
> - To manage available voting options
> - #option add
> - #option list
> - #option remove
> - To manage time limits (sends message to channel after given time)
> - #timelimit add <minutes to wait>:<seconds to wait> <message>
> - #timelimit list
> - #timelimit remove <message>
Time limits are a good idea - I thought about it before, but threading
interfered with supybot somehow when I tried. If you've solved that,
great... perhaps we should move this to the main bot?
Another idea: when #topic happens, allow a (timelimit: 5:00) or
something to automatically specify a time limit?
> - When #endmeeting is issued it pushes voting results to given url.
Perhaps this could also be made some kind of hook? Integrated into a
Writer or something ?
This makes me wonder if there should be a general extension system:
for example, a list of extension classes is loaded. For each command
given, first Meeting.do_AAA() is tried, if that doesn't exist, it
searches the list self.extensions one by one and tries the do_AAA
method on all of them until it finds one.
There could also be hooks: searches each extension class for
ext.hook_line, ext.hook_command, ext.hook_endmeeting,
ext.hook_startmeeting, etc.
I'll try to get to all old patches ASAP.
Thanks,
- richard
--
| Richard Darst - rkd@ - boltzmann: up 710 days, 4:37
| http://rkd.zgib.net - pgp 0xBD356740
| "Ye shall know the truth and -- the truth shall make you free"
More information about the meetbot-devel
mailing list