Bug 1493032

Summary: koji download-build downloads debug related packages by default
Product: [Fedora] Fedora Reporter: Lukas Slebodnik <lslebodn>
Component: kojiAssignee: Mike McLean <mikem>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: dennis, mikem, randy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-29 09:56:08 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:
Bug Depends On:    
Bug Blocks: 1421595    

Description Lukas Slebodnik 2017-09-19 08:27:40 UTC
Description of problem:
"koji download-build" has an option to also download debuginfo packages.
It is not enabled by default and I assume it is to reduce network trafic.
However, fedora 27 will have separated debuginfo and debugsource packages
https://fedoraproject.org/wiki/Releases/27/ChangeSet#Separate_Subpackage_and_Source_Debuginfo


Version-Release number of selected component (if applicable):
sh$ rpm -q koji
koji-1.13.0-4.fc27.noarch

How reproducible:
Deterministic

Steps to Reproduce:
1. koji download-build --arch x86_64 systemd-234-6.fc27
2. ls *debugsource*

Actual results:
sh$ koji download-build --arch x86_64 systemd-234-6.fc27
systemd-container-234-6.fc27.x86_64.rpm
[====================================] 100% 422.05 KiB
systemd-debugsource-234-6.fc27.x86_64.rpm
[====================================] 100%   2.12 MiBB
systemd-udev-234-6.fc27.x86_64.rpm
[====================================] 100%   1.26 MiBB
systemd-libs-234-6.fc27.x86_64.rpm
[====================================] 100% 459.85 KiB
systemd-journal-remote-234-6.fc27.x86_64.rpm
[====================================] 100% 126.66 KiB
systemd-devel-234-6.fc27.x86_64.rpm
[====================================] 100% 309.96 KiB
systemd-pam-234-6.fc27.x86_64.rpm
[====================================] 100% 177.50 KiB
systemd-234-6.fc27.x86_64.rpm
[====================================] 100%   3.43 MiBB
systemd-tests-234-6.fc27.x86_64.rpm
[====================================] 100%   3.84 MiBB

sh$ ls *debugsource*
systemd-debugsource-234-6.fc27.x86_64.rpm

Expected results:
debugsource packages are downloaded only with option koji download-build --debuginfo. or there can be a new option.

Comment 1 Ben Cotton 2018-11-27 18:26:27 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Mike McLean 2018-11-29 09:56:08 UTC
I believe this was resolved by
  https://pagure.io/koji/pull-request/524
which has been included in Koji since 1.14

If this is still happening, please file an issue in pagure
https://pagure.io/koji