Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pye - "pick your emerge" script
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
wschlich
Retired Dev
Retired Dev


Joined: 06 Sep 2002
Posts: 41
Location: Bonn, North Rhine-Westphalia, Germany, Old Europe

PostPosted: Thu Feb 26, 2004 8:22 am    Post subject: Reply with quote

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/
Back to top
View user's profile Send private message
wschlich
Retired Dev
Retired Dev


Joined: 06 Sep 2002
Posts: 41
Location: Bonn, North Rhine-Westphalia, Germany, Old Europe

PostPosted: Thu Feb 26, 2004 8:44 am    Post subject: Re: emerge error log? Reply with quote

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/gentoo/bin/my_portage_showlogmsgs.sh
_________________
Wolfram Schlich <wschlich@gentoo.org>
https://github.com/wschlich/ * http://dev.gentoo.org/~wschlich/ * http://wolfram.schlich.org/
Back to top
View user's profile Send private message
frekiR
n00b
n00b


Joined: 15 Dec 2003
Posts: 42
Location: Sweden

PostPosted: Thu Feb 26, 2004 9:36 am    Post subject: Reply with quote

i've been using it for some time nowm it's great :P
_________________
Code:
$ whatis life
life: nothing appropriate
Back to top
View user's profile Send private message
dr_strange
Guru
Guru


Joined: 16 Apr 2002
Posts: 480
Location: Cambridge, UK

PostPosted: Thu Feb 26, 2004 11:26 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
wschlich
Retired Dev
Retired Dev


Joined: 06 Sep 2002
Posts: 41
Location: Bonn, North Rhine-Westphalia, Germany, Old Europe

PostPosted: Thu Feb 26, 2004 5:51 pm    Post subject: Reply with quote

then please do :-)
_________________
Wolfram Schlich <wschlich@gentoo.org>
https://github.com/wschlich/ * http://dev.gentoo.org/~wschlich/ * http://wolfram.schlich.org/
Back to top
View user's profile Send private message
dr_strange
Guru
Guru


Joined: 16 Apr 2002
Posts: 480
Location: Cambridge, UK

PostPosted: Tue Mar 02, 2004 12:46 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
neenee
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1786

PostPosted: Tue Mar 02, 2004 12:51 pm    Post subject: Reply with quote

nice :wink:
Back to top
View user's profile Send private message
frekiR
n00b
n00b


Joined: 15 Dec 2003
Posts: 42
Location: Sweden

PostPosted: Tue Mar 02, 2004 1:51 pm    Post subject: Reply with quote

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:
$ whatis life
life: nothing appropriate
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Tue Mar 02, 2004 2:26 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Tue Mar 02, 2004 2:30 pm    Post subject: Reply with quote

And I forgot the most important thing:

Thank you very much!!!

Stefan ;-)
Back to top
View user's profile Send private message
dr_strange
Guru
Guru


Joined: 16 Apr 2002
Posts: 480
Location: Cambridge, UK

PostPosted: Tue Mar 02, 2004 2:55 pm    Post subject: Reply with quote

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

dr_strange

Set the Controls for the Heart of Gentoo
http://magenta.linuxforum.hu
Back to top
View user's profile Send private message
pem725
n00b
n00b


Joined: 26 Sep 2002
Posts: 68
Location: Tucson, AZ USA

PostPosted: Thu Mar 04, 2004 7:26 am    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
dr_strange
Guru
Guru


Joined: 16 Apr 2002
Posts: 480
Location: Cambridge, UK

PostPosted: Thu Mar 04, 2004 8:37 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
reyneke
Guru
Guru


Joined: 09 Jan 2004
Posts: 542
Location: Augsburg / Germany

PostPosted: Fri Mar 05, 2004 7:19 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
3.1415
Apprentice
Apprentice


Joined: 29 Jan 2004
Posts: 199
Location: Stanford, CA, USA

PostPosted: Fri Mar 05, 2004 10:32 pm    Post subject: Reply with quote

waow ! pye is really extraordinary thx very much dr_strange ! :D
_________________
A 3.14% près...
3.14@jabber.aster.pl
Back to top
View user's profile Send private message
calhoun
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2003
Posts: 91
Location: Point Pleasant, NJ

PostPosted: Sat Mar 06, 2004 7:38 pm    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message
dr_strange
Guru
Guru


Joined: 16 Apr 2002
Posts: 480
Location: Cambridge, UK

PostPosted: Mon Mar 08, 2004 6:39 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
rockfly
Apprentice
Apprentice


Joined: 27 Apr 2003
Posts: 179

PostPosted: Mon Mar 08, 2004 7:02 pm    Post subject: Reply with quote

it should be included with gentoolkit if you ask me
Back to top
View user's profile Send private message
dh3rm3
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2003
Posts: 101

PostPosted: Thu Mar 11, 2004 11:05 pm    Post subject: Reply with quote

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:
('emerge -p %s' % args)

as
Code:
('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
Back to top
View user's profile Send private message
dr_strange
Guru
Guru


Joined: 16 Apr 2002
Posts: 480
Location: Cambridge, UK

PostPosted: Fri Mar 12, 2004 7:37 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
dr_strange
Guru
Guru


Joined: 16 Apr 2002
Posts: 480
Location: Cambridge, UK

PostPosted: Fri Mar 12, 2004 7:39 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Aonoa
Guru
Guru


Joined: 23 May 2002
Posts: 589

PostPosted: Fri Mar 12, 2004 7:23 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
dr_strange
Guru
Guru


Joined: 16 Apr 2002
Posts: 480
Location: Cambridge, UK

PostPosted: Fri Mar 12, 2004 9:54 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
pem725
n00b
n00b


Joined: 26 Sep 2002
Posts: 68
Location: Tucson, AZ USA

PostPosted: Fri Mar 12, 2004 11:10 pm    Post subject: one feature request...he says meekly Reply with quote

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:
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:
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!
Back to top
View user's profile Send private message
dr_strange
Guru
Guru


Joined: 16 Apr 2002
Posts: 480
Location: Cambridge, UK

PostPosted: Sat Mar 13, 2004 9:01 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 3 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum