An open API service indexing awesome lists of open source software.

https://github.com/staticf0x/mrmonitor

Monitor your MRs on Gitlab
https://github.com/staticf0x/mrmonitor

gitlab

Last synced: about 2 months ago
JSON representation

Monitor your MRs on Gitlab

Awesome Lists containing this project

README

          

# mrmonitor

Monitor your open MRs on Gitlab easily

## Usage

To list MRs from projects 1, 2 and 3 from user john.doe:

`python3 mrmonitor.py show 1,2,3 --user john.doe`

## Configuration

Mandatory environment variables are `GITLAB_URI` and `PRIVATE_TOKEN`.

You can also add them to your `.env` file in the project root directory.

### Jira issue parsing

If your MRs have a Jira ticket number in the title, you can optionally configure
a regex so mrmonitor will also display a Jira URL for the MR:

```
JIRA_URL=https://a.jira.instance.com/browse/
JIRA_REGEX=\[(SAMPLEPROJECT-\d+)\]
```

`JIRA_REGEX` is a comma separated list of regexes (multiple projects).