[RFC 00/11] REST API support

Finucane, Stephen stephen.finucane at intel.com
Tue May 17 23:38:51 AEST 2016


On 10 May 17:30, Andy Doan wrote:
> On 05/09/2016 09:16 AM, Finucane, Stephen wrote:
> >On 15 Apr 13:23, Andy Doan wrote:
> >>This patchset is inspired by the work done by Damien Lespiau. It creates
> >>a REST API based on the original spec RFC'd by Stephen Finucane. The
> >>only thing I know of that's missing from the patch set are bundles. I
> >>think over time the Series support will make them less important, but we
> >>could always tack bundles on to this if needed.
> >>
> >>This set is missing a corresponding CLI client. I think it might deserve
> >>its own series. However, I've been testing a new client to make sure the
> >>API is complete enough to be useful:
> >
> >IMO the client should be kept in its own tree/repo and packaged for
> >publication on pip. I've taken this approach for 'git-pw' [1], and
> >will be updating that to support the REST API once it's done.
> 
> That works.
> 
> >Speaking of git-pw, this is useful for git integration but I think
> >we'll still need a pwclient-like application for more "admin'y" stuff.
> >Do you think we should integrating REST API support into pwclient, or
> >should we create a whole new client (pwclient2?)?
> 
> I think we probably have to do a separate client since this feature
> is optional and depends on pip packages some maintainers may not
> want to deploy. I called it pwcli in my tree:
> 
>  http://paste.ubuntu.com/15856213/
> 
> But I don't think that would be a popular name.

Yup, let's debate this stuff once the REST API is done :)

Stephen


More information about the Patchwork mailing list