Bug 749983 - List of repositories not complete with zif
Summary: List of repositories not complete with zif
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: zif
Version: 15
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-29 12:44 UTC by nicofo
Modified: 2011-11-13 09:55 UTC (History)
4 users (show)

Fixed In Version: zif-0.2.6-1.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-31 09:53:12 UTC
Type: ---


Attachments (Terms of Use)
Zif backend settings (some repo are missing) (122.52 KB, image/png)
2011-10-29 12:44 UTC, nicofo
no flags Details
Yum backend settings (all repo are listed) (131.37 KB, image/png)
2011-10-29 12:45 UTC, nicofo
no flags Details

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)


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