Re: [gentoo-user] search emerge
On Fri, 4 Mar 2005 06:21:29 +0100, Volker Armin Hemmann wrote: and with esync all you have to do is: esync and you will rsync+update the easearch db + shows all newupdated ebuilds... alias esync='emerge sync /dev/null eix --update --quiet emerge world -upvD' :-) -- Neil Bothwick Quick!! Act as if nothing has happened! pgpR55M19Jcqs.pgp Description: PGP signature
Re: [gentoo-user] search emerge
On Fri, 4 Mar 2005 09:18:49 +, Neil Bothwick [EMAIL PROTECTED] wrote: alias esync='emerge sync /dev/null eix --update --quiet emerge world -upvD' I would have added --newuse, too... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
On Fri, 4 Mar 2005 11:00:55 +0100, Julien Cayzac wrote: alias esync='emerge sync /dev/null eix --update --quiet emerge world -upvD' I would have added --newuse, too... I don't see the point. you only need to use --newuse if you have changed your USE settings, and you would run it manually then. If the flags used by a package change, it is because it has been updated, so it would show up here anyway. But feel free to add it yourself ;-) -- Neil Bothwick Plagarism prohibited. Derive carefully. pgpICdg8GLCku.pgp Description: PGP signature
Re: [gentoo-user] search emerge
On Fri, 4 Mar 2005 10:50:31 +, Neil Bothwick [EMAIL PROTECTED] wrote: I don't see the point. you only need to use --newuse if you have changed your USE settings, and you would run it manually then. If the flags used by a package change, it is because it has been updated, so it would show up here anyway. Yes, it's not *needed* if you didn't change your USE flags, but it doesn't hurt, and once you get used to your esync command you will hardly remember that you have to run emerge -upD --newuse world by hand instead :-) Julien. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
Neil Bothwick ha scritto: On Fri, 4 Mar 2005 11:00:55 +0100, Julien Cayzac wrote: alias esync='emerge sync /dev/null eix --update --quiet emerge world -upvD' I would have added --newuse, too... I don't see the point. you only need to use --newuse if you have changed your USE settings, and you would run it manually then. If the flags used by a package change, it is because it has been updated, so it would show up here anyway. But feel free to add it yourself ;-) you need --newuse also if : - the package mantainer has changed USE flags of the package - you switch profile and the new profile has different use defaults -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
On Fri, 04 Mar 2005 12:01:05 +0100, Bastian Balthazar Bux wrote: I don't see the point. you only need to use --newuse if you have changed your USE settings, and you would run it manually then. If the flags used by a package change, it is because it has been updated, so it would show up here anyway. you need --newuse also if : - the package mantainer has changed USE flags of the package No you don't. If the package maintainer has released a new ebuild, --update will catch it, as noted above. -- Neil Bothwick SITCOM: Single Income, Two Children, Oppressive Mortgage pgpayOw6oFB5Z.pgp Description: PGP signature
Re: [gentoo-user] search emerge
Neil Bothwick ha scritto: On Fri, 04 Mar 2005 12:01:05 +0100, Bastian Balthazar Bux wrote: I don't see the point. you only need to use --newuse if you have changed your USE settings, and you would run it manually then. If the flags used by a package change, it is because it has been updated, so it would show up here anyway. you need --newuse also if : - the package mantainer has changed USE flags of the package No you don't. If the package maintainer has released a new ebuild, --update will catch it, as noted above. IUSE are not defined only in ebuils but also in eclass, and a new use flag not implyes a version bump. And the other half of a point, the profile change apply to quite every relase. [quote] # Try to not bump ebuilds continuously unless there really is a benefit or a security fix which is important. Unnecessary examples of bumping include: * You change minor spelling errors in script file comments, script file indentation or something similar. * You patch a non-kernel ebuild to support a new kernel version (or a new version of a library), allowing more users to install your ebuild, but not changing anything for existing users of the current revision. As a general rule, fixes with non-trivial changes to any of the installed files of any ebuild warrant a revision bump. Put differently: If your fix changes the behaviour for existing users, you bump so that they know they can upgrade. [/quote] -- No problem is so formidable that you can't walk away from it. ~ Charles M. Schulz But sometimes run fast is better ~ Francesco R. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
On Fri, 04 Mar 2005 15:01:52 +0100, Bastian Balthazar Bux wrote: IUSE are not defined only in ebuils but also in eclass, and a new use flag not implyes a version bump. And the other half of a point, the profile change apply to quite every relase. But you wouldn't change a profile without knowing it. It is a manual action that can be followed with emerge --newuse. It is not something that needs to be addressed from a daily cron job. [quote] # Try to not bump ebuilds continuously unless there really is a benefit or a security fix which is important. Unnecessary examples of bumping include: * You change minor spelling errors in script file comments, script file indentation or something similar. * You patch a non-kernel ebuild to support a new kernel version (or a new version of a library), allowing more users to install your ebuild, but not changing anything for existing users of the current revision. As a general rule, fixes with non-trivial changes to any of the installed files of any ebuild warrant a revision bump. Put differently: If your fix changes the behaviour for existing users, you bump so that they know they can upgrade. [/quote] Changing USE flags generally changes the behaviour, so I would expect it to result in a version bump. If it doesn't change the behaviour for existing users, there is no need to recompile, which is what this recommendation is all about. But this whole discussion is moot, as esync doesn't use --newuse and the alias I suggested was an eix replacement for esync. -- Neil Bothwick Bother, said Pooh, as the vice squad took his GIFS pgpg11KuAGQUU.pgp Description: PGP signature
Re: [gentoo-user] search emerge
Neil Bothwick, who happens to be smarter than you, thinks: On Thu, 24 Feb 2005 12:22:03 -0600, Boyd Stephen Smith Jr. wrote: Also, eix is newer and ~x86 only, IIRC. It's not only ~x86, it's ~x86, ~amd64, ~alpha, ~ia64, ~ppc and ~sparc. However, as good as eix is, it won't help in this case because it cannot search categories. esearch will. emerge esearch eupdatedb (this is the part that is slower than eix) esearch -F net-analyzer Using Ebuild IndeX Version 0.2.1 % eix -A net-analyzer do the same ;-) ot And also faster x-D [EMAIL PROTECTED] ~ $ time esearch -F net-analyzer /dev/null real0m0.350s user0m0.100s sys 0m0.014s [EMAIL PROTECTED] ~ $ time eix -A net-analyzer /dev/null real0m0.059s user0m0.038s sys 0m0.002s (Come on, who cares about milisecs? :P) /ot -- Will it improve my CASH FLOW? pgpXRtogLEZ9s.pgp Description: PGP signature
Re: [gentoo-user] search emerge
On Friday 04 March 2005 05:05, Octavio Ruiz (Ta^3) wrote: emerge esearch eupdatedb (this is the part that is slower than eix) esearch -F net-analyzer Using Ebuild IndeX Version 0.2.1 % eix -A net-analyzer do the same ;-) and with esync all you have to do is: esync and you will rsync+update the easearch db + shows all newupdated ebuilds... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
emerge esearch esearch is very fast and you use the same options than emerge to search, you have just to forget emerge sync and using esync or doing eupdatedb periodically -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
emerge eix http://forums.gentoo.org/viewtopic.php?t=67849 from this thread, is much faster than esearch IMHO. Scott Jones On Sun, 27 Feb 2005 18:54:20 +, Ricardo Serrano Salazar [EMAIL PROTECTED] wrote: emerge esearch esearch is very fast and you use the same options than emerge to search, you have just to forget emerge sync and using esync or doing eupdatedb periodically -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
Ricardo Serrano Salazar wrote: emerge esearch esearch is very fast and you use the same options than emerge to search, you have just to forget emerge sync and using esync or doing eupdatedb periodically -- I'd also recommend eix (app-portage/eix) Cheers, -- Andres Pereira. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] search emerge
On Fri, 25 Feb 2005 11:07:19 +0800, Ow Mun Heng wrote: eix is MASKED It is only keyword masked, as testing. That's no reason not to give it a try. -- Neil Bothwick Despite the cost of living it remains popular. pgpCnpOzOAT0u.pgp Description: PGP signature
RE: [gentoo-user] search emerge
In a terminal, just type ls /usr/portage/net-analyzer/ | less This will list all entries of the net-analyzer directory, page by page. Michael Turcotte Information Systems City of North Bay 200 McIntyre St. E PO Box 360 North Bay, Ontario P1B 8H8 [EMAIL PROTECTED] http://www.cityofnorthbay.ca -Original Message- From: Daniel D Jones [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 12:52 PM To: [EMAIL PROTECTED] Subject: [gentoo-user] search emerge Long time Linux user but new to gentoo and trying to get a good handle on emerge. I recently used emerge to install traceroute. During the install, it noted that it was installing net-analyzer/traceroute. I wanted to see what other packages were available under net-analyzer but doing an emerge --search on net-analyzer came up with nothing. So I tried emerge --searchdesc. That brought me to my first question: [EMAIL PROTECTED]:~ # time emerge --searchdesc analyzer Searching... -/usr/lib/portage/bin/ebuild.sh: line 21: ... real22m48.548s user18m54.880s sys 3m29.307s Hello? Almost 23 minutes to search for a simple word? This is an Athlon 2400+ with a gig of memory. I have a 20 gig hard drive and less than 6 gig is currently being used. It's not exactly state of the art but it's hardly what I'd call slow. In 23 minutes, it should be able to search the entire contents of the Library of Congress. (OK, slight exaggeration but still...) Is this normal or is there something wrong with my install? Second, is this the only way to see all of the packages in a specific folder? (And is folder the correct term to use here?) Is there a tool or utility which will show all packages, perhaps in a tree format? If this is documented somewhere, a pointer to the documentation would be complete. Neither man, Google nor the online Gentoo documentation have been helpful to this point. Which isn't to say the information isn't there, of course, but I haven't been able to find it. Thanks in advance for any assistance. -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
A great resource for browsing the portage tree online is: gentoo-portage.com Fast searching on descriptions. - Brad Daniel D Jones wrote: Long time Linux user but new to gentoo and trying to get a good handle on emerge. I recently used emerge to install traceroute. During the install, it noted that it was installing net-analyzer/traceroute. I wanted to see what other packages were available under net-analyzer but doing an emerge --search on net-analyzer came up with nothing. So I tried emerge --searchdesc. That brought me to my first question: [EMAIL PROTECTED]:~ # time emerge --searchdesc analyzer Searching... -/usr/lib/portage/bin/ebuild.sh: line 21: ... real22m48.548s user18m54.880s sys 3m29.307s Hello? Almost 23 minutes to search for a simple word? This is an Athlon 2400+ with a gig of memory. I have a 20 gig hard drive and less than 6 gig is currently being used. It's not exactly state of the art but it's hardly what I'd call slow. In 23 minutes, it should be able to search the entire contents of the Library of Congress. (OK, slight exaggeration but still...) Is this normal or is there something wrong with my install? Second, is this the only way to see all of the packages in a specific folder? (And is folder the correct term to use here?) Is there a tool or utility which will show all packages, perhaps in a tree format? If this is documented somewhere, a pointer to the documentation would be complete. Neither man, Google nor the online Gentoo documentation have been helpful to this point. Which isn't to say the information isn't there, of course, but I haven't been able to find it. Thanks in advance for any assistance. -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] search emerge
[EMAIL PROTECTED]:~ # time emerge --searchdesc analyzer Searching... -/usr/lib/portage/bin/ebuild.sh: line 21: ... real22m48.548s user18m54.880s sys 3m29.307s do an emerge --meta which might help a little. Second, is this the only way to see all of the packages in a specific folder? (And is folder the correct term to use here?) Is there a tool or utility which will show all packages, perhaps in a tree format? $ ls /usr/portage/net-analyzer -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
quote who=Daniel D Jones Long time Linux user but new to gentoo and trying to get a good handle on emerge. I recently used emerge to install traceroute. During the install, it noted that it was installing net-analyzer/traceroute. I wanted to see what other packages were available under net-analyzer but doing an emerge --search on net-analyzer came up with nothing. So I tried emerge --searchdesc. That brought me to my first question: [EMAIL PROTECTED]:~ # time emerge --searchdesc analyzer Searching... -/usr/lib/portage/bin/ebuild.sh: line 21: ... real22m48.548s user18m54.880s sys 3m29.307s Hello? Almost 23 minutes to search for a simple word? This is an Athlon 2400+ with a gig of memory. I have a 20 gig hard drive and less than 6 gig is currently being used. It's not exactly state of the art but it's hardly what I'd call slow. In 23 minutes, it should be able to search the entire contents of the Library of Congress. (OK, slight exaggeration but still...) Is this normal or is there something wrong with my install? Second, is this the only way to see all of the packages in a specific folder? (And is folder the correct term to use here?) Is there a tool or utility which will show all packages, perhaps in a tree format? If this is documented somewhere, a pointer to the documentation would be complete. Neither man, Google nor the online Gentoo documentation have been helpful to this point. Which isn't to say the information isn't there, of course, but I haven't been able to find it. Thanks in advance for any assistance. -- gentoo-user@gentoo.org mailing list you could go to www.gentoo-portage.com and look, dont know about the other stuff... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
Mike Turcotte wrote: In a terminal, just type ls /usr/portage/net-analyzer/ | less Also, `emerge esearch eix` (Choose one, eix is faster) might also help :) -- [Name ] :: [Matan I. Peled] [Location ] :: [Israel] [Public Key] :: [0xD6F42CA5] [Keyserver ] :: [keyserver.kjsl.com] encrypted/signed plain text preferred signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] search emerge
Daniel D Jones ([EMAIL PROTECTED]) scribbled: Long time Linux user but new to gentoo and trying to get a good handle on emerge. Long time listener, first time caller? Hello caller :) I recently used emerge to install traceroute. During the install, it noted that it was installing net-analyzer/traceroute. I wanted to see what other packages were available under net-analyzer but doing an emerge --search on net-analyzer came up with nothing. So I tried emerge --searchdesc. That brought me to my first question: [EMAIL PROTECTED]:~ # time emerge --searchdesc analyzer Searching... -/usr/lib/portage/bin/ebuild.sh: line 21: ... real22m48.548s user18m54.880s sys 3m29.307s [snip] # emerge eix in your cron job to update your db you probably have 'emerge sync', make it 'emerge sync eix -u' to search, 'eix search term'. It also accepts regex. As for speed: [EMAIL PROTECTED] # time eix -S analyzer Search results: 27 [snip results] real0m0.381s user0m0.068s sys 0m0.008s Fast enough for you? ;) hth, Cooper. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
On Thursday 24 February 2005 12:09 pm, Matan Peled [EMAIL PROTECTED] wrote: Mike Turcotte wrote: In a terminal, just type ls /usr/portage/net-analyzer/ | less Also, `emerge esearch eix` (Choose one, eix is faster) might also help :) Also, eix is newer and ~x86 only, IIRC. /Did without eix for months //Now, I don't understand why -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
Boyd Stephen Smith Jr. ha scritto: On Thursday 24 February 2005 12:09 pm, Matan Peled [EMAIL PROTECTED] wrote: Mike Turcotte wrote: In a terminal, just type ls /usr/portage/net-analyzer/ | less Also, `emerge esearch eix` (Choose one, eix is faster) might also help :) Also, eix is newer and ~x86 only, IIRC. /Did without eix for months //Now, I don't understand why # grep KEYWORDS app-portage/eix/*.ebuild app-portage/eix/eix-0.1.2.ebuild:KEYWORDS=~x86 app-portage/eix/eix-0.1.3.ebuild:KEYWORDS=~x86 app-portage/eix/eix-0.1.4.ebuild:KEYWORDS=~x86 ~amd64 ~alpha ~ia64 app-portage/eix/eix-0.2.0-r1.ebuild:KEYWORDS=~x86 ~amd64 ~alpha ~ia64 ~ppc ~sparc app-portage/eix/eix-0.2.0.ebuild:KEYWORDS=~x86 ~amd64 ~alpha ~ia64 ~ppc app-portage/eix/eix-0.2.0_alpha.ebuild:KEYWORDS=~x86 ~amd64 ~alpha ~ia64 ~ppc only for unstable arch but for many. and it work great ;) -- No problem is so formidable that you can't walk away from it. ~ Charles M. Schulz But sometimes run fast is better ~ Francesco R. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
On Thu, 24 Feb 2005 12:22:03 -0600, Boyd Stephen Smith Jr. wrote: Also, eix is newer and ~x86 only, IIRC. It's not only ~x86, it's ~x86, ~amd64, ~alpha, ~ia64, ~ppc and ~sparc. However, as good as eix is, it won't help in this case because it cannot search categories. esearch will. emerge esearch eupdatedb (this is the part that is slower than eix) esearch -F net-analyzer -- Neil Bothwick Top Oxymorons Number 19: Passive aggression pgpNBmialYUdY.pgp Description: PGP signature
Re: [gentoo-user] search emerge
On Thu, 24 Feb 2005 12:52:00 -0500 Daniel D Jones [EMAIL PROTECTED] wrote: ... [EMAIL PROTECTED]:~ # time emerge --searchdesc analyzer Searching... -/usr/lib/portage/bin/ebuild.sh: line 21: ... real22m48.548s user18m54.880s sys 3m29.307s Hello? Almost 23 minutes to search for a simple word? This is an Athlon 2400+ with a gig of memory. I have a 20 gig hard drive and less than 6 gig is currently being used. That's a bit strange. Same CPU, same amount of RAM, 120GB disk with reiserfs: real1m26.422s user0m18.398s sys 0m4.536s I am using a patch that has been posted on gentoo-dev recently. However, this should not yield such a big improvement, but you might try anyway. Maybe you should use hdparm to tweak your hard disk. To apply this patch: 1) save this email somewhere 2) as root: cd /usr/lib/portage/pym 3) patch -p0 name of saved email To undo: same as above, but: patch -p0 -R name of saved email Regards --- portage_old.py 2005-02-17 00:23:04.990957928 +0100 +++ portage.py 2005-02-17 00:25:23.282934352 +0100 @@ -5368,14 +5368,18 @@ def cp_all(self): returns a list of all keys in our tree - biglist=[] + return list(self.cp_all_generator()) + + def cp_all_generator(self): + yield all keys in our tree for x in self.mysettings.categories: + biglist=[] for oroot in self.porttrees: for y in listdir(oroot+/+x,EmptyOnError=1,ignorecvs=1): mykey=x+/+y if not mykey in biglist: biglist.append(mykey) - return biglist + yield(mykey) def p_list(self,mycp): returnme=[] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
On Thu, 24 Feb 2005 12:52:00 -0500 Daniel D Jones wrote: Second, is this the only way to see all of the packages in a specific folder? ls /usr/portage/net-analyzer (And is folder the correct term to use here?) Is there a tool or utility which will show all packages, perhaps in a tree format? -- Nick Rout [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
Hi, start using esync. It will not only do the emrge sync for you, it will update the esearch db at the same time, so, if you do an esearch BLABLUB you will get actual results instatly. And 'esync' is a lot shorter than 'emerge sync' *g* I do not tried eix, but esearch works with esync, so, go that way and searching will be a matter of how fast you are reading... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
On Fri, 25 Feb 2005 09:35:00 +1300, Nick Rout wrote: ls /usr/portage/net-analyzer A number of people have suggested this, but it only shows you the names of the packages. It doesn't tell you anything about them, unlike esearch. -- Neil Bothwick Hm..what's this red button fo|'».'NO CARRIER pgpq38p10XTLZ.pgp Description: PGP signature
Re: [gentoo-user] search emerge
On Thu, 24 Feb 2005 22:29:32 +0100, Volker Armin Hemmann wrote: I do not tried eix, but esearch works with esync, so, go that way and searching will be a matter of how fast you are reading... The main difference between eix and esearch is that eix builds the database MUCH faster. eix -u is about six times faster than eupdate. Searching in eix is reported to be slightly slower, but it's still faster than you can read :) -- Neil Bothwick If you think you know what I am saying, you must misunderstand pgp5eFmScCrjb.pgp Description: PGP signature
Re: [gentoo-user] search emerge
On Thursday 24 February 2005 03:29 pm, Volker Armin Hemmann [EMAIL PROTECTED] wrote: start using esync. It will not only do the emrge sync for you, it will update the esearch db at the same time, so, if you do an esearch BLABLUB you will get actual results instatly. And 'esync' is a lot shorter than 'emerge sync' *g* I do not tried eix, but esearch works with esync, so, go that way and searching will be a matter of how fast you are reading... I like eix a bit better than esearch. However it doesn't include some esync command. So, I emerged them both, and hacked the python behind esync to also perform a 'eix -u' after the eupdatedb. -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
On Thu, 24 Feb 2005 12:52:00 -0500, Daniel D Jones [EMAIL PROTECTED] wrote: Long time Linux user but new to gentoo and trying to get a good handle on emerge. I recently used emerge to install traceroute. During the install, it noted that it was installing net-analyzer/traceroute. I wanted to see what other packages were available under net-analyzer but doing an emerge --search on net-analyzer came up with nothing. So I tried emerge --searchdesc. That brought me to my first question: http://packages.gentoo.org/categories/ [EMAIL PROTECTED]:~ # time emerge --searchdesc analyzer Searching... -/usr/lib/portage/bin/ebuild.sh: line 21: ... real22m48.548s user18m54.880s sys 3m29.307s On My 2.4 GHz P4 w/ 1.5 GB RAM: [starbaby: ~]$ time emerge --searchdesc analyzer blah, blah real0m38.455s user0m27.550s sys 0m7.063s Using esearch (emerge gentoolkit): [starbaby: ~]$ time esearch --searchdesc analyzer real0m0.182s user0m0.155s sys 0m0.016s -- ciao, cj -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
On Fri, 2005-02-25 at 02:09, Matan Peled wrote: Mike Turcotte wrote: In a terminal, just type ls /usr/portage/net-analyzer/ | less Also, `emerge esearch eix` (Choose one, eix is faster) might also help :) eix is MASKED -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 98% Microsoft(tm) Free!! Neuromancer 11:07:10 up 1:42, 6 users, load average: 1.47, 0.65, 0.41 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] search emerge
On Fri, 25 Feb 2005 11:07:19 +0800 Ow Mun Heng wrote: eix is MASKED yeah but it works anyway , 0.41 -- gentoo-user@gentoo.org mailing list -- Nick Rout -- gentoo-user@gentoo.org mailing list