public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] Dev framework for portage-ng
@ 2003-11-29  7:28 Philippe Lafoucrière
  2003-11-29  7:56 ` [gentoo-portage-dev] A feature idea ?? Philippe Lafoucrière
  0 siblings, 1 reply; 2+ messages in thread
From: Philippe Lafoucrière @ 2003-11-29  7:28 UTC (permalink / raw
  To: gentoo-portage-dev

I'd like to propose TwistedMatrix as portage-ng dev framework. Twisted is an 
asynchrone (event driven) network framework, written in python. It should 
allow us to :


- Make portage-ng a real server (which could be run via /etc/init.d/...)
- Make portage-ng modulable
- Make portage-np portable (twisted is avaible, like python, on linux / BSD / 
windows / macos).
- Make async query to the package base (which should be in a small relational 
DB system (like sqlite ?).
- Manage roles / security
- Easy write guis apps (even webapps with woven).
- use the twisted unit test framework, with a build bot (greatly improve the 
quality of the developped product).
- use plug-ins for portage (twisted has a plugin system).
- Send portage events with various protocols (irc / mail / im / etc. -> 
twisted supports a LOT of protocols, and they are easy to implement).

- And I surely forget some really cool features.

I'd like to be in the dev team if you choose to use twisted. I've started an 
app to manage portage (current) with woven (just started the projet, so it's 
prepreprealpha stuff ;p ) :

http://wwwetu.utc.fr/~plafoucr/gentoo/gat.tgz

--
Philippe


--
gentoo-portage-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-portage-dev] A feature idea ??
  2003-11-29  7:28 [gentoo-portage-dev] Dev framework for portage-ng Philippe Lafoucrière
@ 2003-11-29  7:56 ` Philippe Lafoucrière
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Lafoucrière @ 2003-11-29  7:56 UTC (permalink / raw
  To: gentoo-portage-dev

btw, I was thinking of something : 

maybe we should also think of xml-rpc implementation. Like people in 
freedesktop.org try to harmonize stuff between desktop (esp. KDE & Gnome), 
maybe it's time to propose a standart interface to package managment tools.

A query could be

<search-query>
	<package-name case-sensitive="false">mypackage</package-name>
</search-query>


a server response could be

<search-result>
	<package name="mypackage">
		<version>0.0.1</version>
		<licence>GPL</licence>
		<action>emerge</action>
	</package>
	<package>
		[...]
	</package>
</search-result>

With that, you can write a tool (a new kio ?) which simply display the return 
values, and maybe allow action like emerge / install package, etc.


Maybe xml-rpc should only be used to query the db, since it's may be not 
enough secure to allow managing the package db.

This is just an idea ! 

--
Philippe


--
gentoo-portage-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-29  7:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-29  7:28 [gentoo-portage-dev] Dev framework for portage-ng Philippe Lafoucrière
2003-11-29  7:56 ` [gentoo-portage-dev] A feature idea ?? Philippe Lafoucrière

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox