Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PackageKit for gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
perplx
n00b
n00b


Joined: 17 Apr 2006
Posts: 26
Location: Montréal, QC

PostPosted: Sun May 31, 2009 5:30 pm    Post subject: PackageKit for gentoo Reply with quote

It seems a lot of distributions are moving toward PackageKit, to provide users with a simple, consistent way of making updates without running with root privileges. It doesn't try to provide every possible option - especially not for something FULL of options like portage - but it's kind of neat. I'd like a little notification icon instead of me opening a root shell every day.

I hacked a bit on a python-based portage backend for PackageKit a few months ago. It only does searching, not actual merges, and the code is a bit nasty, most of the portage db-reading bits lifted straight out of gentoolkit. :oops:

So, is anybody else interested in this? Is there good documentation on using portage's internals? (the api docs are lacking) Or is there a better way of doing this?
_________________
Gentoo: keep it real.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5618
Location: Removed by Neddy

PostPosted: Sun May 31, 2009 6:07 pm    Post subject: Re: PackageKit for gentoo Reply with quote

perplx wrote:
It seems a lot of distributions are moving toward PackageKit, to provide users with a simple, consistent way of making updates without running with root privileges. It doesn't try to provide every possible option - especially not for something FULL of options like portage - but it's kind of neat. I'd like a little notification icon instead of me opening a root shell every day.

I hacked a bit on a python-based portage backend for PackageKit a few months ago. It only does searching, not actual merges, and the code is a bit nasty, most of the portage db-reading bits lifted straight out of gentoolkit. :oops:

So, is anybody else interested in this? Is there good documentation on using portage's internals? (the api docs are lacking) Or is there a better way of doing this?


iirc packagekit aim was to provide a common interface/API to abstract applications away from packagemanager specific's (apt-get install foo, yum install foo, emerge foo)
The complication when it comes to gentoo is ... USE flags either gentoo-packagekit would have to enable all the packages USE flags or just try it an see

Likewise iirc there is a Gentoo GSoC project on this

Would be good since you are right more and more distro's are going packagekit way and more and more app's are hooking into it (ie nautilus will go an install suitable application for a filetype users desktop doesn't support) but there is going to be some gray area's when it comes to gentoo
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
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
Page 1 of 1

 
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