copr cli tool
pingou at pingoured.fr
Tue Jan 22 14:03:42 UTC 2013
On Tue, Jan 22, 2013 at 01:27:25AM -0500, Bohuslav Kabrda wrote:
> > So I am proposing that we build a /api/ which would expose the
> > different
> > possibilities that we described:
> > - list the coprs of a user
> > - create a new copr
> > - build a copr
> > - ...
> Yep, that was my idea. I never meant to use current views for both web and cli. That's why I created the "copr.logic" package that is aimed to provide the functionality common to both web and cli-api views. It's not optimal ATM, but I guess we will figure out the best approach when we actually start working on the cli-api.
> I was thinking of a simple REST cli-client + JSON answers from the server - or do you want to do it differently?
Great, we're on the same page then :)
More information about the copr-devel