Bug 213623 - Proposal: add --downloaddir option for downloadonly plugin
Summary: Proposal: add --downloaddir option for downloadonly plugin
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-02 11:38 UTC by Dmitry Butskoy
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-02-14 10:07:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Proposed new full plugin sourrce. (830 bytes, text/plain)
2006-11-02 11:39 UTC, Dmitry Butskoy
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.