Permalink
Browse files

Update to the git hook to make working with the authz_policy easier i…

…n the future.
  • Loading branch information...
ralphbean committed Dec 10, 2012
1 parent 4fbc37d commit dd706bcb92d5c89d093d6c9e4c7e69f91a246b03
Showing with 2 additions and 0 deletions.
  1. +2 −0 extras/git-hooks/post-receive
@@ -38,6 +38,7 @@ def _build_commit(rev):
total=commit.stats.total,
),
rev=rev,
+ repo=repo_name,
branch=branch,
)
@@ -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",

0 comments on commit dd706bc

Please sign in to comment.