View previous topic :: View next topic |
Author |
Message |
wschlich Retired Dev
Joined: 06 Sep 2002 Posts: 41 Location: Bonn, North Rhine-Westphalia, Germany, Old Europe
|
|
Back to top |
|
|
wschlich Retired Dev
Joined: 06 Sep 2002 Posts: 41 Location: Bonn, North Rhine-Westphalia, Germany, Old Europe
|
|
Back to top |
|
|
frekiR n00b
Joined: 15 Dec 2003 Posts: 42 Location: Sweden
|
Posted: Thu Feb 26, 2004 9:36 am Post subject: |
|
|
i've been using it for some time nowm it's great _________________
Code: | $ whatis life
life: nothing appropriate |
|
|
Back to top |
|
|
dr_strange Guru
Joined: 16 Apr 2002 Posts: 480 Location: Cambridge, UK
|
Posted: Thu Feb 26, 2004 11:26 am Post subject: |
|
|
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 |
|
|
wschlich Retired Dev
Joined: 06 Sep 2002 Posts: 41 Location: Bonn, North Rhine-Westphalia, Germany, Old Europe
|
|
Back to top |
|
|
dr_strange Guru
Joined: 16 Apr 2002 Posts: 480 Location: Cambridge, UK
|
Posted: Tue Mar 02, 2004 12:46 pm Post subject: |
|
|
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 |
|
|
neenee Veteran
Joined: 20 Jul 2003 Posts: 1786
|
Posted: Tue Mar 02, 2004 12:51 pm Post subject: |
|
|
nice |
|
Back to top |
|
|
frekiR n00b
Joined: 15 Dec 2003 Posts: 42 Location: Sweden
|
Posted: Tue Mar 02, 2004 1:51 pm Post subject: |
|
|
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
(Swedes: dagens i-landsproblem) _________________
Code: | $ whatis life
life: nothing appropriate |
|
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Tue Mar 02, 2004 2:26 pm Post subject: |
|
|
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 |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Tue Mar 02, 2004 2:30 pm Post subject: |
|
|
And I forgot the most important thing:
Thank you very much!!!
Stefan |
|
Back to top |
|
|
dr_strange Guru
Joined: 16 Apr 2002 Posts: 480 Location: Cambridge, UK
|
|
Back to top |
|
|
pem725 n00b
Joined: 26 Sep 2002 Posts: 68 Location: Tucson, AZ USA
|
Posted: Thu Mar 04, 2004 7:26 am Post subject: |
|
|
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 |
|
|
dr_strange Guru
Joined: 16 Apr 2002 Posts: 480 Location: Cambridge, UK
|
Posted: Thu Mar 04, 2004 8:37 am Post subject: |
|
|
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 |
|
|
reyneke Guru
Joined: 09 Jan 2004 Posts: 542 Location: Augsburg / Germany
|
Posted: Fri Mar 05, 2004 7:19 pm Post subject: |
|
|
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 |
|
|
3.1415 Apprentice
Joined: 29 Jan 2004 Posts: 199 Location: Stanford, CA, USA
|
Posted: Fri Mar 05, 2004 10:32 pm Post subject: |
|
|
waow ! pye is really extraordinary thx very much dr_strange ! _________________ A 3.14% près...
3.14@jabber.aster.pl |
|
Back to top |
|
|
calhoun Tux's lil' helper
Joined: 14 Nov 2003 Posts: 91 Location: Point Pleasant, NJ
|
Posted: Sat Mar 06, 2004 7:38 pm Post subject: |
|
|
bump |
|
Back to top |
|
|
dr_strange Guru
Joined: 16 Apr 2002 Posts: 480 Location: Cambridge, UK
|
Posted: Mon Mar 08, 2004 6:39 pm Post subject: |
|
|
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 |
|
|
rockfly Apprentice
Joined: 27 Apr 2003 Posts: 179
|
Posted: Mon Mar 08, 2004 7:02 pm Post subject: |
|
|
it should be included with gentoolkit if you ask me |
|
Back to top |
|
|
dh3rm3 Tux's lil' helper
Joined: 26 Aug 2003 Posts: 101
|
Posted: Thu Mar 11, 2004 11:05 pm Post subject: |
|
|
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 |
|
|
dr_strange Guru
Joined: 16 Apr 2002 Posts: 480 Location: Cambridge, UK
|
Posted: Fri Mar 12, 2004 7:37 am Post subject: |
|
|
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 |
|
|
dr_strange Guru
Joined: 16 Apr 2002 Posts: 480 Location: Cambridge, UK
|
Posted: Fri Mar 12, 2004 7:39 am Post subject: |
|
|
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 |
|
|
Aonoa Guru
Joined: 23 May 2002 Posts: 589
|
Posted: Fri Mar 12, 2004 7:23 pm Post subject: |
|
|
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 |
|
|
dr_strange Guru
Joined: 16 Apr 2002 Posts: 480 Location: Cambridge, UK
|
Posted: Fri Mar 12, 2004 9:54 pm Post subject: |
|
|
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 |
|
|
pem725 n00b
Joined: 26 Sep 2002 Posts: 68 Location: Tucson, AZ USA
|
Posted: Fri Mar 12, 2004 11:10 pm Post subject: one feature request...he says meekly |
|
|
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
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
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 |
|
|
dr_strange Guru
Joined: 16 Apr 2002 Posts: 480 Location: Cambridge, UK
|
Posted: Sat Mar 13, 2004 9:01 am Post subject: |
|
|
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 |
|
|
|