public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Philippe Lafoucrière" <lafou@wanadoo.fr>
To: gentoo-portage-dev@gentoo.org
Subject: [gentoo-portage-dev] A feature idea ??
Date: Sat, 29 Nov 2003 08:56:06 +0100	[thread overview]
Message-ID: <200311290856.06449.lafou@wanadoo.fr> (raw)
In-Reply-To: <200311290828.30445.lafou@wanadoo.fr>

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


      reply	other threads:[~2003-11-29  7:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-29  7:28 [gentoo-portage-dev] Dev framework for portage-ng Philippe Lafoucrière
2003-11-29  7:56 ` Philippe Lafoucrière [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200311290856.06449.lafou@wanadoo.fr \
    --to=lafou@wanadoo.fr \
    --cc=gentoo-portage-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox