A Lita handler that will display GitLab messages in the channel
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
locales
spec
.gitignore
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
lita-gitlab.gemspec

README.md

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