Skip to content

Latest commit

 

History

History
66 lines (48 loc) · 1.9 KB

README.md

File metadata and controls

66 lines (48 loc) · 1.9 KB

hug-status-web

Build Status

Outputs statistics about the work of hugbot in JSON format. This is awsome. You know? Heavy reqirements.

Statistics

{
  "in_progress": 0,
  "merged": 0,
  "closed": 0,
  "queue": 3
}
  • in_progress: Current amount of open pull requests.
  • merged: Amount of merge requests which were merged.
  • closed: Amount of merge requests which were closed and not merged.
  • queue: Current amount of job entries in the queue.

A job entry is a message which contains a repository to correct.

Reguirements

Installation

$ cp config.json.dist config.json
$ go get
$ go build
$ ./hug-status-web --config="./config.json"
$ open http://localhost:8080/info.json

Configuration

{
  "status-web": {
    "url": "127.0.0.1:8080"
  },
  "redis": {
    "url": ":6379",
    "auth": ""
  }
}
  • status-web.url: IP and Port (in IP:Port format) where the status will be available and callable.
  • redis.url: IP and Port (in IP:Port format) where Redis is running.
  • redis.auth: Password to authenticate to the Redis server. If this is an empty string, no AUTH command will be executed.

Motivation

This project was created by Andy Grunwald, Jan-Erik Rediger, Christoph Reinartz, Jan van Thoor, Madeleine Neumann and Matthias Endler at the Hamburg Hackathon (May 23rd & 24th 2015).

Why? Because no one likes to correct typos 😄

License

This project is released under the terms of the MIT license.