[Spacewalk-list] Spacewalk 2.4 compare packages main channel with clone channel
Michael Mraka
michael.mraka at redhat.com
Thu Jun 8 06:23:12 UTC 2017
Walter Soestbergen:
> Is it possible to check daily the differences between a main repository
> channel and a clone channel? I can do this with the GUI but I would like to
> get it daily in mail.
>
> The reason I want this is that sometimes the daily errata sync between
> channels not work.
Hello,
You can use Spacewalk API to list packages from channels and then run
diff on those lists.
>From shell you can use spacecmd to do this. Or any XMLRPC library from
your favourite programming language.
http://spacewalk.redhat.com/documentation/api/2.3/handlers/ChannelSoftwareHandler.html#listAllPackages
http://spacewalk.redhat.com/documentation/api/2.3/scripts.html
> regards Walter
Regards,
--
Michael Mráka
System Management Engineering, Red Hat
More information about the Spacewalk-list
mailing list