Resource specific base classes for new API
Review Request #3273 — Created Aug. 12, 2012 and submitted
This provides the resource specific base classes necessary for full API functionality (Such as downloading diffs). A few extra classes have been included to provide convenience functions (mostly for file uploading). Dependent on parent diff in /r/3184.
Uploaded file attachments to demo.reviewboard.org. Downloaded diffs locally.
Description | From | Last Updated |
---|---|---|
"make" should be removed I think. |
chipx86 | |
Would be nice to say whether the diff and parent_diff are string contents or file objects. |
chipx86 | |
Food for thought. It'd be neat to have a decorator for classes that did this instead, so classes wouldn't have … |
chipx86 | |
Like above, this should say what format it's expecting for the content. |
chipx86 | |
Too many s's? |
chipx86 | |
Here too. |
chipx86 | |
No need to capitalize "Review Request" |
chipx86 |
- Change Summary:
-
Updated based on Christian's review. Fixed a couple bugs causing the file uploading not to work.
- Testing Done:
-
+ Tested by uploading file attachments to demo.reviewboard.org
- Diff:
-
Revision 2 (+143 -4)
- Change Summary:
-
Updated to new parent diff from /r/3184/. Removed WIP tag.
- Summary:
-
[WIP] Resource specific base classes for new APIResource specific base classes for new API
- Description:
-
This provides the resource specific base classes necessary for full API functionality (Such as downloading diffs). A few extra classes have been included to provide convenience functions (mostly for file uploading).
- Any feedback on what other resource specific base classes should be implemented, and any desired convenience methods would be appreciated.
- Dependent on parent diff in /r/3184.
- Testing Done:
-
~ Tested by uploading file attachments to demo.reviewboard.org
~ Uploaded file attachments to demo.reviewboard.org.
+ Downloaded diffs locally. - Diff:
-
Revision 3 (+143 -4)