Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

A Lita handler that will display GitLab messages in the channel

Resources

License

Packages

No packages published

Languages