Bug 1045679
Summary: | [rfe] [plugin] yumdownloader | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Rahul Sundaram <metherid> |
Component: | dnf-plugins-core | Assignee: | Tim Lauridsen <tim.lauridsen> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | akozumpl, frankly3d, jzeleny, m.a.young, metherid, packaging-team-maint, pnemade, rholy, tim.lauridsen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 0.0.8 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-02 07:45:49 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1074194 |
Description
Rahul Sundaram
2013-12-21 06:23:20 UTC
Hello, yes we'll take a look. Rahul wouldn't 'dnf install X --downloadonly' be a better option for the use case, or IOW, how does yumdownloader compare to functionality of --downloadonly? --downloadonly isn't documented if it already exists but if it does, it kinda sounds contradictory to say it will install something but it is download only. also does it support --destdir, --resolve and --source? I use all three quite often to fetch the srpm of some repo package along with deps, make some changes and run my own repo off the changes made to test it before pushing the change over. [09:17]<zpavlas> akozumpl: --downloadonly is essentially equivalent to yumdownloader --resolve. And (core) yum does now support the -destdir too. yum install *.rpms --downloaddir=directory --downloadonly Adding a support for --downloadonly and --destdir should be relatively easy, and --resolve is implicit. To cover the full yumdownloader feature set we'd have to add --noresolve, but I don't think it's necessary. You probably use yumdownloader without --resolve to download srpms, right? In that case --resolve should not make much difference anyway. Is implicit resolving of dependencies a problem? Yeah, I don't need --noresolve. If you add support for --downloadonly, --destdir and --source and document these options, my request can be considered resolved. Thanks for looking into this. Hi Rahul Does this solve your needs http://dnf-utils.readthedocs.org/en/latest/command-ref.html#dnl-command Use these command to test the tool: sudo dnf copr enable timlau/dnf-utils sudo dnf install dnf-utils The plan is move the tool into dnf-plugins-core when ready download command is added to dnf-plugins-core-0.0.8, available in fedora updates http://dnf-plugins-core.readthedocs.org/en/latest/download.html WFM |