You are not logged in.

#1 2005-08-28 19:56:04

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Suggestions on UI

I'm working on a pacman frontend, actually not really a frontend, it's a graphical reimplentation of pacman in pygtk. Anyways this is what the ui looks like.
paku.jpg
Anyone have any comments suggestions? (Except for "Awwrgh! Not another pygtk pacman app!" wink )

Offline

#2 2005-08-28 23:11:07

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: Suggestions on UI

Well I'd rather stick with my CLI pacman personally, but one thing that would be cool in a pacman GUI would be the ability to pull packages off AUR and build them. Dependancy resolving would be good too, like if a dep is on AUR (in unsupported) then pull that down and build it too. Perhaps if the packages hasn't been marked safe, give the user a warning.

I just know that a lot of newbie will love the fact that pacman has a Synaptic-like GUI but people still get confused by the concept or AUR and how it works, if you could make that seeamless as well you'd be onto a winner I reckon.

Oh, and are you using libpypac or just making it up as you go? Just curious smile

Offline

#3 2005-08-28 23:38:01

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: Suggestions on UI

Nah I coded the pacman bits myself. Altough some parts of it are directly or indirectly from libpypac.
However the aur thing seems like a good idea, i'll look in to it.

Offline

#4 2005-08-29 02:08:31

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: Suggestions on UI

For that particular feature, you might want to take a look at this thread.

Offline

#5 2005-08-29 02:40:46

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Suggestions on UI

elasticdog wrote:

For that particular feature, you might want to take a look at this thread.

it will inform the user of a safe package and build dependencies, but only those in /var/abs when using --builddeps switch and whatever is in pacman's database for --syncdeps. I didn't implement installing dependencies from aur because I consider it a security risk without being able to see each PKGBUILD first smile You can, however, do multiple packages from aur (ie. aurbuild -s package anotherpackage another). Each one will bring up the editor menu.

Offline

#6 2005-08-29 14:44:06

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: Suggestions on UI

Ok, the aur thing is pretty much done. Altough it's quite slow and a bit unstable mostly because the lack of standards in AUR. So i'll probably leave this disabled by default and let more advanced users enable it if they want to.
At the moment it only looks for dependencies in regular repos, I'm not sure about if it's a good idea to auto-fetch deps from AUR.
Perhaps I should add the entire PKGBUILD in the info window to enhance security?
preview:
paku_aur.jpg

Offline

#7 2005-08-29 15:33:59

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Suggestions on UI

lunke wrote:

Ok, the aur thing is pretty much done. Altough it's quite slow and a bit unstable mostly because the lack of standards in AUR. So i'll probably leave this disabled by default and let more advanced users enable it if they want to.

Hmmm, what do you mean by "lack of standards"? as in directory structure?  Can you explain better? If there is anything that would make your stuff easier, don't hesitate to suggest things in the bug tracker.. there's a AUR section.

Offline

#8 2005-08-29 16:55:37

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Suggestions on UI

phrakture wrote:
lunke wrote:

Ok, the aur thing is pretty much done. Altough it's quite slow and a bit unstable mostly because the lack of standards in AUR. So i'll probably leave this disabled by default and let more advanced users enable it if they want to.

Hmmm, what do you mean by "lack of standards"? as in directory structure?  Can you explain better? If there is anything that would make your stuff easier, don't hesitate to suggest things in the bug tracker.. there's a AUR section.

Ther's already a bug report: http://bugs.archlinux.org/index.php?do=details&id=2803

Offline

#9 2005-08-29 17:23:55

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: Suggestions on UI

phrakture wrote:

Hmmm, what do you mean by "lack of standards"? as in directory structure?  Can you explain better? If there is anything that would make your stuff easier, don't hesitate to suggest things in the bug tracker.. there's a AUR section.

Yes mainly the directory structure. It doesn't always match the name in the PKGBUILDS.
Like this one:
http://aur.archlinux.org/packages/aedks … ontroller/
Should probably be changed to:
http://aur.archlinux.org/packages/adeks … ontroller/
Which seems to be the common standard

Offline

#10 2005-08-29 17:34:40

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Suggestions on UI

lunke wrote:
phrakture wrote:

Hmmm, what do you mean by "lack of standards"? as in directory structure?  Can you explain better? If there is anything that would make your stuff easier, don't hesitate to suggest things in the bug tracker.. there's a AUR section.

Yes mainly the directory structure. It doesn't always match the name in the PKGBUILDS.
Like this one:
http://aur.archlinux.org/packages/aedks … ontroller/

Hah, that's also a typo (aedkslet) - the newer packages should conform to this standard (as there is code to verify that it is in $pkgname/$pkgname).  These are probably old hold-overs from before that validation was in there.

I will try to get this fixed, though I don't have access to the server (neotuli does!)

Offline

#11 2005-08-29 21:52:03

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Suggestions on UI

it looks pretty nice, smile

and i post an update on libpypac here, since i submitted libpypac to gna.org (they haven't responded yet but a message i got said that they should respond before aug30 but ragnarok told me that it could take longer due to vacations) i've been coding my a** off, you can find more information here http://xerxes2.1go.dk/libpypac.htm ,

you guys that wanna join the project will get subversion access to it as soon as it's available,


arch + gentoo + initng + python = enlisy

Offline

#12 2005-08-31 14:09:54

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: Suggestions on UI

A test release is out for those brave enough. Please do read the important stuff on the hompage if you intend to try it.
http://bbs.archlinux.org/viewtopic.php?p=110361#110361

Offline

#13 2005-08-31 17:03:38

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Suggestions on UI

wow, impressive stuff lunke, you're a very clean coder, smile

are you using any license for this or could i just copy and paste some stuff i want to move to libpypac?

and if you wanna join libpypac when it's up on gna.org just say so,


arch + gentoo + initng + python = enlisy

Offline

#14 2005-08-31 17:08:35

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: Suggestions on UI

Thanks smile Hmm license, GPL I guess unless that's a problem?

Offline

#15 2005-08-31 17:17:29

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Suggestions on UI

libpypac-0.3.x is lgpl so that's not a fair deal,
well we'll see, it's just a few minor things for now,
and if you join libpypac you can fix it yourself, if you're interested it's libpypac-devel that needs the attention, big_smile

it's just more work if everyone should code there own complete pacmans instead of using a library,


arch + gentoo + initng + python = enlisy

Offline

#16 2005-08-31 17:27:27

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: Suggestions on UI

What's the diffrence between GPL and LGPL? Or more precice; why won't they mix?
Yeah that's true, one unified library would be nice. I will have a look at libpypac-devel once I get the time.

Offline

#17 2005-08-31 17:55:45

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Suggestions on UI

*back from a run in the park*

lgpl means that frontends could use whatever license they wish, think of glibc, your c programs could be distributed under whatever license you like,

and if you're interested in libpypac-devel it's lazy-pac-cli-devel that is the manual/frontend,


arch + gentoo + initng + python = enlisy

Offline

Board footer

Powered by FluxBB