Updating github integration doc

stable
Alejandro Alonso 2014-11-04 09:52:20 +01:00 committed by David Barragán Merino
parent d3d6a1ce4e
commit 42a7752874
2 changed files with 21 additions and 12 deletions

View File

@ -37,7 +37,9 @@ block content
h3 Configure Taiga
ol
li Fill
span Secret key.
span Secret key
| or use the auto generated one
li Copy the
span Payload URL field.
@ -57,32 +59,39 @@ block content
li Secret must be filled with the same content as the secret field of this screen.
li Content type must be
span application/json.
li You must check
span "Send me everything".
li Taiga currently listen for three different kind of events:
ol
li Push events: changing element status via commit message
li Issues: issues created in github appear automatically in Taiga
li Issue comment: issue comments created in github appear automatically in Taiga
p Just check "send me everything" or just the events you want Taiga to listen for.
.img
.alt-image Github Webhooke page
img(src="/images/github-help.png", alt="webhook")
h3 Commit message
h2 Changing elements status via commit message
p The commits message must have this command.
p
| The status of any issue, task or user story can be changed via commit message.
| Just add to your commit message something like:
code
| TG-REF #STATUS
ul.code-info
li
span REF
| US/Issue/Task reference
span REF:
| US/Issue/Task reference of the element you want to modify
li
span STATUS
| Status slug, you can get the status slug in
span STATUS:
| New status slug to set, you can find all of them in:
a(href="", tg-nav="project-admin-project-values-us-status:project=project.slug") US STATUSES.
h3 Example
h3 An example please!
code
| TG-123 #closed
p In this example, 123 is an issue and with this command, the issue will change its status to closed.
p In this example, 123 is an issue reference and with this command, the issue will change its status to closed.

View File

@ -303,7 +303,7 @@ gulp.task "express", ->
# Just send the index.html for other files to support HTML5Mode
res.sendFile("index.html", {root: "#{__dirname}/dist/"})
app.listen(9001)
app.listen(9011)
# Rerun the task when a file changes
gulp.task "watch", ->