{"push_id":1310822876,"size":1,"distinct_size":1,"ref":"refs/heads/github-users","head":"277ca998643df8631128f9d31384aba5ccd27b9b","before":"f4f7cb364ce3765b2b7b9f925298a3368edc6626","commits":[{"sha":"277ca998643df8631128f9d31384aba5ccd27b9b","author":{"name":"Rainer Müller","email":"6182c43e061dc7aa17845557b51df0016863fad7@macports.org"},"message":"Support syncing user groups from GitHub\n\nAdd hooks that allow Trac to use groups generated from and\norganization's GitHub teams for permission management. To keep the\ngroups in sync, add an endpoint for a GitHub WebHook that listens for\nmembership events and updates the cache.\n\nOptionally support signed webhooks using a shared secret to prevent\ndenial of service attacks.\n\nSynced groups will have the form\n - github-$org-$teamslug for members of a certain group, and\n - github-$org for the union of all members of all teams in this org.\n\nNote that the github-$org group does not contain users that are part of\nthe GitHub organization, but no team inside that organization. This is\ndeliberate because GitHub currently does not provide a notification\nmechanism for changes to organization membership, which means we would\nhave to resort to polling.\n\nIn our intended use case, this difference does not matter. Commented\ncode implements syncing of GitHub org memberships should GitHub decide\nto provide a WebHook in the near future.\n\nSigned-off-by: Clemens Lang <cal@macports.org>","distinct":true,"url":"https://api.github.com/repos/neverpanic/trac-github/commits/277ca998643df8631128f9d31384aba5ccd27b9b"}]}
{"actor":{"display_login":"neverpanic"}}