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
- Host: GitHub
- URL: https://github.com/staticf0x/mrmonitor
- Owner: staticf0x
- License: mit
- Created: 2021-11-12T12:51:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-20T07:25:21.000Z (about 3 years ago)
- Last Synced: 2025-02-23T18:33:26.601Z (over 1 year ago)
- Topics: gitlab
- Language: Python
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).