On Tue, Feb 04, 2014 at 02:03:18PM +0100, Michael Mraka wrote:
> NEVRA+channel name is still more complicated than simple id.

But your script does not know about the ID. It will know after fetching
available packages. Then you should be adding some logic to your script in
order to find out what exactly ID you need to use.

And only then you use this ID. But that is like remembering ICQ account
numbers or IP addresses, instead of having Jabber's e-mail or DNS. When you
are are an admin, you *already* know nevra and channel.

> Moreover it's volatile (someone can remove package from the channel) while
> id is immutable.

If somebody removed the package from the channel and still is trying to
install it, then it is a process issue, and probably in THIS case it is
actually is a bad idea to install the package, since somebody removed it on
purpose.

Actually, thanks for the nice tip: in order to keep the package in the DB but
prevent it automatically installed by peripheral scripts on particular
channel, simply remove the package from the channel! :)

-- 
Bo Maryniuk

SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg)
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer

Assassins Inc. We aim to please.

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to