• 
      

    Starting point for the Python API

    Review Request #1847 — Created Oct. 19, 2010 and discarded — Latest diff uploaded

    Information

    RBTools

    Reviewers

    Starting point for the Python API, created by myself and Brendan Curran-Johnson.  The project is divided into three parts, API, Clients, and Commands.
      
    The API deals with resources and RESTful communications to a reviewboard server.  Also, it deals with OS calls and generic configuration data.
    
    The Clients deal specifically with the different SCMs available to be used with reviewboard.  In a nutshell - generating diffs and grabbing repository information.
    
    The Commands are a set of scripts which use the API.  Most of the functionality found in post-review can be found in the current commands.
    Able to run the scripts:
    rb-close     (close a review request as submitted or discarded)
    rb-config    (configure the server_info for rb_scripts)
    rb-create    (create a new review request)
    rb-get-diff  (generate a diff)
    rb-info      (get the information for any base resource list or base resource list's child)
    rb-open      (open a review request)
    rb-publish   (publish a review request)
    rb-upload    (upload a diff or screenshot to a review request)