RocketChat/hubot-rocketchat-gitlab

Name: hubot-rocketchat-gitlab

Owner: Rocket.Chat

Description: null

Created: 2016-11-14 19:11:30.0

Updated: 2018-01-18 16:01:18.0

Pushed: 2017-11-06 11:47:40.0

Homepage: null

Size: 40

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

hubot-rocketchat-gitlab

Objetive

Integrates Rocket.Chat with Gitlab instances

Requirements
Settings
Warning

Since this uses gitlab api, using a token, the same permissions are applied to the owner of that token.

The tokens can be specified by channel, or even by direct message, using access config <token> <gitlab url> command.

Commands available

commands will have full syntax and small syntax, to those who want to be more agile. Small syntax consists generally in using the first letter of the command with it's parameters.

hubot s|erver set

It sets the URL and TOKEN for the bot to use in the channel.

hubot s|ecurity role

Blocks the access to the bot functions on the channel based on Rocket.Chat roles.

hubot p|roject list

List gitlab's projects. Order is by usage of projects in gitlab.

It may take a while to return the response!

hubot p|roject set

Sets the default project for working on it.

hubot p|roject search

Searches gitlab for a project with name term

hubot m|ilestones list [all|opened|closed]

List milestones for a specific project. if you specify a modifier, it will be applied.

hubot i|ssue list

Lists issues related to the default project.

hubot i|ssue create \n<body></h6> <p>Create issues</p> <h6>hubot i|ssue assign <issue_id> <username></h6> <p>Assign issues to users</p> <h6>hubot i|ssue <close|reopen|remove> <issue_id></h6> <p>Close, reopen and remove issues</p> <h6>hubot u|ser list</h6> <p>Lists users, if the token have this permittion</p> <h6>hubot m|ilestone list <all|opened|closed>?</h6> <p>Lists milestones</p> <h6>hubot b|uild list <created|pending|running|failed|success|canceled|skipped>?</h6> <p>Lists builds</p> <h6>hubot b|uild play <build_id></h6> <p>Make it able to play a pending or canceled build.</p> <h6>hubot b|uild retry <build_id></h6> <p>Rebuilds it</p> <h6>hubot b|uild erase <build_id></h6> <p>Erases the build</p> <h6>hubot pi|peline list</h6> <p>Lists pipelines</p> <h6>hubot d|eployment list</h6> <p>List deployments</p> <h5>Thanks to</h5> <p>https://gitlab.sigmageosistemas.com.br/dev/hubot-gitlab-agile Thanks to George Rodrigues da Cunha Silva</p> </div> <div style="width: 100%; float: left"> <div class="container-fluid pt-5"> <hr/> </div> <div class="d-flex justify-content-center flex-row flex-wrap pb-1"> <ul id="menu-footer-menu" class="foot nav justify-content-center"> <li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" id="menu-item-985" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-985 nav-item"><a title="NIH" href="https://www.nih.gov/" class="nav-link">NIH</a></li> <li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" id="menu-item-988" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-988 nav-item"><a title="NCATS" href="https://ncats.nih.gov/" class="nav-link">NCATS</a></li> <li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" id="menu-item-991" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-991 nav-item"><a title="CTSA" href="https://ctsa.ncats.nih.gov" class="nav-link">CTSA</a></li> <li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" id="menu-item-994" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-994 nav-item"><a title="CD2H" href="https://ctsa.ncats.nih.gov/cd2h/" class="nav-link">CD2H</a></li> <li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" id="menu-item-997" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-997 nav-item"><a title="CD2H Labs" href="http://labs.cd2h.org" class="nav-link">CD2H Labs</a></li> </ul> </div> <div class="container pl-0 pr-0"> <div class="container-fluid mt-4">This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.</div> </div> <div class="row justify-content-center pb-3"> <a href="https://twitter.com/data2health?lang=en"> <i class="fab fa-twitter-square fa-2x pr-1" style="background: -webkit-linear-gradient(#c0deed, #0084b4); -webkit-background-clip: text; -webkit-text-fill-color: transparent;"></i> </a> <a href="https://github.com/data2health"> <i class="fab fa-github-square fa-2x pl-1" style="background: -webkit-linear-gradient(#eee, #333); -webkit-background-clip: text; -webkit-text-fill-color: transparent;"></i> </a> </div> </div> </div> </div> </body> </html>