This package is abandoned and no longer maintained. No replacement package was suggested.

GitLab pending merge requests overview

Maintainers

👁 danielpieper

Package info

github.com/danielpieper/mrcli

pkg:composer/danielpieper/mrcli

Statistics

Installs: 31

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

v0.2.0 2019-02-14 08:09 UTC

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 4a12af05ccfa0d56fb5d4cefcc911862d2574271

  • Daniel Pieper <github.woop@daniel-pieper.com>

gitlabslackmerge request

This package is auto-updated.

Last update: 2023-01-29 14:55:05 UTC


README

👁 Scrutinizer Coverage
👁 Scrutinizer Code Quality
👁 License

MrCli checks your gitlab instance for pending merge requests.

Get an overview about the total number of pending mr's by approvers and projects, list mr's for your own, your colleagues or multiple projects.

Installation

Install the latest version with

$ composer global require danielpieper/mrcli

Configuration

mrcli is configured using environment variables. The GITLAB_TOKEN is required. Create a token with the api scope: https://gitlab.com/profile/personal_access_tokens

GITLAB_URL=https://gitlab.com # optional, set for on-premise installations
GITLAB_TOKEN=<gitlab token> # create gitlab token with api access: https://gitlab.com/profile/personal_access_tokens
SLACK_WEBHOOK_URL=<slack webhook url> # optional
SLACK_CHANNEL=<slack channel name, for example #merge_requests> # optional

Basic Usage

mrcli overview
mrcli project <project names separated by space>
mrcli approver <approver name, leave empty for your mr's>

About

Requirements

  • MrCli works with PHP 7.1 or above

Author

Daniel Pieper - github@daniel-pieper.com

License

MrCli is licensed under the MIT License - see the LICENSE file for details