Skip to content

Multiple dispatchers

Compare
Choose a tag to compare
@Edouard-chin Edouard-chin released this 06 Sep 19:19
a55ad2e

[1.1.0] - 2019-09-06

Fixed

  • Fixed the SmartTodo cop to add an offense in case a SmartTodo has a wrong event.
    # Bad
    #
    # TODO(on '2019-08-08')

Added

  • SmartTodo will now use the fallback channel in case a todo has a channel
    assignee that doesn't exist.

  • Added a new Output dispatcher which will just output the expired event.
    By default SmartTodo will now output expired todo in the terminal instead
    of not running at all.

    Users should now pass a --dispatcher to the CLI to let SmartTodo through
    which dispatcher the message should be send.

      bin/smart_todo --dispatcher 'slack'

    For backward compatibility reasons, the dispacher used will be Slack, in
    case you have the ENABLE_SMART_TODO environment set. This will be removed
    in the next major version.