Bug 496091

Summary: gpk-repo can't see some repos
Product: [Fedora] Fedora Reporter: Michal Nowak <mnowak>
Component: gnome-packagekitAssignee: Richard Hughes <richard>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ohudlick, psklenar, rhughes, richard, robin.norwood
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-03 09:38:56 UTC Type: ---
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: 495634    

Description Michal Nowak 2009-04-16 15:16:34 UTC
Description of problem:

Having such repo in yum.conf nor repos.d/presto won't be seen in gpk-repo

[PrestoTestDay]
name=PrestoTestDay F11 Snapshot1 with drpms
baseurl=http://skvidal.fedorapeople.org/presto-test/x86_64/Packages/
enabled=1
gpgcheck=0

but the repo obviously works when I ran yum from terminal.

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

PackageKit-0.4.6-3.fc11.x86_64
gnome-packagekit-2.27.2-0.2.20090414git.fc11.x86_64

How reproducible:

always

I don't see any error msg or something like that.

Comment 1 Michal Nowak 2009-04-16 15:20:07 UTC
(Added blocks bug PrestoTestDay as requested from yum-presto QA.)

Comment 2 Richard Hughes 2009-04-16 16:10:19 UTC
It appears pk-backend-yum filters out lines starting with "Presto" from the stdout, possibly because presto has been so vocal (just printing to stdout, rather than using the logging framework) in the past.

If you want a quick fix, rename the repo name to [presto-test-day] and change the name to "presto Test Day F11 Snapshot1 with drpms" as it's case sensitive.

I'll obviously remove the Presto filter line from PackageKit, and can build you a package if you desire.

Comment 3 Richard Hughes 2009-04-16 16:11:25 UTC
commit 1186bd2309879ff83cb57a1cbbf4f65949826d1e
Author: Richard Hughes <richard>
Date:   Thu Apr 16 17:10:17 2009 +0100

    bugfix: don't filter out 'Presto' unconditionally from the stdout to fix rh#496091

Comment 4 Michal Nowak 2009-04-16 16:22:51 UTC
Thanks for the fix! I guess I was the only one complaining in the test day, so, the hotfix won't be necessary IMO.