Bug 2108401 - copr cannot build from dist-git if sources file is missing
Summary: copr cannot build from dist-git if sources file is missing
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Copr
Classification: Community
Component: backend
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Raiskup
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-19 02:16 UTC by Michel Alexandre Salim
Modified: 2022-08-16 13:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-16 13:06:46 UTC


Attachments (Terms of Use)

Description Michel Alexandre Salim 2022-07-19 02:16:09 UTC
Description of problem:
COPR cannot build a package from dist-git if the repository doesn't contain a sources file.

e.g. https://copr.fedorainfracloud.org/coprs/salimma/folly-testing/build/4642044/

Koji handles such repositories fine: https://koji.fedoraproject.org/koji/buildinfo?buildID=2004021

Version-Release number of selected component (if applicable):
Unsure

How reproducible:
Always

Steps to Reproduce:
1. Rebuild folly-rpm-macros (either https://src.fedoraproject.org/fork/salimma/rpms/folly-rpm-macros/tree/563fc852f58405f1bb2638a7988914f4616d1373 or https://src.fedoraproject.org/rpms/folly-rpm-macros/c/5b104bd19b63766ebeee01caf7c03c553e56e729?branch=rawhide)

Actual results:
Build fails:

ERROR: sources file not found

Expected results:
Build succeeds just like on Koji

Additional info:

Comment 1 Pavel Raiskup 2022-07-19 06:59:09 UTC
Thank you for the report!
https://bugzilla.redhat.com/show_bug.cgi?id=2108401

Comment 2 Pavel Raiskup 2022-07-19 06:59:51 UTC
I meant this: https://pagure.io/copr/copr/pull-request/2252

Comment 3 Pavel Raiskup 2022-08-16 13:06:46 UTC
This is already for some time in production.
Thank you again for the report!


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