1 |
btw, I was thinking of something : |
2 |
|
3 |
maybe we should also think of xml-rpc implementation. Like people in |
4 |
freedesktop.org try to harmonize stuff between desktop (esp. KDE & Gnome), |
5 |
maybe it's time to propose a standart interface to package managment tools. |
6 |
|
7 |
A query could be |
8 |
|
9 |
<search-query> |
10 |
<package-name case-sensitive="false">mypackage</package-name> |
11 |
</search-query> |
12 |
|
13 |
|
14 |
a server response could be |
15 |
|
16 |
<search-result> |
17 |
<package name="mypackage"> |
18 |
<version>0.0.1</version> |
19 |
<licence>GPL</licence> |
20 |
<action>emerge</action> |
21 |
</package> |
22 |
<package> |
23 |
[...] |
24 |
</package> |
25 |
</search-result> |
26 |
|
27 |
With that, you can write a tool (a new kio ?) which simply display the return |
28 |
values, and maybe allow action like emerge / install package, etc. |
29 |
|
30 |
|
31 |
Maybe xml-rpc should only be used to query the db, since it's may be not |
32 |
enough secure to allow managing the package db. |
33 |
|
34 |
This is just an idea ! |
35 |
|
36 |
-- |
37 |
Philippe |
38 |
|
39 |
|
40 |
-- |
41 |
gentoo-portage-dev@g.o mailing list |