VersionOne Plugin for the helga chatbot.
pip install --allow-external elementtree --allow-unverified elementtree helga-versionone
If you're wondering what the --allow-external elementtree
and --allow-unverified elementree
lines are about:
This program relies upon the
Python SDK released by the VersionOne team <https://github.com/versionone/VersionOne.SDK.Python>
(albeit, an unofficial distribution of it), and that SDK relies upon elementree
which is unavailable through verified/local PyPI sources.
You'll need these in your settings.py
- VERSIONONE_URL Url to your instance endpoint.
- VERSIONONE_AUTH Two element tuple: (Username, Password). Not needed with Oauth.
- VERSIONONE_CR_FIELDS List of custom fields that hold codereview links.
- VERSIONONE_READONLY (Default: True) Set to False to allow writing to V1.
- VERSIONONE_OAUTH_CLIENT_ID From your Oauth client.
- VERSIONONE_OAUTH_CLIENT_SECRET From your Oauth client.
- VERSIONONE_OAUTH_ENABLED (Default: False) Set to True to enable Oauth.
- VERSIONONE_SHARED_TOKEN Set token for read-only type operations, like listing story info
Anything in () is optional. emphatic terms should be replaced.
- alias [(lookup) nick | set | remove] - Lookup an alias, or set/remove your own
- oauth - Configures your oauth tokens
- review issue (!)text - Lookup, append, or set (when using !) codereview field (alias: cr)
- take ticket-id - Add yourself to the ticket's Owners
- tasks ticket-id (add title) - List tasks for ticket, or add one
- teams [add | remove | (list)] teamname - add, remove, list team(s) for the channel (alias: team)
- tests ticket-id (add title) - List tests for ticket, or add one
- user (nick) - Lookup V1 user for an ircnick