[Pulp-list] repo sync and the pulp-admin client
Jason Dobies
jason.dobies at redhat.com
Fri Sep 17 15:13:58 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
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 at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
- --
Jason Dobies
RHCE# 805008743336126
Freenode: jdob
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJMk4W2AAoJEOMmcTqOSQHCfEQH/jAQ+u5cF3mme/15jdbjgQTA
5sgaBJpttptk2ADK8fx4AbBHAl+jcvTTsDFXf4zFIKK5P9elSZyuBUtLcp5+iJwu
YDHJxhnXBp72MIFJ7BifIZteEAcClEXFr3VC/IXfgeeTGQxK3Jq0VCIT8N8ntSoC
yY8Vr1/2eQYZR/95tObsif4gcnzJ5KhiLczl/JDJEPIRaT5sD41X+BUZTxMR1DrG
gDdvCFuXzkd7vUommYxDplEXcDXIuNVvKFzufnBhoIGX2lqWjcgkR/yYnejH/1pJ
KGOXZuUJlsFrA2vUPpSwzznwMQi9FlTMnH3vMrIvlVUzqRSWjuKWDMPqykcrh80=
=km/G
-----END PGP SIGNATURE-----
More information about the Pulp-list
mailing list