A Flask server that allows you to interact with Trello from your own Gitlab, and keep track of your projects dependencies.
Project description
Install dependencies
$ mkvirtualenv gitlab_freak
$ workon gitlab_freak
(gitlab_freak)$ python setup.py gitlab_freak develop
Initialize database model
(gitlab_freak)$ gitlab-freak-init-db.py
Prepare config file
You need to copy config-sample.cfg somewhere on your server, and fill it with your desired configuration. Then export its path into an environment variable GITLAB_FREAK_SETTINGS.
GITLAB_TOKEN: find it on Gitlab, under your profile settings, Account section (private token). TRELLO_APPKEY: it’ll be generated when visiting this page https://trello.com/app-key under the Key section. TRELLO_TOKEN: you’ll be given it when launching for the first time gitlab-freak server and visiting the homepage. You’ll need to restart the server after setting it.
Run dev server
(gitlab_freak)$ gitlab-freak-run-dev.py
Set a webhook in Gitlab
In your project’s setting, put the dispatch url of gitlab-freak (http://your-gitlab-freak-endpoint/dispatch) on issue trigger.
Changelog
1.0.0-alpha.1 (01-10-2015)
Rename gitlab-to-trello into gitlab-freak.
Choose a Gitlab Node.js project for which dependencies update monitoring is wanted.
Get dependencies from package.json.
Fetch dependencies latest versions on a npm registry.
List dependencies versions status on a webpage.
Fix dispatcher to commit in database, and show issue link in card comment.
1.0.0-alpha (26-08-2015)
Link a Gitlab project to a Trello Board.
Listen to Gitlab issue creation webhook.
Create a Trello card in the first column of the linked board, when an issue is created in a project.