Service/meeting: Difference between revisions

 
(21 intermediate revisions by 3 users not shown)
Line 5: Line 5:
== Hostnames ==
== Hostnames ==


* meetings.sugarlabs.org
* meeting.sugarlabs.org
* meeting.treehouse.su


== Hosted on ==
== Hosted on ==


[[Machine/Jita]]
[[Machine/jita]]


== Administrative contact ==
== Administrative contact ==


* [[User:alsroot|Aleksey Lim]]
* meeting AT sugarlabs DOT org


== Sysadmins ==
== Sysadmins ==


* [[User:alsroot|Aleksey Lim]]
* [[User:alsroot|Aleksey Lim]]
* [[User:dogi|Stefan Unterhauser]]


== Notes ==
== Notes ==


[http://sourceforge.net/projects/supybot/ IRC] bot with plugins and static HTTP access to IRC logs.
[http://sourceforge.net/projects/supybot/ IRC] bot with plugins and perl CGI access to IRC logs in local MySQL db using [http://git.sugarlabs.org/projects/ilbot modified] ilbot webui.
 
=== IRC bot ===
 
This new bot replaces the older [http://wiki.laptop.org/go/User:Dogi/meeting Mootbot] with Supybot.
 
{| class="wikitable"
|-
!scope="row" | Home
|{{Code|/srv/supybot}}
|-
!scope="row" | Daemon
|{{Code|/etc/init.d/supybot}}
|-
!scope="row" | Logs
|{{Code|/srv/supybot/log}}
|-
!scope="row" | Config
|{{Code|/srv/supybot/bot.conf}}
{{Code|/etc/logrotate.d/supybot}}
|-
|}
 
Everything, except owner related configuration, should happen via [http://supybook.fealdia.org/devel/#_administrative_tasks IRC interface] with using {{Code|flush}} command to save changes immediately.
 
Supybot plugins:
 
* [http://git.sugarlabs.org/sl-tweaks/meetbot MeetBot] in {{Code|/srv/supybot/plugins/MeetBot}}<br>Handle meetings.
* [http://git.sugarlabs.org/sl-tweaks/supybot-mylogger MyLogger] in {{Code|/srv/supybot/plugins/MyLogger}}<br>Keep IRC logs in MySQL database.
* [http://git.sugarlabs.org/sl-tweaks/supybot-lingvo Lingvo] in {{Code|/srv/supybot/plugins/Lingvo}}<br>Online translation on IRC.
 
=== Web logs ===
 
{| class="wikitable"
|-
!scope="row" | Home
|{{Code|/srv/ilbot}}
|-
!scope="row" | Config
|
{{Code|/etc/httpd/conf.d/meeting.sugarlabs.org.conf}}<br>
{{Code|/etc/httpd/conf.d/meeting.treehouse.su.conf}}<br>
{{Code|/srv/ilbot/cgi/database.conf}}
|-
|}
 
== Upgrade notes ==
== Upgrade notes ==


No need in manual configuration, all happens via [[Infrastructure_Team/Puppet|Puppet]] [http://git.sugarlabs.org/projects/puppet-supybot module].
{| class="wikitable"
|-
!scope="row" | yum
|{{Code|supybot}}
|-
!scope="row" | git
|
{{Code|/srv/supybot/plugins/MeetBot}}<br>
{{Code|/srv/supybot/plugins/MyLogger}}<br>
{{Code|/srv/supybot/plugins/Lingvo}}<br>
{{Code|/srv/ilbot}}
|-
|}
 
After pulling new ilbot changes from Git repository, clean up disk cache:
 
rm -rf /tmp/FileCache/irclog
 
== Sources ==
 
Repositories:
 
* [http://git.sugarlabs.org/sl-tweaks/supybot-lingvo supybot-lingvo] plugin.
* [http://git.sugarlabs.org/sl-tweaks/supybot-mylogger supybot-mylogger] plugin.
 
Downstream repositories:
 
* [http://git.sugarlabs.org/sl-tweaks/ilbot ilbot].
* [http://git.sugarlabs.org/sl-tweaks/meetbot MeetBot].
 
Upstream repositories:
 
* [http://github.com/moritz/ilbot/ ilbot].
* [http://wiki.debian.org/MeetBot#Code MeetBot].
 
== Usage ==


All, except nick, directly related to bot parameters can be setup only on initialization stage. Later bot can be configured from [http://ubottu.com/stdin/supydocs/commands.html IRC] interface (preferable) or changing ''/srv/supybot/bot.conf''.
{{:{{PAGENAME}}/Usage}}