zulip/api/bots
Tim Abbott 70a8e51351 Rewrite check-mirroring to be more robust and flexible.
Features include:
* Not forking into two processes (shells out to zwrite to send
  instead).  This makes life easier since we're not doing concurrent
  programming.
* Eliminated a lot of hard-to-read or unnecessary debugging output.
* Adding explanatory test suggesting the likely problem for some
  common sets of received messages.
* Much less code duplication.
* Support for testing a sharded zephyr_mirror script (--sharded).
* Use of the logging module to print timestamps -- makes debugging
  some issues a lot.
* Only one sleep, and for only 10 seconds, between sending the
  outgoing messages and checking that they were received.
* Support for running two copies of this script at the same time, so that
  running it manually doesn't screw up Nagios.
* Passed running 100 tests run in a row.

(imported from commit a3ec02ac1d1a04972e469ca30fec1790c4fb53bc)
2012-11-30 17:57:52 -05:00
..
__init__.py Move our various bots into api/bots/. 2012-10-25 13:53:34 -04:00
check-mirroring Rewrite check-mirroring to be more robust and flexible. 2012-11-30 17:57:52 -05:00
feedback-bot [manual] send_message: Rename recipient/stream fields to 'to'. 2012-11-15 15:30:06 -05:00
gcal-bot [manual] send_message: Rename recipient/stream fields to 'to'. 2012-11-15 15:30:06 -05:00
humbug_trac.py [manual] send_message: Rename recipient/stream fields to 'to'. 2012-11-15 15:30:06 -05:00
mit_subs_list.py Move our various bots into api/bots/. 2012-10-25 13:53:34 -04:00
send-nagios-notification send-nagios-notification: Expand "\n" escape sequences that we get from Nagios 2012-11-27 14:08:49 -05:00
zephyr_mirror.py zephyr_mirror: Add options to run class mirror without sharding for debugging. 2012-11-29 13:57:06 -05:00
zephyr_mirror_backend.py zephyr_mirror: Move class name canonicalization earlier. 2012-11-29 13:57:06 -05:00