Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thathoff/git2taiga
Webhook to close Taiga.io issues with GitLab commits
https://github.com/thathoff/git2taiga
Last synced: 5 days ago
JSON representation
Webhook to close Taiga.io issues with GitLab commits
- Host: GitHub
- URL: https://github.com/thathoff/git2taiga
- Owner: thathoff
- Created: 2015-10-14T17:36:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-05T10:00:47.000Z (almost 9 years ago)
- Last Synced: 2023-03-07T11:16:08.665Z (almost 2 years ago)
- Language: PHP
- Size: 5.86 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Webhook to close Taiga.io issues with GitLab commits
The script enables you to use the [GitLab closing pattern](http://doc.gitlab.com/ee/customization/issue_closing.html) to close issues, tasks and userstories in your [Taiga.io](https://taiga.io) project.
## Installation
Copy this folder to some PHP (>=5.3) supporting Webserver which is accessable by your GitLab instance.### Copy and change configuration
1. copy config.default.php to config.php
2. update config.php with your settings### Set up your project in GitLab
In the following steps, please replace `PROJECT_NAME` with yout Taiga project URL and `http://example.com/git2taiga/` with the URL of this script.1. Add a new web hook for “Push events” to your project with the target url `http://example.com/git2taiga/?project=PROJECT_NAME`
2. (optional) To link issues in GitLab to your Taiga installation add a custom issue tracker in project services using the following urls:
*Project url:* http://example.com/git2taiga/?redirect&project=PROJECT_NAME
*Issues url:* http://example.com/git2taiga/?redirect&project=PROJECT_NAME&issue=:id
*New issue url:* http://example.com/git2taiga/?redirect&project=PROJECT_NAME&issue=new### Closing issues, user stories or tasks
When a commit is merged into the master and uses the [GitLab closing pattern](http://doc.gitlab.com/ee/customization/issue_closing.html) the task is set to the first status that is marked as closed in the Taiga settings. A comment linking to the GitLab commit will be add to the item.
When the current status of the item is higher then the first close status this script will not change anything.