Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1360251 - [rfe] when building take into account all overrides which were done in bodhi/koji
Summary: [rfe] when building take into account all overrides which were done in bodhi/...
Keywords:
Status: NEW
Alias: None
Product: Copr
Classification: Community
Component: backend
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-26 10:48 UTC by Igor Gnatenko
Modified: 2019-03-31 22:36 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Igor Gnatenko 2016-07-26 10:48:12 UTC
no idea how exactly to do this, but would be nice to have.

Comment 1 Igor Gnatenko 2016-07-26 10:56:13 UTC
#1 use-case:
* https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/5DAXFPMJEIISHLKNCYTGYMDLBW2F5GKK/
our CI uses all packages from Fedora and it uses COPR to build new packages. But current release is completely broken (see above), so I added override, but COPR doesn't use it -> CI is broken

#2 use-case:
it's obvious. if you do override in bodhi and build package in koji, you will get one package, if you do this from COPR you will get different package

Comment 2 Miroslav Suchý 2016-07-27 14:11:16 UTC
It can be probably handle by repo priorities.

Comment 3 Igor Gnatenko 2016-07-27 14:19:49 UTC
(In reply to Miroslav Suchý from comment #2)
> It can be probably handle by repo priorities.

it's not about priorities as we don't have it in repos (yet).

Comment 4 clime 2018-04-09 08:03:46 UTC
(In reply to Igor Gnatenko from comment #1)
> #1 use-case:
> *
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/
> message/5DAXFPMJEIISHLKNCYTGYMDLBW2F5GKK/
> our CI uses all packages from Fedora and it uses COPR to build new packages.
> But current release is completely broken (see above), so I added override,
> but COPR doesn't use it -> CI is broken
> 
> #2 use-case:
> it's obvious. if you do override in bodhi and build package in koji, you
> will get one package, if you do this from COPR you will get different package

Koji+Bodhi and COPR are (at the moment) completely separate systems. You can't expect any setting from Bodhi to propagate to COPR unless we would integrate it with Bodhi somehow first. Not saying it won't happen but it would be better now to try to solve the problem by what COPR provides on its own. Also note that COPR uses public mirrors to get packages, which is another factor here.

You should be able to do those overrides described in #1 use-case by setting up a repo with the override package and then using that repo as and additional repository for your copr and setting lower priority for it (see https://pagure.io/copr/copr/issue/97).

You may also just try to put URL to the override package (somewhere publicly avaiable) into Additional Packages for the given chroots where you want to build. I suppose, mock will use that buildroot package afterwards during the builddeps resolution phase.


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