pi2bz: implement more accurate trigger for commands

We use pi_query when looking for interesting threads, but we can have
false-positives (e.g. someone talking about bugbot trigger words, not
someone actually issuing bot commands).

This implements pi_trigger_regexes so we can separate commands (on a
separate line) from false-positives.

Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
5 files changed
tree: 16a3b07fa8829a5ebe256711fa576c925cf7576d
  1. peebz/
  2. .gitignore
  3. COPYING
  4. default.config.toml
  5. peebz.sh
  6. README.md
  7. requirements.txt
  8. TODO.otl
README.md

Public-Inbox Bugzilla Integration Bot

This is the source for the kernel.org bugbot, currently in the early stages of testing and roll-out.