> I am not sure how common the practice of adding new directories in > /etc/yum is but otherwise this looks good.
We keep lists of protected packages in /etc/yum/protected.d/*.conf already. This is a very similar case, I'd say. There are not going to be many users of this (BZ says it's a temporary solution) so I'm not sure Yum should create the empty directory on install.. should it? Also questionable is this part: + # use explicit install limits of this package + limit = filter(None, map(self.conf.installonlypkgs_limit.get, po_names)) + limit = limit and max(limit) or self.conf.installonly_limit Package Foo may provide Bar:5 and Baz:10, then it's not clear what the installonly limit of foo should be. I use the largest one. _______________________________________________ Yum-devel mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum-devel
