lita-gitlab

Build Status Code Climate Coverage Status

lita-gitlab is a Lita that will display GitLab messages in the channel.

Installation

Add lita-gitlab to your Lita instance's Gemfile:

gem "lita-gitlab"

Configuration

Required attributes

  • default_room (String) - A channel idenitifier. ie: #general.

  • url (String) - The Gitlab repository location. ie: http://gitlab.mycompany.com/.

  • group_name (String) - Your group identifier. ie: my_team.

Example

Lita.configure do |config|
  config.handlers.gitlab.default_room = '#general'
  config.handlers.gitlab.url = 'http://example.gitlab/'
  config.handlers.gitlab.group = 'group_name'
end

Usage

  • targets Channel(s) separated by commas.
  • project The name of the specific project (only needed for webhooks).

You will need to add a GitLab Webhook url that points to: http://address.of./lita/gitlab?targets=<targets>&project=<project>

License

MIT