Bug 1120583

Summary: [api] full-featured proxy configuration
Product: [Fedora] Fedora Reporter: Vratislav Podzimek <vpodzime>
Component: dnfAssignee: Ales Kozumplik <akozumpl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: akozumpl, jzeleny, mkolman, pnemade, rholy, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dnf-0.5.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-29 07:19:29 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:

Description Vratislav Podzimek 2014-07-17 08:38:14 UTC
Description of problem:
Quoting akozumpl's words:
"""DNF has basic proxy support but 1) it is not exposed in the API and 2) 
we haven't implemented any proxy authentication support yet."""

The dnf-based package payload code in the Anaconda installer requires full proxy support from DNF in order to replace the yum-based payload that is about to (hopefully) go away soon.

Version-Release number of selected component (if applicable):
dnf-0.5.4-1.fc21

Additional info:
to provide a notion of what Anaconda requires, here the documentation for the Anaconda's 'proxy' option:
> proxy=[protocol://][username[:password]@]host[:port]
>   Use the given proxy settings when performing an HTTP/HTTPS/FTP installation.

Comment 1 Ales Kozumplik 2014-07-17 08:47:18 UTC
Thanks Vratislav, we'll provide this.

Comment 2 Ales Kozumplik 2014-07-22 14:41:16 UTC
Fixed by de90eff, this will be a part of the 0.5.5 release. You can check out the preview of the documentation at [1].

[1] http://dnf.readthedocs.org/en/latest/api_repos.html#dnf.repo.Repo.proxy