Skip to content

aarcro/helga-versionone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

helga-versionone

VersionOne Plugin for the helga chatbot.

Installation

Using pip

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.

Settings to Add

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

Commands

Anything in () is optional. emphatic terms should be replaced.

  1. alias [(lookup) nick | set | remove] - Lookup an alias, or set/remove your own
  2. oauth - Configures your oauth tokens
  3. review issue (!)text - Lookup, append, or set (when using !) codereview field (alias: cr)
  4. take ticket-id - Add yourself to the ticket's Owners
  5. tasks ticket-id (add title) - List tasks for ticket, or add one
  6. teams [add | remove | (list)] teamname - add, remove, list team(s) for the channel (alias: team)
  7. tests ticket-id (add title) - List tests for ticket, or add one
  8. user (nick) - Lookup V1 user for an ircnick

About

VersionOne Plugin for the helga chatbot.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages