https://github.com/gopenguin/gitlab-bot
https://github.com/gopenguin/gitlab-bot
gitlab gitlab-api nodejs
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/gopenguin/gitlab-bot
- Owner: gopenguin
- License: mit
- Created: 2017-12-19T16:37:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-09T08:43:22.000Z (over 7 years ago)
- Last Synced: 2025-04-18T10:23:39.604Z (about 1 month ago)
- Topics: gitlab, gitlab-api, nodejs
- Language: JavaScript
- Size: 34.2 KB
- Stars: 12
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gitlab Bot
The purpose of the gitlab bot is to automate trivial tasks in project management using gitlab. This project is heavily inspired by [ProBot](https://github.com/probot/probot).
At the hart of this bot is a plugin system. This can be used to register actions which should be triggered by certain events e.g. creating an issue.
## Install
```
$ npm install --save gitlab-bot my-awesome-gitlab-bot-plugin and-another-one
```## Usage
After installing the plugins and gitlab bot itself, you need to tell the bot which plugins to load via the package.json.
```json
{
"name": "my-gitlab-bot-project",
"version": "1.0.0",
...
"gitlab-bot": {
"plugins": [
"my-awesome-gitlab-bot-plugin",
"and-another-one"
]
}
}
```## Development
For a development evnironment see [SETUP.md](SETUP.md).
## Implementierung --- Just some notes of the developers
[x] vorbereiten der Infrastruktur: Eintragen des Servers für Events im Gitlab; minimaler Webserver zum Testen, ob die Requests ankommen
[x] Parsen der Events und definieren der Eventschnittstelle; erstes kleines, noch nicht ausgelagertes Plugin
[x] Umsetzen der Pluginstruktur ähnlich wie in Probot
[ ] Umwandeln des ersten "Plugins" in ein "richtiges" Plugin