Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 90 lines (81 sloc) 2.07 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
[config]
jenkins-url = https://my-jenkins-url.com/github-webhook/

[team:contributors]
permission = push
members =
    MarcWeber
    honza
    garbas
repos =
    snipmate-snippets

[hook:my-jenkins]
name = jenkins
#JSON object as per schema @ https://api.github.com/hooks
#Can use Buildout-style variable substitution
config =
    {"jenkins_hook_url": "${config:jenkins-url}"}
events =
    push
active = true

[hook:my-web]
name = web
#JSON object as per schema @ https://api.github.com/hooks
#Boolean objects should be represented as string "1" or "0" as this is
#what GitHub stores.
#Can use Buildout-style variable substitution. ${repo:variable} refers
#specifically to properties against a repo.
my-url = http://my-web-hook-url.com/redmine/?identifier=${repo:redmine-id}
config =
    {"url": "${:my-url}",
     "insecure_ssl": "1"
    }
events = push
active = true

[repo:vim-snipmate]
fork = garbas/vim-snipmate
owners = garbas MarcWeber
teams = contributors

[repo:snipmate-snippets]
fork = honza/snipmate-snippets
owners = honza

[repo:demo]
owners = davidjb
teams = contributors
hooks =
    my-jenkins
    my-web
description = My awesome repo
homepage = http://plone.org
has_issues = false
has_wiki = false
has_downloads = false
#Will only work if you have quota
private = true


# this will create
# - 4 teams:
# [{'name': '--auto-contributors',
# 'permission': 'push',
# 'members': ['MarcWeber', 'garbas', 'honza'],
# 'repos': ['vim-snipmate', 'snipmate-snippets']
# },
# {'name': '--auto-snipmate-owners',
# 'permission': 'push',
# 'members': ['MarcWeber', 'garbas'],
# 'repos': ['vim-snipmate']
# },
# {'name': '--auto-snipmate-snippets-owners',
# 'permission': 'push',
# 'members': ['MarcWeber', 'garbas'],
# 'repos': ['snipmate-snippets']
# }
# {'name': '--auto-demo',
# 'permission': 'push',
# 'members': ['davidjb'],
# 'repos': ['demo']
# }
# ]
# - 3 repos:
# [{'name': 'vim-snipmate'},
# {'name': 'snipmate-snippets'}
# {'name': 'demo', 'hooks': ['web', 'web']}
# ]
Something went wrong with that request. Please try again.