Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 3289 by kevinmmc...@gmail.com: Support for pre-post "hooks"
http://code.google.com/p/reviewboard/issues/detail?id=3289

*** For customer support, please post to reviewbo...@googlegroups.com
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** Do not post confidential information in this enhancement request!


What version are you running?
N/A

What's the URL of the page this enhancement relates to, if any?
N/A

Describe the enhancement and the motivation for it.
Would like the ability to run "hooks" in RBTools before posting a new or updated review. For example, to run a linter or style checker. Git allows for both global and per-repository (shared) hooks to be defined. We can add a pre-push or pre-commit hook to do the check, but doing it at review time would also be useful.

The idea would be something like defining a hook in .git/pre-review or .rbtools/pre-review that can cause the post to fail depending on the return value of the hook. Like Git hooks, this would be both per developer desktop or per repository.

I would imagine there would be other use-cases for this as well.

What operating system are you using? What browser?
Ubuntu Precise, N/A

Please provide any additional information below.
http://git-scm.com/book/en/Customizing-Git-Git-Hooks

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to