Starting point for the Python API
Review Request #1847 — Created Oct. 19, 2010 and discarded — Latest diff uploaded
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)
Diff Revision 4
This is not the most recent revision of the diff. The latest diff is revision 8. See what's changed.
orig
1
2
3
4
5
6
7
8
setup.py |
---|
rbtools/api/__init__.py |
---|
rbtools/api/get.py |
---|
rbtools/api/resource.py |
---|
rbtools/commands/__init__.py |
---|
rbtools/commands/rb.py |
---|
rbtools/commands/rb-create.py |
---|
rbtools/commands/rb-delete.py |
---|
rbtools/commands/rb-publish.py |
---|
rbtools/commands/rbclose.py |
---|
rbtools/commands/rbcreate.py |
---|
rbtools/commands/rbopen.py |
---|
rbtools/commands/rbpublish.py |
---|