[Pulp-list] repo sync and the pulp-admin client
Todd B. Sanders
tsanders at redhat.com
Fri Sep 17 15:11:40 UTC 2010
On 09/17/2010 10:47 AM, Jason L Connor wrote:
> Hi All,
>
> I've put repo sync progress into the the pulp-admin client. I've also
> added a GET handler on the uri: /pulp/api/repositories/<id>/sync/, that
> returns a list of the recent sync operations including an on-going one,
> if applicable.
>
> So here's what I'm thinking. Currently the repo sync command waits for
> the repo sync to complete, while (now) displaying progress information.
> I want to also allow the command to start a sync and exit, and a second
> command to check on the status of the sync.
>
> So I'm looking for suggestions for the following:
>
> * What should the second command be called?
> (I'm leaning toward: syncstatus)
>
> * What should the default behavior of repo sync be?
> (I'm leaning toward: start the sync and exit)
>
> Any suggestions would be greatly appreciated.
Assume we will only allow one sync per repo at a time; so what happens
if I initiate a POST on /pulp/api/repositories/<id>/sync/ for the same
repo before the ongoing sync has finished?
I do like the idea of an immediate return (default behavior) and a
syncstatus for progress info. Assume you can also cancel ongoing sync?
-Todd
>
>
>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20100917/84b53699/attachment.htm>
More information about the Pulp-list
mailing list