Bug 148469

Summary: pkg selection without debuginfo (optional) please
Product: [openSUSE] SUSE Linux 10.1 Reporter: Harald Koenig <koenig>
Component: YaST2Assignee: Stefan Hundhammer <shundhammer>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Enhancement    
Priority: P5 - None CC: andreas.hanke, suse-beta
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Harald Koenig 2006-02-06 18:40:56 UTC
installation from x-b3-f @ gwdg.de (beta3 factory)

looking for xfce pkgs in yast packet manager shows all the debuginfo pkgs too.
I did not find a way to hide the debuginfo (I don't want to install them),
so the pkg list is pretty ugly and hard to use...
Comment 1 Michael Gross 2006-02-07 15:39:15 UTC
Well I don't think there is (yet) a possibility to do so but this could be something for an enhancement.
Comment 2 Stefan Hundhammer 2006-08-15 16:51:56 UTC
My first reaction to this was "suppressing packages based on a name suffix is an evil thing". And in the general case and for the average user, it really is.

But then, we also have the opposite case: A menu entry saying "install all -debuginfo packages" which does something similar, purely based on that suffix.

Maybe we could have a (check box) menu item "suppress -debuginfo packages. But it would not be very prominent, and its status would not be persistent betweeen program runs (meaning it gets unchecked whenever you leave the package selector). This would be a limitation I would not be willing to discuss (much less in later bug reports about people complaining about it).

And it would also make all internal structures pretty messy, because all of a sudden all package lists would additionally have to check for those suppressed names, too.

Let me think about this for a while. Maybe there is a reasonable way to implement this.
Comment 3 Stefan Hundhammer 2006-09-06 10:32:09 UTC
I think I have an idea that might just work.

Internal notepad:

Add 
    YQPkgObjList::globalExclude( QRegExp );
    YQPkgObjList::clearGlobalExcludes();

Add Checkbox-QAction excludeDebugInfoPackages();
Comment 4 Stefan Hundhammer 2006-11-02 15:29:35 UTC
later (post-10.2)
Comment 5 Stefan Hundhammer 2007-01-31 17:22:12 UTC
reopening
Comment 6 Stefan Hundhammer 2007-02-15 15:50:34 UTC
You can now uncheck "Show -debuginfo packages" and "Show -devel packages" in the (new) "View" menu in the Qt package selector.

We now also have a generic exclude mechanism to match any text column in the package list and derived lists, so we can now easily add suppport for suppressing anything that matches a regular expression in the package list, the patches list, the patterns list, and the selections list.
Comment 7 Stefan Hundhammer 2007-02-15 15:51:12 UTC
Will be available with yast2-qt-2.14.7.