hanging-merge-requests

Emojiful daily summaries of open merge requests directly in your Slack


Keywords
gitlab, merge-request, reporting, slack, summary
License
MIT
Install
pip install hanging-merge-requests==1.0.2

Documentation

Hanging Merge Requests

Version License Languages Format Status Python Versions

Emojiful daily summaries of open merge requests directly in your Slack.

Example summary

Create you own configuration file with your team, channel and projects as shown in example_config.json.

  • 👍 / 👎 - Has upvotes / downvotes
  • :male_zombie: / :female_zombie: - MR is old
  • 💭 - Has an ongoing discussion
  • 🚢 - Has more upvotes than downvotes, tests pass and is ready to be merged
  • / - Can be merged / Cannot be merged
  • 💚 / 💔 - Tests pass / fails

Installation

git clone https://github.com/Webinterpret/hanging-merge-requests.git
cd hanging-merge-requests && pip install -e .

Usage

send-notifications --config-path ../config.json --slack-hook-url $SLACK_HOOK_URL --gitlab-url $GITLAB_URL --gitlab-private-token $GITLAB_PRIVATE_TOKEN --team $TEAM

Deploy

First bump version in setup.py in master branch via merge request. Afterwards push a version tag and wait.

git tag 1.0.0
git push --tags