Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

pye - "pick your emerge" script

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
133 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next
Author
Message
wschlich
Retired Dev
Retired Dev
Posts: 41
Joined: Fri Sep 06, 2002 8:05 am
Location: Bonn, North Rhine-Westphalia, Germany, Old Europe
Contact:
Contact wschlich
Website

  • Quote

Post by wschlich » Thu Feb 26, 2004 8:22 am

any plans to have it added to app-portage?
Wolfram Schlich <wschlich@gentoo.org>
https://github.com/wschlich/ * http://dev.gentoo.org/~wschlich/ * http://wolfram.schlich.org/
Top
wschlich
Retired Dev
Retired Dev
Posts: 41
Joined: Fri Sep 06, 2002 8:05 am
Location: Bonn, North Rhine-Westphalia, Germany, Old Europe
Contact:
Contact wschlich
Website

Re: emerge error log?

  • Quote

Post by wschlich » Thu Feb 26, 2004 8:44 am

scharkalvin wrote:Not being a python person (except for 'Monty' that is) I wonder if anybody has figured out a way to get emerge to save important error messages during an emerge -u world before they fly off the top of the screen to be lost forever! If emerge keeps an error log it's new to me.
I have written a script parsing the logfiles created when using PORT_LOGDIR in /etc/make.conf:
http://www.bla.fasel.org/~wschlich/gent ... logmsgs.sh
Wolfram Schlich <wschlich@gentoo.org>
https://github.com/wschlich/ * http://dev.gentoo.org/~wschlich/ * http://wolfram.schlich.org/
Top
frekiR
n00b
n00b
Posts: 42
Joined: Mon Dec 15, 2003 3:05 pm
Location: Sweden

  • Quote

Post by frekiR » Thu Feb 26, 2004 9:36 am

i've been using it for some time nowm it's great :P

Code: Select all

$ whatis life
life: nothing appropriate
Top
dr_strange
Guru
Guru
User avatar
Posts: 480
Joined: Tue Apr 16, 2002 7:19 pm
Location: Cambridge, UK

  • Quote

Post by dr_strange » Thu Feb 26, 2004 11:26 am

wschlich wrote:any plans to have it added to app-portage?
I have not considered this question yet.
shine on,

dr_strange

Set the Controls for the Heart of Gentoo
http://magenta.linuxforum.hu
Top
wschlich
Retired Dev
Retired Dev
Posts: 41
Joined: Fri Sep 06, 2002 8:05 am
Location: Bonn, North Rhine-Westphalia, Germany, Old Europe
Contact:
Contact wschlich
Website

  • Quote

Post by wschlich » Thu Feb 26, 2004 5:51 pm

then please do :-)
Wolfram Schlich <wschlich@gentoo.org>
https://github.com/wschlich/ * http://dev.gentoo.org/~wschlich/ * http://wolfram.schlich.org/
Top
dr_strange
Guru
Guru
User avatar
Posts: 480
Joined: Tue Apr 16, 2002 7:19 pm
Location: Cambridge, UK

  • Quote

Post by dr_strange » Tue Mar 02, 2004 12:46 pm

I have uploaded a new version. I have given it the (rather arbitrary) version number 0.8.

New features:

- when prompted for the package numbers, you can simply enter 'a' or 'all', if you want all packages in the list

- if you call the script with rsync/sync as the first argument, pye will perform syncing first, before giving you the list of packages (e.g. pye rsync -U system)
shine on,

dr_strange

Set the Controls for the Heart of Gentoo
http://magenta.linuxforum.hu
Top
neenee
Veteran
Veteran
User avatar
Posts: 1786
Joined: Sun Jul 20, 2003 12:15 pm

  • Quote

Post by neenee » Tue Mar 02, 2004 12:51 pm

nice :wink:
Top
frekiR
n00b
n00b
Posts: 42
Joined: Mon Dec 15, 2003 3:05 pm
Location: Sweden

  • Quote

Post by frekiR » Tue Mar 02, 2004 1:51 pm

dr_strange wrote:I have uploaded a new version. I have given it the (rather arbitrary) version number 0.8.

New features:

- when prompted for the package numbers, you can simply enter 'a' or 'all', if you want all packages in the list

- if you call the script with rsync/sync as the first argument, pye will perform syncing first, before giving you the list of packages (e.g. pye rsync -U system)
Great, not that it was hard typing all the numbers, just annoying :P
(Swedes: dagens i-landsproblem)

Code: Select all

$ whatis life
life: nothing appropriate
Top
swimmer
Veteran
Veteran
User avatar
Posts: 1330
Joined: Mon Jul 15, 2002 10:42 am
Location: Netherlands

  • Quote

Post by swimmer » Tue Mar 02, 2004 2:26 pm

dr_strange wrote:I have uploaded a new version. I have given it the (rather arbitrary) version number 0.8.

New features:

- when prompted for the package numbers, you can simply enter 'a' or 'all', if you want all packages in the list

- if you call the script with rsync/sync as the first argument, pye will perform syncing first, before giving you the list of packages (e.g. pye rsync -U system)
Normally I don't sing the song of greatness so often but this tool is extraordinary handy!!!

You *really* should consider to suggest it for implementation in the gentoolkit ;-)

greetz
Stefan
Top
swimmer
Veteran
Veteran
User avatar
Posts: 1330
Joined: Mon Jul 15, 2002 10:42 am
Location: Netherlands

  • Quote

Post by swimmer » Tue Mar 02, 2004 2:30 pm

And I forgot the most important thing:

Thank you very much!!!

Stefan ;-)
Top
dr_strange
Guru
Guru
User avatar
Posts: 480
Joined: Tue Apr 16, 2002 7:19 pm
Location: Cambridge, UK

  • Quote

Post by dr_strange » Tue Mar 02, 2004 2:55 pm

http://bugs.gentoo.org/show_bug.cgi?id=43479
shine on,

dr_strange

Set the Controls for the Heart of Gentoo
http://magenta.linuxforum.hu
Top
pem725
n00b
n00b
User avatar
Posts: 68
Joined: Thu Sep 26, 2002 5:42 am
Location: Tucson, AZ USA

  • Quote

Post by pem725 » Thu Mar 04, 2004 7:26 am

dr_strange...pye is awesome! Thanks for the great script. Each KDE release was killing me but now I'm in heaven with pye.
Cheers,
Patrick

Do the community a favor and answer a few stranded messages. I'm off to answer one now...thanks to gentoo!
Top
dr_strange
Guru
Guru
User avatar
Posts: 480
Joined: Tue Apr 16, 2002 7:19 pm
Location: Cambridge, UK

  • Quote

Post by dr_strange » Thu Mar 04, 2004 8:37 am

Thanks for the kind words from everybody. I am glad that you find the script to be useful.
shine on,

dr_strange

Set the Controls for the Heart of Gentoo
http://magenta.linuxforum.hu
Top
reyneke
Guru
Guru
User avatar
Posts: 542
Joined: Fri Jan 09, 2004 7:01 pm
Location: Augsburg / Germany
Contact:
Contact reyneke
Website

  • Quote

Post by reyneke » Fri Mar 05, 2004 7:19 pm

Hey!
Thx for the quit-option and all the other nice features you added.
that script is great. The other ones on your HP, too!
Nice work.

Greetz,
reyneke.
Top
3.1415
Apprentice
Apprentice
User avatar
Posts: 199
Joined: Thu Jan 29, 2004 4:48 pm
Location: Stanford, CA, USA

  • Quote

Post by 3.1415 » Fri Mar 05, 2004 10:32 pm

waow ! pye is really extraordinary thx very much dr_strange ! :D
A 3.14% près...
3.14@jabber.aster.pl
Top
calhoun
Tux's lil' helper
Tux's lil' helper
Posts: 91
Joined: Fri Nov 14, 2003 1:22 pm
Location: Point Pleasant, NJ

  • Quote

Post by calhoun » Sat Mar 06, 2004 7:38 pm

bump
Top
dr_strange
Guru
Guru
User avatar
Posts: 480
Joined: Tue Apr 16, 2002 7:19 pm
Location: Cambridge, UK

  • Quote

Post by dr_strange » Mon Mar 08, 2004 6:39 pm

Minor update, version 0.8.1. The script now works with the search function of emerge; that is, e.g. pye -s gkrellm will give a numbered list of packages matching the keyword 'gkrellm' and you can install any of them right away.
shine on,

dr_strange

Set the Controls for the Heart of Gentoo
http://magenta.linuxforum.hu
Top
rockfly
Apprentice
Apprentice
Posts: 179
Joined: Sun Apr 27, 2003 8:32 pm

  • Quote

Post by rockfly » Mon Mar 08, 2004 7:02 pm

it should be included with gentoolkit if you ask me
Top
dh3rm3
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 101
Joined: Tue Aug 26, 2003 2:19 pm
Contact:
Contact dh3rm3
Website

  • Quote

Post by dh3rm3 » Thu Mar 11, 2004 11:05 pm

This is a great and very useful script dr_strange ... ! thx for it ...
My just 2 cents ...
Why not adding the -v option to

Code: Select all

('emerge -p %s' % args)
as

Code: Select all

('emerge -pv %s' % args)


so that the output gives the Use flags of each ebuild ...
And It would just be great that the output of USE flags, activated and non activated, get a different color ...
Anyway.. great script ;)
dh3rm3's place
Top
dr_strange
Guru
Guru
User avatar
Posts: 480
Joined: Tue Apr 16, 2002 7:19 pm
Location: Cambridge, UK

  • Quote

Post by dr_strange » Fri Mar 12, 2004 7:37 am

Well, you can always add -v yourself, like pye -vD world; the -p is hardwired only for precaution, so that the script does not begin to emerge world right away, but I wanted to leave all the other options up to the user.

I will think about the colorized output, and I have another feature in mind I will probably implement soon.
shine on,

dr_strange

Set the Controls for the Heart of Gentoo
http://magenta.linuxforum.hu
Top
dr_strange
Guru
Guru
User avatar
Posts: 480
Joined: Tue Apr 16, 2002 7:19 pm
Location: Cambridge, UK

  • Quote

Post by dr_strange » Fri Mar 12, 2004 7:39 am

On the other hand, I've never tried for instance how the -v option would behave when used together with, say, the -s option.
shine on,

dr_strange

Set the Controls for the Heart of Gentoo
http://magenta.linuxforum.hu
Top
Aonoa
Guru
Guru
User avatar
Posts: 589
Joined: Thu May 23, 2002 9:33 pm

  • Quote

Post by Aonoa » Fri Mar 12, 2004 7:23 pm

I just have to say that this script rocks :) I have been wanting something like this for a while... without the skills or the time to make it myself. Great work!
Top
dr_strange
Guru
Guru
User avatar
Posts: 480
Joined: Tue Apr 16, 2002 7:19 pm
Location: Cambridge, UK

  • Quote

Post by dr_strange » Fri Mar 12, 2004 9:54 pm

Version 0.8.2 up.

I've written in a new functionality; I do not know how useful people will find it, but there it is: if one says pye prune, the script will list all installed packages as found in /var/db/pkg (the portage vartree) numbered, and you can choose the ones you want to unmerge. Personally I find it useful to look through the packages from time to time and remove those I haven't ever really used.
CAVEAT and TODO: this doesn't yet check for possible dependencies unmerged.
shine on,

dr_strange

Set the Controls for the Heart of Gentoo
http://magenta.linuxforum.hu
Top
pem725
n00b
n00b
User avatar
Posts: 68
Joined: Thu Sep 26, 2002 5:42 am
Location: Tucson, AZ USA

one feature request...he says meekly

  • Quote

Post by pem725 » Fri Mar 12, 2004 11:10 pm

dr_strange

As I said before, this is one of the best gentoo tools I use. Thanks greatly. I ran into a problem that I am not sure if others see frequently but I see it now more frequently than I like. Here is what happens when I use

Code: Select all

pye world
The results tell me that there was not enough information to finish the emerge. Specifically, app-emacs and app-xemacs both have the same package ecb and pye does not permit the prefix. Can we specify the prefix with pye? If not, would you tolerate a request that might limit what gets emerged by automatically pre-pending the appropriate pre-fix if I ask pye to do so? In other words, if I use

Code: Select all

pye app-emacs/ecb
the result will be an emerged ecb from the app-emacs directory in portage.

Thanks again and shine on you crazy diamond.
Cheers,
Patrick

Do the community a favor and answer a few stranded messages. I'm off to answer one now...thanks to gentoo!
Top
dr_strange
Guru
Guru
User avatar
Posts: 480
Joined: Tue Apr 16, 2002 7:19 pm
Location: Cambridge, UK

  • Quote

Post by dr_strange » Sat Mar 13, 2004 9:01 am

Possibly yes, but what is the benefit of using pye on a single package?
OTOH I've also seen packages that for some reason appear in two categories and this halts pye and one has to emerge the correct package manually.

I'll think about this prob.
shine on,

dr_strange

Set the Controls for the Heart of Gentoo
http://magenta.linuxforum.hu
Top
Post Reply

133 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy