Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need feedback on portage app: Portal
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Mon Sep 20, 2004 8:57 pm    Post subject: Need feedback on portage app: Portal Reply with quote

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
View user's profile Send private message
asph
l33t
l33t


Joined: 25 Aug 2003
Posts: 741
Location: Barcelona, Spain

PostPosted: Mon Sep 20, 2004 9:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Mon Sep 20, 2004 9:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
asph
l33t
l33t


Joined: 25 Aug 2003
Posts: 741
Location: Barcelona, Spain

PostPosted: Tue Sep 21, 2004 7:46 am    Post subject: Reply with quote

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
View user's profile Send private message
Saa
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2004
Posts: 138

PostPosted: Tue Sep 21, 2004 10:36 am    Post subject: Reply with quote

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
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Wed Sep 29, 2004 7:26 pm    Post subject: Reply with quote

Portal is ready for testing, feedback and bug reports.

Ebuild available: http://portal.sf.net/
Back to top
View user's profile Send private message
Mystilleef
Guru
Guru


Joined: 27 Apr 2003
Posts: 561
Location: Earth

PostPosted: Thu Sep 30, 2004 8:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Thu Sep 30, 2004 5:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Thu Sep 30, 2004 10:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
cbolin
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2003
Posts: 147
Location: Portland, Oregon

PostPosted: Fri Oct 01, 2004 5:08 pm    Post subject: Reply with quote

I really like portal. I even like the gui interface...

well done!
Back to top
View user's profile Send private message
denstark
l33t
l33t


Joined: 02 Jun 2003
Posts: 654
Location: sd.ca.us

PostPosted: Fri Oct 01, 2004 5:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
malloc
l33t
l33t


Joined: 19 Sep 2003
Posts: 762

PostPosted: Fri Oct 01, 2004 7:35 pm    Post subject: Reply with quote

I might be burnt alive here :D 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
View user's profile Send private message
ag_x
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2004
Posts: 142
Location: Self Sarkarm.

PostPosted: Fri Oct 01, 2004 8:57 pm    Post subject: Reply with quote

Wow,this is excellent!I m waiting the CLI version.
Back to top
View user's profile Send private message
zaiyon
Apprentice
Apprentice


Joined: 19 May 2004
Posts: 219
Location: Germany

PostPosted: Sun Oct 24, 2004 3:38 am    Post subject: Reply with quote

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 :D)

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
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Sun Oct 24, 2004 3:56 am    Post subject: Reply with quote

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
View user's profile Send private message
zaiyon
Apprentice
Apprentice


Joined: 19 May 2004
Posts: 219
Location: Germany

PostPosted: Sun Oct 24, 2004 1:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Sun Oct 24, 2004 3:45 pm    Post subject: Reply with quote

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


Joined: 01 Jun 2004
Posts: 15
Location: university, the joys of

PostPosted: Mon Oct 25, 2004 2:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Mon Oct 25, 2004 4:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Tue Oct 26, 2004 4:41 am    Post subject: Reply with quote

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
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Tue Oct 26, 2004 4:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Tue Oct 26, 2004 6:41 am    Post subject: Reply with quote

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
View user's profile Send private message
zaiyon
Apprentice
Apprentice


Joined: 19 May 2004
Posts: 219
Location: Germany

PostPosted: Tue Oct 26, 2004 6:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Tue Oct 26, 2004 11:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
zaiyon
Apprentice
Apprentice


Joined: 19 May 2004
Posts: 219
Location: Germany

PostPosted: Wed Oct 27, 2004 11:53 am    Post subject: Reply with quote

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

 
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