Adding pre-post hook to .reviewboardrc

Review Request #7066 - Created March 16, 2015 and updated

Tran Nguyen
RBTools
master
b29a119...
rbtools

This feature is to add pre-post hook to run before posting the request. This patch demonstrate how we can do format checking before posting the review so that we can make edit locally to fix formatting issues locally. The user can use --no-pre-post-hook to turn off the hook if neccessary.

Test with "pyflakes . && nosetests" command specified in rbtools/.reviewboardrc and check if the command is run.
Check if the pre-post-hook is turned off if the --no-pre-post-hook flag is on.

  • 0
  • 0
  • 38
  • 2
  • 40
Description From Last Updated
Review Bot
Barret Rennie
Tran Nguyen
Review Bot
Tran Nguyen
Review Bot
Tran Nguyen
Review Bot
Vincent Le
Tien Vu
Tran Nguyen
Review Bot
Barret Rennie
Tran Nguyen
Review Bot
Tran Nguyen
Review Bot
Tran Nguyen
Review Bot
Barret Rennie
Tran Nguyen
Review Bot
Tran Nguyen
Review Bot
Barret Rennie
Griffin Myers
Tran Nguyen
Review Bot
David Trowbridge
Tran Nguyen
Review Bot
Tran Nguyen
Review Bot
Tran Nguyen
Review Bot
Tran Nguyen
Review Bot
Wang Jun Sun
Tran Nguyen
Review Bot
Tran Nguyen
Review Bot
Tran Nguyen
Review request changed

Commit:

-d434591a2dac694e483f99de5a6a5542b9042a55
+b29a119900d98517f2c055f190ece9a96f545d56

Diff:

Revision 18 (+21)

Show changes

Review Bot
  1. Tool: Pyflakes
    Processed Files:
        rbtools/commands/post.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbtools/commands/post.py
    
    
  2. 
      
Loading...