Created attachment 1012640 [details]
Add user/pass support for repositories
Description of problem:
With YUM you can use HTTP basic authentication (username and password keywords) in repositories:
This is not supported by DNF.
Version-Release number of selected component (if applicable):
Enable HTTP basic authentication on web server and try to download metadata or package with dnf.
Steps to Reproduce:
HTTP error 401.
Attached single line patch fixes this problem.
Fixed in upstream by
dnf-plugins-core-0.1.7-1.fc22,hawkey-0.5.5-1.fc22,dnf-1.0.0-1.fc22 has been submitted as an update for Fedora 22.
Package dnf-plugins-core-0.1.7-1.fc22, hawkey-0.5.5-1.fc22, dnf-1.0.0-1.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-plugins-core-0.1.7-1.fc22 hawkey-0.5.5-1.fc22 dnf-1.0.0-1.fc22'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
dnf-plugins-core-0.1.7-1.fc22, hawkey-0.5.5-1.fc22, dnf-1.0.0-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.