View previous topic :: View next topic |
Author |
Message |
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Mon Sep 20, 2004 8:57 pm Post subject: Need feedback on portage app: Portal |
|
|
Portal (was wxPicks)
I started a new portage utility with the following features:
- Select packages to emerge from list of 'emerge world' or 'emerge -uD system' etc. output
- Change USE flags for individual package and add to /etc/portage/package.use
Add individual packages to:
- /etc/portage/package.keywords
- /etc/portage/package.unmask
- /etc/portage/package.mask
- /etc/portage/package.provided
- emerge world/system will continue if an individual package fails to emerge (optional)
- Individual log files so you can see important messages or errors on failed emerges
Screenshots:
http://portal.sf.net/portal.png
http://portal.sf.net/portal2.png
http://portal.sf.net/portal3.png
http://portal.sf.net/portal4.png
Homepage/Download ebuild:
http://portal.sf.net/
Last edited by Pythonhead on Wed Sep 29, 2004 7:35 pm; edited 5 times in total |
|
Back to top |
|
|
asph l33t
Joined: 25 Aug 2003 Posts: 741 Location: Barcelona, Spain
|
Posted: Mon Sep 20, 2004 9:05 pm Post subject: |
|
|
maybe you could add the functionality to inject packages, a "tree" like view or change/edit cflags for each package you select to emerge..
also it would be great to diference even more the N and U ebuilds, maybe with different colors or something.
[edit]typ0[/edit] _________________ gentoo sex is updatedb; locate; talk; date; cd; strip; look; touch; finger; unzip; uptime; gawk; head; emerge --oneshot condom; mount; fsck; gasp; more; yes; yes; yes; more; umount; emerge -C condom; make clean; sleep |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Mon Sep 20, 2004 9:14 pm Post subject: |
|
|
nastassja wrote: | maybe you could add the functionality to inject packages, a "tree" like view or change/edit cflags for each package you select to emerge..
also it would be great to diference even more the N and U ebuilds, maybe with different colors or something.
[edit]typ0[/edit] |
I'll probably stay clear of --inject, since I'm pretty sure that packages.provided does the same thing. I'll wait until the portage team documents that feature when 2.0.51 final comes out and then decide.
There has been discussion on the gentoo-dev list about per-package CFLAGS, so I'll wait till that gets decided before implementing that.
The colors part I can do. I'm waiting till I have all the different features decided on before I do those though.
Thanks |
|
Back to top |
|
|
asph l33t
Joined: 25 Aug 2003 Posts: 741 Location: Barcelona, Spain
|
Posted: Tue Sep 21, 2004 7:46 am Post subject: |
|
|
i think i would use the cursed based interface, it would be great to be able to install only the cursed based wxPicks (trough USE's), or the hole set so that you can keep the depends low if you don't need/want the X interface.
good job with Portal, now emerge world is for chumps
[edit] prog. name change [/edit] _________________ gentoo sex is updatedb; locate; talk; date; cd; strip; look; touch; finger; unzip; uptime; gawk; head; emerge --oneshot condom; mount; fsck; gasp; more; yes; yes; yes; more; umount; emerge -C condom; make clean; sleep
Last edited by asph on Thu Sep 30, 2004 7:13 am; edited 1 time in total |
|
Back to top |
|
|
Saa Tux's lil' helper
Joined: 03 Jul 2004 Posts: 138
|
Posted: Tue Sep 21, 2004 10:36 am Post subject: |
|
|
I like the X interface myself. Its nice and clean and gives what you need. There seems to be a following behind the ion and ratpoison wm's , and I'm sure those followers would like an ncurses interface. |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Wed Sep 29, 2004 7:26 pm Post subject: |
|
|
Portal is ready for testing, feedback and bug reports.
Ebuild available: http://portal.sf.net/ |
|
Back to top |
|
|
Mystilleef Guru
Joined: 27 Apr 2003 Posts: 561 Location: Earth
|
Posted: Thu Sep 30, 2004 8:14 am Post subject: |
|
|
Is there a CLI version? I'm not big on GUIs for system administration, especially not on my servers. _________________ simple, sleek and sexy text editor for gnome
"My logic is undeniable." |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Thu Sep 30, 2004 5:58 pm Post subject: |
|
|
Mystilleef wrote: | Is there a CLI version? I'm not big on GUIs for system administration, especially not on my servers. |
I just started on the CLI version but it'll be a few days till its usable. |
|
Back to top |
|
|
zojas Veteran
Joined: 22 Apr 2002 Posts: 1138 Location: Phoenix, AZ
|
Posted: Thu Sep 30, 2004 10:17 pm Post subject: |
|
|
well, an ncurses interface would allow you to run it inside of screen, detach, reattach later.
this looks really cool! good work! _________________ http://www.desertsol.com/~kevin/ppc |
|
Back to top |
|
|
cbolin Tux's lil' helper
Joined: 08 Feb 2003 Posts: 147 Location: Portland, Oregon
|
Posted: Fri Oct 01, 2004 5:08 pm Post subject: |
|
|
I really like portal. I even like the gui interface...
well done! |
|
Back to top |
|
|
denstark l33t
Joined: 02 Jun 2003 Posts: 654 Location: sd.ca.us
|
Posted: Fri Oct 01, 2004 5:38 pm Post subject: |
|
|
Damn nice... ill let you know if i encounter any bugs.. but none as of yet _________________ Blog
Code: | denstark> starbuck authorizes torture?
rokstar> sure they do, you tried their coffee?
|
|
|
Back to top |
|
|
malloc l33t
Joined: 19 Sep 2003 Posts: 762
|
Posted: Fri Oct 01, 2004 7:35 pm Post subject: |
|
|
I might be burnt alive here but none the less i'll sugest a "dselect" (debian apt ncurses gui) type gui. Better coded of course.
Dselect is funcional and has some nice options, that makes me like it a lot. Anyways my 2 cents _________________ --> Linux ### 2.6.11-ck2 #1 Sat Mar 12 20:21:30 WET 2005 i686 GNU/Linux <-- |
|
Back to top |
|
|
ag_x Tux's lil' helper
Joined: 11 Jun 2004 Posts: 142 Location: Self Sarkarm.
|
Posted: Fri Oct 01, 2004 8:57 pm Post subject: |
|
|
Wow,this is excellent!I m waiting the CLI version. |
|
Back to top |
|
|
zaiyon Apprentice
Joined: 19 May 2004 Posts: 219 Location: Germany
|
Posted: Sun Oct 24, 2004 3:38 am Post subject: |
|
|
looks damn interesting, even if I don't like guis, but I have a problem making a digest of the ebuild (I hope it's not too n00b )
Code: |
# ebuild portal-0.0.8.ebuild digest
!!! aux_get(): ebuild path for 'app-portage/portal-0.0.8' not specified:
!!! None
!!! aux_get(): ebuild path for 'app-portage/portal-0.0.8' not specified:
!!! None
doebuild(): aux_get() error; aborting.
|
my portage version is 2.0.51-r2
I followed the installation instructions exactly
malloc wrote: | I might be burnt alive here Very Happy but none the less i'll sugest a "dselect" (debian apt ncurses gui) type gui. |
why? what's wrong about debian? (best of all bin distros if you ask me...), I think dselect is very handy too. _________________ What do you have when you have six lawyers buried up to their necks in sand? Not enough sand.
My Project - open Outcast |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Sun Oct 24, 2004 3:56 am Post subject: |
|
|
Do you have PORTDIR_OVERLAY='/usr/local/portage' in /etc/make.conf?
I'm lagging behind on the curses version. I'm looking a for a good curses toolkit in python. |
|
Back to top |
|
|
zaiyon Apprentice
Joined: 19 May 2004 Posts: 219 Location: Germany
|
Posted: Sun Oct 24, 2004 1:07 pm Post subject: |
|
|
strange, I used to.... but okay, now I added it again and the digest && emerge works, I probably specified it somewhere else before that, thx
ok, for portal: damn handy, I'll tell you if I can find any bugs, but none yet _________________ What do you have when you have six lawyers buried up to their necks in sand? Not enough sand.
My Project - open Outcast |
|
Back to top |
|
|
Deranger Veteran
Joined: 26 Aug 2004 Posts: 1215
|
Posted: Sun Oct 24, 2004 3:45 pm Post subject: |
|
|
Portal looks promising. I've never used GUI front-end for Portage but maybe I'll give it a try. Especially it annoys when some very important info scroll too fast |
|
Back to top |
|
|
fabs_uk n00b
Joined: 01 Jun 2004 Posts: 15 Location: university, the joys of
|
Posted: Mon Oct 25, 2004 2:27 pm Post subject: |
|
|
very cool, totally impressed.
seems to hang ramndomly on a couple of things, not sure what's going on, is there a --debug option that will hit portal and not just get passed through to emerge?
one package it does it on is (ironically) python-2.3.4 (from 2.3.3)
It just sits there not doing anything:
Code: |
))) emerge --nospinner -pv =dev-lang/python-2.3.4
...done!
Total size of downloads: 0 kB
))) /usr/bin/emerge --nospinner =dev-lang/python-2.3.4
|
maybe a problem when the files doesn't need to be fetched? can't see why this should be if it's just passing though to emerge, but there's nothing else abnormal i can see about that ebuild.
I'll dig more later, but right now, i have uni work to do
<edit> it's not the zero file size to fetch thing, because cups is going right now and that was then same. ho hum....
<edit2> gaim-1.0.2 jsut did it too....
<edit3> d'oh!
Code: |
>>> emerge (1 of 6) dev-lang/python-2.3.4 to /
waiting for lock on /usr/portage/distfiles/.locks/Python-2.3.4.tar.bz2.portage_lockfile
|
(where's the smiley for banging your head on the desk?)
but: maybe portal should display these messages? |
|
Back to top |
|
|
Cintra Advocate
Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Mon Oct 25, 2004 4:05 pm Post subject: |
|
|
Very nice
and thanks for the straightforward installation instructions..
however, I don't seem to be able to do an emerge sync without pretend getting in the way..?
regards _________________ "I am not bound to please thee with my answers" W.S. |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Tue Oct 26, 2004 4:41 am Post subject: |
|
|
fabs_uk wrote: | seems to hang ramndomly on a couple of things, not sure what's going on, is there a --debug option that will hit portal and not just get passed through to emerge? |
I think it hangs if wget fails to find a file on a mirror, at least thats when it has for me. I'll fix it in the next release. Nope, no debug option.
Thanks
edit This looks like you have emerged from the command line while portal was hung trying to emerge the same thing.
Quote: | >>> emerge (1 of 6) dev-lang/python-2.3.4 to /
waiting for lock on /usr/portage/distfiles/.locks/Python-2.3.4.tar.bz2.portage_lockfile |
Last edited by Pythonhead on Tue Oct 26, 2004 4:50 am; edited 1 time in total |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Tue Oct 26, 2004 4:45 am Post subject: |
|
|
Cintra wrote: | Very nice :-)
and thanks for the straightforward installation instructions..
however, I don't seem to be able to do an emerge sync without pretend getting in the way..?
regards |
You shouldn't do an 'emerge sync' with it. I guess I could add that in later, but I'll stick to ironing out what I intended it for first. Its not a full-featured portage front-end/browser/syncer like Porthole, guitoo etc. Its main purpose is for doing an 'emerge world/system' and filtering out what you don't want.
Thanks |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Tue Oct 26, 2004 6:41 am Post subject: |
|
|
Ok, 0.0.9 is out and should fix the problem with it haning on some downloads.
http://portal.sourceforge.net/portal-0.0.9.ebuild
I also added a "View installed packages that depend on this package" option. |
|
Back to top |
|
|
zaiyon Apprentice
Joined: 19 May 2004 Posts: 219 Location: Germany
|
Posted: Tue Oct 26, 2004 6:42 pm Post subject: |
|
|
0.0.9 works great for me.
Besides: do I miss something or is there no special, included portage search function?
if not, why not builtin one? That's one thing I've been teribly missing while I used portal. _________________ What do you have when you have six lawyers buried up to their necks in sand? Not enough sand.
My Project - open Outcast |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Tue Oct 26, 2004 11:01 pm Post subject: |
|
|
zaiyon wrote: | 0.0.9 works great for me.
Besides: do I miss something or is there no special, included portage search function?
if not, why not builtin one? That's one thing I've been teribly missing while I used portal. |
I'm not sure what you're asking for. You just want to be able to do an 'emerge -s' with it?
Thanks |
|
Back to top |
|
|
zaiyon Apprentice
Joined: 19 May 2004 Posts: 219 Location: Germany
|
Posted: Wed Oct 27, 2004 11:53 am Post subject: |
|
|
after all: yes
but just some kind of search field and a fitting button for it.. just thought it would fit portal nice if you could just search and directly emerge or prevent or whatever-you-want the results. _________________ What do you have when you have six lawyers buried up to their necks in sand? Not enough sand.
My Project - open Outcast |
|
Back to top |
|
|
|