Bug 749983

Summary: List of repositories not complete with zif
Product: [Fedora] Fedora Reporter: nicofo <nicofo>
Component: zifAssignee: Richard Hughes <hughsient>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 15CC: elad, hughsient, kalevlember, rhughes
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: zif-0.2.6-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-31 09:53:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Zif backend settings (some repo are missing)
none
Yum backend settings (all repo are listed) none

Description nicofo 2011-10-29 12:44:27 UTC
Created attachment 530780 [details]
Zif backend settings (some repo are missing)

Description of problem:
In kackagekit (I guess it's the same elsewhere) the list of repositories is not as complete as the one given by yum backend: "updates-testing" repo are missing ("settings" view of kpackagekit). <see pictures>

Version-Release number of selected component (if applicable):
zif-0.2.5-0.133.20110927git.fc15.i686
PackageKit-zif-0.6.17-1.fc15.zifbackend.20110926git.1.i686

How reproducible:
Always

Additional info:
The missing repo appear if "show origins of debug and development packages" is checked.
It's not logical: they should appear all the time.

Comment 1 nicofo 2011-10-29 12:45:15 UTC
Created attachment 530781 [details]
Yum backend settings (all repo are listed)

<for comparison with yum backend>

Comment 2 Elad Alfassa 2011-10-30 11:25:24 UTC
In my opinion, this is not a bug. Testing repositories are for testing, and shouldn't be displayed to the user all the time. I think the yum backend is the one that is wrong here.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 3 Richard Hughes 2011-10-31 09:53:12 UTC
(In reply to comment #2)
> In my opinion, this is not a bug. Testing repositories are for testing, and
> shouldn't be displayed to the user all the time. I think the yum backend is the
> one that is wrong here.

The key question is whether -testing repos are "debug and development" sources. I don't think they are, as someone testing an update isn't necessarily the same person who's developing code.

Either way, I think it's sane we match the yum backend here. I've pushed this upstream:

commit 35dbb1f7a4a820128e308d99806b491b063a17f5
Author: Richard Hughes <richard>
Date:   Mon Oct 31 09:52:09 2011 +0000

    Do not consider a repo-id ending with '-testing' a development repo
    
    Resolves https://bugzilla.redhat.com/show_bug.cgi?id=749983

Richard.

Comment 4 Fedora Update System 2011-11-01 10:49:53 UTC
zif-0.2.6-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/zif-0.2.6-1.fc16

Comment 5 Fedora Update System 2011-11-12 03:31:04 UTC
zif-0.2.6-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 nicofo 2011-11-13 09:55:21 UTC
Thanks, problem solved with zif-0.2.6-1.fc15.i686 (in F15 from fedora-zif-backport repolitory)