|
Bugzilla – Full Text Bug Listing |
| Summary: | pkg selection without debuginfo (optional) please | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Harald Koenig <koenig> |
| Component: | YaST2 | Assignee: | 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
Well I don't think there is (yet) a possibility to do so but this could be something for an enhancement. 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. I think I have an idea that might just work.
Internal notepad:
Add
YQPkgObjList::globalExclude( QRegExp );
YQPkgObjList::clearGlobalExcludes();
Add Checkbox-QAction excludeDebugInfoPackages();
later (post-10.2) reopening 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. Will be available with yast2-qt-2.14.7. |