Add repositories/<id>/branches/ and repositories/<id>/commits resources.
Review Request #4265 — Created June 26, 2013 and submitted — Latest diff uploaded
Add repositories/<id>/branches/ and repositories/<id>/commits resources. This change adds APIs for getting a list of all branches on a repository, and a (paginated) list of commits backwards in time from a given starting point. These are currently implemented for the SVN SCMTool and the GitHub hosting service.
- Ran unit tests. - Used these in conjunction with my post-commit implementation.
Diff Revision 4 (Latest)
orig
1
2
3
4
docs/manual/docs.db |
---|
docs/manual/webapi/2.0/errors/224-diff-parse-error.txt |
---|
docs/manual/webapi/2.0/errors/index.txt |
---|
docs/manual/webapi/2.0/resources/index.txt |
---|
docs/manual/webapi/2.0/resources/repository-branches.txt |
---|
docs/manual/webapi/2.0/resources/repository-commits.txt |
---|
reviewboard/hostingsvcs/github.py |
---|
reviewboard/hostingsvcs/service.py |
---|
reviewboard/hostingsvcs/tests.py |
---|
reviewboard/scmtools/core.py |
---|
reviewboard/scmtools/models.py |
---|
reviewboard/scmtools/svn.py |
---|
reviewboard/scmtools/tests.py |
---|
reviewboard/webapi/resources.py |
---|
reviewboard/webapi/tests.py |
---|