Help with GitHub webhook to reviewboard

Hi, I have repository setup at github and it’s got a webhook to reviewboard 3.0 and I receive a 200 OK response from GitHub when testing.
The reviewboard server is on premise.

I have followed the directions here
which seem to indicate once the webhook is inserted in the github repository everything will work.

I would like to have reviewboard send out a review request with a link to a diff when a person has made a commit/push to the github repository.
I would also like to have reviewboard send out a notice when someone has reviewed a commit on reviewboard.

With a Git repository there is a .git/hooks directory where the hooks are located and called. With GitHub
Is there a directory where github hooks are located on the reviewboard server so when a commit/push is made they are called?

Does the url below need to reference the webhook by name?

The payload url from reviewboard is this according to the instructions.

Instructions say to include the information below when closing a commit.
Review Request #123

I make a commit and push it to github. The commit succeeds but that’s all. It’s not clear how to get a review from it.
Thanks, Ron

Thanks for reaching out.

If you need help configuring reviewboard, you may want to contact their support resources instead. We don’t have any experience configuring reviewboard and won’t be able to help with that.

From your description, it sounds like the webhook is being sent properly, so I’m not sure what else we can do there.

The .git/hooks directory is not the same thing as GitHub webhooks. The git hooks feature allows you to add code to customize the behavior of a git repository in specific ways. GitHub webhooks notify external services of specific repository events so those services can do something based on that input. The two features can be used in similar ways. On the other hand, they can be used in very dissimilar ways.

I hope that helps. Let us know if you have more questions.

1 Like