Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
irc:botbrainstorm [2016/10/11 12:47] – add !pkg VladimirKrstuljairc:botbrainstorm [2019/02/01 05:52] (current) – Move into IRC namespace with new title KubilayKocak
Line 1: Line 1:
-====== The VimDiesel -- the unofficial FreeBSD IRC helper bot ======+====== VimDiesel -- the (experimental) official FreeBSD IRC helper bot ======
  
 This document is WIP. This document is WIP.
  
-===== Commands and actions we want =====+===== Commands and actions =====
  
   * **!ask** -- reply with "Please don't ask to ask a question, simply ask the question, all on one line and in the channel so that others can read and follow up easily."   * **!ask** -- reply with "Please don't ask to ask a question, simply ask the question, all on one line and in the channel so that others can read and follow up easily."
   * **!paste** -- reply with "For posting multi-line texts in the channel, please use https://dpaste.org"   * **!paste** -- reply with "For posting multi-line texts in the channel, please use https://dpaste.org"
     * install a pastebin on bsdlabs.io     * install a pastebin on bsdlabs.io
-  * **!bug (\d+)** -- reply with a summarized link to bugzilla, eg:   "Issue $1: https://bugs.freebsd.org/$1 -- %%<%%summary>"+    * integrate the pastebin with a callback URL post in a channel (first enumerate security issues and why that's a bad idea) 
 +  * **!bug %%<%%number>** -- reply with a summarized link to bugzilla, eg:   "Issue %%<%%number>: https://bugs.freebsd.org/12345 -- %%<%%summary>"
     * or even better multiline response: 1. Link + title, 2. summary     * or even better multiline response: 1. Link + title, 2. summary
     * vary on "bug" and "issue" trigger keywords     * vary on "bug" and "issue" trigger keywords
-    * add autoparse-autopost capability in #freebsd-bugs, so whenever someone mentions "issue 12345" the bot would respond as if "!issue 12345" was called +    * add autoparse-autopost capability in **#freebsd-bugs**, so whenever someone mentions "issue 12345" the bot would respond as if "!issue 12345" was called 
-  * **!portsmon ...** -- give a link to portsmon, variants:+  * **!portsmon %%<%%name>** -- give a link to portsmon, variants:
     * portsmon %%<%%name>     * portsmon %%<%%name>
     * portsmon %%<%%category>/%%<%%name>     * portsmon %%<%%category>/%%<%%name>
Line 21: Line 22:
   * **!pkg %%<%%package>** -- show some quick info about a package   * **!pkg %%<%%package>** -- show some quick info about a package
     * with link to freshports?     * with link to freshports?
-  * **!man man(1)** -- link to the manpage for given item, ideally parse out the title from the manpage and give something like "%%<%%title>: %%<%%link>" +  * **!man %%<%%manpage>(%%<%%category>)** -- link to the manpage for given item, ideally parse out the title from the manpage and give something like "%%<%%title>: %%<%%link>"
-  * see if URL shorteners can be used, as various links to freebsd docs, manpages, bugs, etc... can be verbose+
   * **!news** -- list latest news via %%FreeBSD%% news RSS   * **!news** -- list latest news via %%FreeBSD%% news RSS
   * **!ops** -- a way to summon the chanops, eg. in case of troll invasion   * **!ops** -- a way to summon the chanops, eg. in case of troll invasion
Line 36: Line 36:
  
   * In **#freebsd-bugs** post latest newly submitted bugs, link to and summary   * In **#freebsd-bugs** post latest newly submitted bugs, link to and summary
 +  * In **#freebsd-security** post latest newly submitted security bugs (keyword: security, TODO: Component: Security of Product: Ports&Packages)
   * In all channels, post major news only   * In all channels, post major news only
 +
 +2. Message parsing and auto-reply (plugin: %%MessageParser%%)
 +
 +  * In **#freebsd-bugs** the bot listens to any appearance of //bug (\d+)// or //issue (\d+)// patterns and then posts a link to Bugzilla with parsed issue number.
 +
 +===== Pre-beta testing TODO =====
 +
 +  * Security audit, make sure the bot is read-only except to authenticated users
 +    * Some plugins are open for anyone like Alias and Factoids
 +    * One solution is to set anti-capabilities per channel
 +    * Another (find out how) is to remove all such default capabilities from users
 +  * Decide if **channel-specific factoids** are sufficient for **!faq** or find another solution if we want those to be available to all the channels
  
  • irc/botbrainstorm.1476190035.txt.gz
  • Last modified: 2016/10/11 12:47
  • by VladimirKrstulja