Joanmarie Diggs wrote:
On Mon, 2009-11-02 at 19:53 +0000, John Rice wrote:
[...]
3. The post-installation disabling of the publisher takes a while. Mind
you, it doesn't take any longer than it would if I were manually
disabling it within PM. But here's what I'm wondering: Presumably there
is a certain amount of, for lack of a better word, maintenance that
takes place when a user disables a publisher. Is that maintenance
necessary here? If it is, no big deal; if it's not, a quick re-disabling
of the publisher would make this even cooler.

Yep it does take a while, we are just calling the api, I assume the time is being spent in refreshing the catalogs for the image which need to be updated. Sorry about that, perhaps the IPS folks have some suggestions to speed this up.

Silly question: If I'm reading your patch correctly, you're doing two
essentially back-to-back publisher updates: one for the enable and one
for the disable. If so, is that second publisher update necessary?

--joanie

We have to enable it first as its been disabled, this updates the catalogs and so on, we then install the packages. Then we disable the publishers once the Install completes. If you have no packages to install for a publisher then I do not enable/disable it at all, even if its disabled.

JR
_______________________________________________
pkg-discuss mailing list
pkg-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to