[Patchew-devel] [PATCH v2] rest: add api/v1/messages endpoint (POST support)
Paolo Bonzini
pbonzini at redhat.com
Tue May 15 12:55:03 UTC 2018
On 15/05/2018 14:40, Shubham Jain wrote:
> This can be just "projects = (p for p in projects if
> p.maintained_by(self.request_user))". I'll make the change and
> commit it.
>
> What's next?
Write more tests. :)
Then I'm thinking of jumping directly to OAuth... Either that, or the
update-project-head old-style request, which would be an easy POST
request like /projects/{pk}/update-head.
Another possibility is to start modifying the patchew-cli tool to use
the REST requests when applicable. In fact, doing that for
update-project-head is probably the best way to test your new code,
because tests only use (by test_project_update in test_import.py) it via
patchew-cli.
Thanks,
Paolo
More information about the Patchew-devel
mailing list