Merge lp:~leonardr/lazr.restful/tag-web-service-request into lp:lazr.restful
Proposed by
Leonard Richardson
on 2010-03-02
| Status: | Merged |
|---|---|
| Approved by: | Brad Crittenden on 2010-03-02 |
| Approved revision: | 116 |
| Merge reported by: | Leonard Richardson |
| Merged at revision: | not available |
| Proposed branch: | lp:~leonardr/lazr.restful/tag-web-service-request |
| Merge into: | lp:lazr.restful |
| Diff against target: |
190 lines (+51/-16) (has conflicts) 8 files modified
src/lazr/restful/NEWS.txt (+9/-0) src/lazr/restful/docs/webservice-request.txt (+5/-0) src/lazr/restful/publisher.py (+3/-9) src/lazr/restful/testing/webservice.py (+1/-0) src/lazr/restful/tests/test_utils.py (+2/-1) src/lazr/restful/tests/test_webservice.py (+14/-3) src/lazr/restful/utils.py (+16/-2) src/lazr/restful/version.txt (+1/-1) Text conflict in src/lazr/restful/NEWS.txt |
| To merge this branch: | bzr merge lp:~leonardr/lazr.restful/tag-web-service-request |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Brad Crittenden (community) | code | 2010-03-02 | Approve on 2010-03-02 |
|
Review via email:
|
|||
To post a comment you must log in.
| Leonard Richardson (leonardr) wrote : | # |
| Leonard Richardson (leonardr) wrote : | # |
Here's the diff: http://
review:
Approve
(code)

I was having problems that stemmed from the fact that browser_ request_ to_web_ service_ request( ) (in publisher.py) was incorrectly tagging new web service requests with version information. I refactored the tagging code from WebServiceReque stTraversal. traverse( ) into a utility function and used it in both places. (I could have made it a private helper function in publisher.py, but 1) I like being able to test it on its own in a unit test, and 2) I believe it will be useful again in the future.)
I propose releasing this branch as lazr.restful 0.9.22, but it is not based on the current lazr.restful trunk. The current trunk has code to do with mutator named operations which I don't want to integrate into Launchpad right now.