Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137575 - make search report masked versions as well
Summary: make search report masked versions as well
Status: RESOLVED DUPLICATE of bug 11739
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-22 05:58 UTC by Michal Suchanek
Modified: 2006-06-22 08:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Suchanek 2006-06-22 05:58:42 UTC
hramrach@hp-tc2110:11(0) 06221453 40]~ $ ACCEPT_KEYWORDS=~x86 emerge -s gkrellm$
Searching...   
[ Results for search key : gkrellm$ ]
[ Applications found : 1 ]
 
*  app-admin/gkrellm
      Latest version available: 2.2.9
      Latest version installed: 2.2.5
      Size of files: 674 kB
      Homepage:      http://www.gkrellm.net/
      Description:   Single process stack of various system monitors
      License:       GPL-2


hramrach@hp-tc2110:11(0) 06221453 41]~ $ emerge -s gkrellm$
Searching...   
[ Results for search key : gkrellm$ ]
[ Applications found : 1 ]
 
*  app-admin/gkrellm
      Latest version available: 2.2.5
      Latest version installed: 2.2.5
      Size of files: 652 kB
      Homepage:      http://www.gkrellm.net/
      Description:   Single process stack of various system monitors
      License:       GPL-2

I would like the above also include 
Latest version (masked by keyword): 2.2.9
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2006-06-22 06:05:37 UTC
uhm, why? eix already provides that functionality, btw
Comment 2 Michal Suchanek 2006-06-22 06:16:39 UTC
And so does esearch.
Nice. And how do I tell?
Neither Gentoo handbook nor the portage man page tells me about that.
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2006-06-22 06:18:50 UTC
What's your point? The portage handbook is not the place to document non-existing functionality. I still don't see how this is particularly helpful, so maybe you want to give a reasoning for your feature request.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 06:22:05 UTC
No, it shouldn't report masked ebuilds, because it would be confusing and cause bugs to be filed about emerge not picking up the latest available version (while that version in *not* available to the user, given his ACCEPT_KEYWORDS setting). 

It already does search for masked ebuilds, just doesn't show them if there's an ebuild matching keywords set by user available:

# emerge -s gkrellm-trayicons
Searching...   
[ Results for search key : gkrellm-trayicons ]
[ Applications found : 1 ]
 
*  x11-plugins/gkrellm-trayicons [ Masked ]
      Latest version available: 1.02
      Latest version installed: [ Not Installed ]
      Size of files: 180 kB
      Homepage:      http://sweb.cz/tripie/gkrellm/trayicons/
      Description:   Configurable Tray Icons for GKrellM
      License:       GPL-2

For all other purposes there's esearch, eix etc. etc. that are a way better replacement for basic emerge -s functionality.

# esearch -v gkrellm$
*  app-admin/gkrellm
      Latest version available: 2.2.5
      Latest version installed: [ Not Installed ]
      Unstable version:         2.2.9
      Use Flags (stable):       +X -gnutls +nls +ssl 
      Size of downloaded files: 2,024 kB
      Homepage:    http://www.gkrellm.net/
      Description: Single process stack of various system monitors
      License:     GPL-2
Comment 5 Michal Suchanek 2006-06-22 07:55:10 UTC
Perhaps mentioning eix and esearch in gentoo system documentetion would be a good idea?
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2006-06-22 08:10:10 UTC
old dupe.
Proposal is a bit to specialized, if at all should be a configurable "alternate" version (e.g. to also ignore p.mask or EAPI masks).

*** This bug has been marked as a duplicate of 11739 ***

*** This bug has been marked as a duplicate of 11739 ***