Bug 213623

Summary: Proposal: add --downloaddir option for downloadonly plugin
Product: [Fedora] Fedora Reporter: Dmitry Butskoy <dmitry>
Component: yum-utilsAssignee: Seth Vidal <skvidal>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: extras-qa
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-14 10:07:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Proposed new full plugin sourrce. none

Description Dmitry Butskoy 2006-11-02 11:38:02 UTC
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.

Comment 1 Dmitry Butskoy 2006-11-02 11:39:40 UTC
Created attachment 140107 [details]
Proposed new full plugin sourrce.

Just full new source (the changes are trivial...)

Comment 2 Dmitry Butskoy 2006-12-15 14:21:11 UTC
ping?...

Comment 3 Tim Lauridsen 2007-02-14 10:07:16 UTC
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).

Comment 4 Dmitry Butskoy 2007-02-14 12:53:45 UTC
> 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/
...

Comment 5 Dmitry Butskoy 2007-02-16 12:57:29 UTC
OK, looks fine now.