Bug 1116389 - dnf copr enable - 404 for repo without builds
Summary: dnf copr enable - 404 for repo without builds
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Samalik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-04 12:25 UTC by Branislav Blaškovič
Modified: 2014-07-29 07:18 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-29 07:18:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Branislav Blaškovič 2014-07-04 12:25:27 UTC
Description of problem:
  If copr repo does not have builds - .repo file does not exists which is correctly described on web page:
    "Repository not initialized: No finished builds in blaskovic/bde."

  If you would like to enable this repo via dnf copr enable, it throws error:
    Error: [Errno 14] HTTPS Error 404 - Not Found

This could be confusing


Version-Release number of selected component (if applicable):
dnf-plugins-core-0.1.0-2.fc20.noarch
dnf-0.5.2-1.fc20.noarch

Steps to Reproduce:
1. dnf search something
    You get results, so the copr-project exists!
2. dnf enable something

Actual results:
Do you want to continue? [y/N]: y
Error: [Errno 14] HTTPS Error 404 - Not Found

Expected results:
Do you want to continue? [y/N]: y
This repository does not have builds yet so you cannot enable this repository.

Comment 1 Adam Samalik 2014-07-08 15:00:20 UTC
I just sent a patch with fix to packaging-team-maint

Comment 2 Miroslav Suchý 2014-07-14 10:53:27 UTC
Commited as dc116e4.


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