0.0
No commit activity in last 3 years
No release in over 3 years
A Lita handler that will display GitLab messages in the channel
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 3.0.0.beta2
>= 3.5.0

Runtime

>= 3.0
 Project Readme

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