Make your minion talk to Phabricator. This essentially duplicates (a good portion of) the functionality that Phabricator's PhabricatorBot has.
Clone this into a directory named Phabricator
in your minion's plugins
subdirectory. In the Phabricator
directory, run
$ composer install
to install the necessary library.
Put something like the following in your minion's config.php
.
$this->PluginConfig['Phabricator'] = array(
'URL' => 'http://phabricator.yourcompany.com',
'Username' => 'minion',
'Token' => '...',
'Feed' => array(
'#mychannel' => array(
'interval' => 20 // seconds
)
)
);
- Responds to mentions of Phabricator objects (like T123, D456, P789, F1011) with their name and URL.
- Quarantines objects (doesn't look them up) for 60 seconds afer they're mentioned, to avoid spamming.
- Sends the feed info into the specified channel.