The yum-downloadonly plugin is very useful, especially in production environment, when automatic updates is not a good idea. But using "--downloadonly" option, the packages are stored in some "special", "too deep", per-repo subdirectories (i.e. /var/cache/yum/core/packages/ for Core, /var/cache/yum/extras/packages/ for Extras etc.) It is not very convenient indeed. I propose to add "--downloaddir=DIR" option to this plugin, which allows to store packages in the specified place instead, i.e.: "yum -y --downloadonly --downloaddir=/var/spool/update update" We already use such a modified plugin for a long time (invoke yum from cron each night). P.S. Please, add it for FC5 too.
Created attachment 140107 [details] Proposed new full plugin sourrce. Just full new source (the changes are trivial...)
ping?...
Thanks for your contribution. I have added your changes to the upstream CVS. I will be available in the next yum-utils releases for FC6 & FC7/Rawhide. It will not be available for FC5, because there is now special upstream branch for yum 2.6(FC5).
> I have added your changes to the upstream CVS. Where I can look at it? I've not found it at http://devel.linux.duke.edu/cgi-bin/viewcvs.cgi/yum-utils/plugins/downloadonly/ ...
OK, looks fine now.