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 h3 Configure Taiga
ol ol
li Fill li Fill
span Secret key. span Secret key
| or use the auto generated one
li Copy the li Copy the
span Payload URL field. 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 Secret must be filled with the same content as the secret field of this screen.
li Content type must be li Content type must be
span application/json. span application/json.
li You must check li Taiga currently listen for three different kind of events:
span "Send me everything". 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 .img
.alt-image Github Webhooke page .alt-image Github Webhooke page
img(src="/images/github-help.png", alt="webhook") 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 code
| TG-REF #STATUS | TG-REF #STATUS
ul.code-info ul.code-info
li li
span REF span REF:
| US/Issue/Task reference | US/Issue/Task reference of the element you want to modify
li li
span STATUS span STATUS:
| Status slug, you can get the status slug in | 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. a(href="", tg-nav="project-admin-project-values-us-status:project=project.slug") US STATUSES.
h3 Example h3 An example please!
code code
| TG-123 #closed | 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 # Just send the index.html for other files to support HTML5Mode
res.sendFile("index.html", {root: "#{__dirname}/dist/"}) res.sendFile("index.html", {root: "#{__dirname}/dist/"})
app.listen(9001) app.listen(9011)
# Rerun the task when a file changes # Rerun the task when a file changes
gulp.task "watch", -> gulp.task "watch", ->