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 2
This is not the most recent revision of the diff. The latest diff is revision 4. See what's changed.
orig
1
2
3
4
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/scmtools/testdata/svn_repo/db/current |
---|
reviewboard/scmtools/testdata/svn_repo/db/revprops/6 |
---|
reviewboard/scmtools/testdata/svn_repo/db/revprops/7 |
---|
reviewboard/scmtools/testdata/svn_repo/db/revs/6 |
---|
reviewboard/scmtools/testdata/svn_repo/db/revs/7 |
---|
reviewboard/webapi/resources.py |
---|
reviewboard/webapi/tests.py |
---|