[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pulp-list] repo sync and the pulp-admin client

Hash: SHA1

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.

How many? Ordered by what, timestamp? Might want to provide either a
filter or another call that just asks for the most recent one, which
feels a bit more geared usage-wise towards tracking the progress of an
ongoing sync.

> 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)

Personally, I like just using "status", since that will read "The status
of the repo is synchronized as of 10:30" or "The status of this repo is
synchronizing for [123] seconds". But that's a pet peeve against
concatenating two words like "syncstatus" without a separator.

> * What should the default behavior of repo sync be?
>   (I'm leaning toward: start the sync and exit)

+1, I think that's the more common case than a synchronous, er, sync.

> Any suggestions would be greatly appreciated.

I forget, is this information available in "repo list" as well? It'd be
cool to see a summary view of all the repos that shows which ones are in
the process of synchronizing.

> _______________________________________________
> Pulp-list mailing list
> Pulp-list redhat com
> https://www.redhat.com/mailman/listinfo/pulp-list

- -- 
Jason Dobies
RHCE# 805008743336126
Freenode: jdob
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]