Skip to content

Commit

Permalink
Update to the git hook to make working with the authz_policy easier i…
Browse files Browse the repository at this point in the history
…n the future.
  • Loading branch information
ralphbean committed Dec 10, 2012
1 parent 4fbc37d commit dd706bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extras/git-hooks/post-receive
Expand Up @@ -38,6 +38,7 @@ def _build_commit(rev):
total=commit.stats.total,
),
rev=rev,
repo=repo_name,
branch=branch,
)

Expand All @@ -55,6 +56,7 @@ for commit in commits:
continue

fedmsg.publish(
# XXX - Expect this to change to just "receive" in the future.
topic="receive.%s.%s" % (repo_name, commit['branch']),
msg=dict(commit=commit),
modname="git",
Expand Down

0 comments on commit dd706bc

Please sign in to comment.