[Spacewalk-list] Scheduling Updates via API call

Peter Purvis peter.purvis999 at gmail.com
Wed Oct 10 15:42:02 UTC 2012


Would certainly be interesting to see that script, getting this working
would be very useful.

I would love to see the API call being fixed in the next version or even
the inclusion of a scheduleInstallUpdates call.




On 9 October 2012 10:34, Franky Van Liedekerke <liedekef at telenet.be> wrote:

> Hi,
>
> I created a script (based on something I found on the net) just like this,
> but encountered issues since the API call
> system.**listLatestUpgradeablePackages gives also older versions than the
> latest one (it gives all newer versions for every installed packet, instead
> of just the latest).
> In trunk, this is partially fixed but the fixed API call still gives back
> packages belonging to other channels ...
>
> So I created a perl script that uses the fixed SQL statement directly and
> made some checks so it's just the latest package that is really returned.
> the SQL statement should not be needed anymore after 1.8 is released
> If someone is interested, I can post it on a site (after a minor code
> cleanup) ... we use it to push updates via the API to multiple servers at
> once (easier than using the webitf, but a bit slower due to the extra
> checks needed)
>
> Franky
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20121010/3ad2e39f/attachment.htm>


More information about the Spacewalk-list mailing list