Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11739 - Emerge -s suggestions
Summary: Emerge -s suggestions
Status: RESOLVED LATER
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 12534 22386 137575 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-12-07 14:54 UTC by Francisco León
Modified: 2011-10-30 22:19 UTC (History)
9 users (show)

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


Attachments
emerge.patch (emerge.patch,4.01 KB, patch)
2004-08-06 01:35 UTC, Carlos Silva (RETIRED)
Details | Diff
emerge.patch (emerge.patch,7.84 KB, patch)
2004-08-08 18:04 UTC, Carlos Silva (RETIRED)
Details | Diff
emerge.patch (emerge.patch,7.77 KB, patch)
2004-08-09 13:41 UTC, Carlos Silva (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco León 2002-12-07 14:54:03 UTC
Currently emerge -s only shows up the stable ebuild. It would be great if it
showed both stable and unstable.

Something like this:
x11-libs/qt
      Latest stable version available: 3.1.0-r1 (*)
      Latest unstable version available: 3.1.1_pre20021207
      Latest version installed: 3.1.0_pre20021104
      Size of downloaded files: 13,062 kB
      Homepage:    http://www.trolltech.com/
      Description: QT version 3.1.0

The (*) would be useful to state which one of the 2 would be installed if you
did emerge qt, so if you tweak package.mask, the (*) would be on the unstable
line and so on.
Comment 1 SpanKY gentoo-dev 2003-01-08 15:27:11 UTC
*** Bug 12534 has been marked as a duplicate of this bug. ***
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2003-09-21 10:47:36 UTC
*** Bug 22386 has been marked as a duplicate of this bug. ***
Comment 3 Carlos Silva (RETIRED) gentoo-dev 2004-08-06 01:35:02 UTC
Created attachment 36869 [details, diff]
emerge.patch

This patch does what you want i add the keywords of each package to the output
too. use it and test it.... heres an example:

r3pek@r3pek-pc ~ $ ./emerge nvidia-kernel -s
Searching...
[ Results for search key : nvidia-kernel ]
[ Applications found : 1 ]

*  media-video/nvidia-kernel
      Latest stable version available: 1.0.4496-r3 *
      Stable Accepted Keywords:        -* x86
      Latest unstable version available: 1.0.6106-r1
      Unstable Accepted Keywords:	 -* ~x86 amd64
      Latest version installed: 1.0.6106-r1
      Size of downloaded files: 5,005 kB
      Homepage:    http://www.nvidia.com/
      Description: Linux kernel module for the NVIDIA's X driver
      License:	   NVIDIA
Comment 4 Carlos Silva (RETIRED) gentoo-dev 2004-08-08 18:04:52 UTC
Created attachment 37070 [details, diff]
emerge.patch

this patch as some new features like diferent output when we do a search with
-v or not. like this:
r3pek@r3pek-pc ~ $ ./emerge -sv amule
Searching...
[ Results for search key : amule ]
[ Applications found : 1 ]

*  net-p2p/amule
      Latest stable version available: 1.2.6 *
      Stable Accepted Keywords:        x86 ~amd64
      Stable USE flags:  +nls
      Latest unstable version available: 2.0.0_rc5
      Unstable Accepted Keywords:	 ~x86 ~amd64
      Unstable USE flags:  -debug +gd -gtk2 +nls -remote -stats -unicode
      Latest version installed: 2.0.0_rc5
      Size of downloaded files: 1,365 kB
      Homepage:    http://sourceforge.net/projects/amule
      Description: aNOTHER wxWindows based eMule P2P Client
      License:	   GPL-2


r3pek@r3pek-pc ~ $ ./emerge -s amule
Searching...
[ Results for search key : amule ]
[ Applications found : 1 ]

*  net-p2p/amule
      Latest stable version available: 1.2.6 *
      Stable Accepted Keywords:        x86 ~amd64
      Latest unstable version available: 2.0.0_rc5
      Unstable Accepted Keywords:	 ~x86 ~amd64
      Latest version installed: 2.0.0_rc5
      Size of downloaded files: 1,365 kB
      Homepage:    http://sourceforge.net/projects/amule
      Description: aNOTHER wxWindows based eMule P2P Client
      License:	   GPL-2
Comment 5 Carlos Silva (RETIRED) gentoo-dev 2004-08-09 13:41:56 UTC
Created attachment 37119 [details, diff]
emerge.patch

the only diference is that if we do emerge -s <package> we get the same old
output. if we execute emerge -sv <package> we get the new outpu with all
tweaks.
Comment 6 ZsoL 2004-08-10 01:07:41 UTC
It would be great if there was a patch for esearch as well.
Comment 7 David Peter 2004-09-26 03:34:25 UTC
Hi,

esearch-0.7 will be out soon, and I added a --verbose/-v option, which shows some additional stuff, as in this emerge patch. I borrowed parts of the code, because it is very nice. I hope that's ok, will be mentioned in the ChangeLog of course ;-)

David
Comment 8 Carlos Silva (RETIRED) gentoo-dev 2004-09-26 03:40:17 UTC
no problems to me :)
Comment 9 Stian Skjelstad 2005-06-27 05:50:36 UTC
Will this -v flag for -s in emerge be merged into portage or not?
Comment 10 Jason Stubbs (RETIRED) gentoo-dev 2005-07-28 07:25:20 UTC
Putting a hold on feature requests for portage as they are drowning out the 
bugs. Most of these features should be available in the next major version of 
portage. But for the time being, they are just drowning out the major bugs and 
delaying the next version's progress. 
 
Any bugs that contain patches and any bugs for etc-update or dispatch-conf can 
be reopened. Sorry, I'm just not good enough with bugzilla. ;) 
Comment 11 Marius Mauch (RETIRED) gentoo-dev 2006-06-22 08:10:10 UTC
*** Bug 137575 has been marked as a duplicate of this bug. ***