Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An extensible and friendly code review tool for projects and companies of all sizes.

branch: master

Beanstalk post-receive web hook

This is a Beanstalk post-receive hook that will automatically close review
requests as "submitted" after a push. To determine which review requests should
be closed, it scans through each commit's commit message for the following
strings (case-insensitive): "Reviewed at <reviewboard_url>/r/<id>" or "Review
request #<id>".

This is what the JSON payload looks like:
http://support.beanstalkapp.com/customer/portal/articles/75753-trigger-a-url-on-commit-with-web-hooks

Testing Done:
Test carried out on git and svn repos.

1) Push with the review request id in the commit message. Review request
   closed.
2) Push without a review request id in the commit message. (Review request
   closed based on the commit_id for git and error looged for svn)
3) Push with non existent review request id. (Error: Review request does not
   exist)
4) Push with review id in the message that is already submitted. (logged a
   warning: request id already submitted.)
5) Push with review id in the message that has been marked as discarded.
   (review request marked as submitted.)

Reviewed at https://reviews.reviewboard.org/r/5698/
latest commit 4bd49ff006
Bhushan Ramnani authored April 23, 2014 davidt committed April 23, 2014
Octocat-spinner-32 contrib Fix up a few webapi-lint errors. April 01, 2014
Octocat-spinner-32 docs Merge branch 'release-1.7.x' into release-2.0.x April 22, 2014
Octocat-spinner-32 reviewboard Beanstalk post-receive web hook April 23, 2014
Octocat-spinner-32 webtests Fix all timezone-related issues and warnings. April 01, 2012
Octocat-spinner-32 .gitignore Add some hg repo internal data to .gitignore February 16, 2014
Octocat-spinner-32 .reviewboardrc Merge branch 'release-1.6.x' October 18, 2012
Octocat-spinner-32 AUTHORS Add the students to the AUTHORS file. February 10, 2014
Octocat-spinner-32 CONTRIBUTING Add a CONTRIBUTING guide. March 13, 2013
Octocat-spinner-32 COPYING Add license file March 08, 2007
Octocat-spinner-32 INSTALL Update all references from review-board.org to reviewboard.org. November 14, 2009
Octocat-spinner-32 MANIFEST.in Don't bundle static/djblets in the egg. July 31, 2012
Octocat-spinner-32 NEWS Update all references from review-board.org to reviewboard.org. November 14, 2009
Octocat-spinner-32 README Update our README to be a bit more up-to-date. November 09, 2012
Octocat-spinner-32 ez_setup.py Upgrade our version of ez_setup.py. February 06, 2011
Octocat-spinner-32 setup.cfg Add a bunch of aliases for generating alpha, beta, rc, an dfinal rele… November 19, 2008
Octocat-spinner-32 setup.py Release Review Board 2.0 RC 2. April 02, 2014
README
Review Board
============

Review Board is a web-based review tool designed to help projects and companies
keep track of pending code changes and make reviews of code, graphics, and more
much less painful and time-consuming. It's generic enough to use in any
project, and works at companies and organizations of any size.

Information on usage and installation can be found on
http://www.reviewboard.org/docs/manual/dev/

General information on the project is available on
http://www.reviewboard.org/
Something went wrong with that request. Please try again.