1 |
Hi, |
2 |
|
3 |
Ive been playing with Java and Portage, developing portageMaster (like |
4 |
Java GUI for portage) for some time now. Anyway since i have upgraded to |
5 |
portage-2.0.25, everything broke because there have been some changes in |
6 |
portage output, nothing major but it did require changes in parser that |
7 |
Ive made. That got me thinking about standardised output. |
8 |
|
9 |
How hard,complicated would it be to implement "standardised output" feature to portage? |
10 |
|
11 |
Something like: |
12 |
emerge --standard --pretend --update system |
13 |
packages: |
14 |
ebuild type:update category:sys-devel name:gcc version:3.1.1-r1 |
15 |
ebuild type:new category:sys-apps name:grub version:0.90-r7 |
16 |
|
17 |
|
18 |
|
19 |
or even xml type of, that can be easily parsed: |
20 |
emerge --standard --pretend --update system |
21 |
<packages> |
22 |
<ebuild type="update" category="sys-devel" name="gcc" version="3.1.1-r1"/> |
23 |
<ebuild type="new" category="sys-apps" name="grub" version="0.90-r7"/> |
24 |
</packages> |
25 |
|
26 |
|
27 |
Obviously none of the command-line users would benefit from something |
28 |
like this, but it would make things much easier for people to design |
29 |
GUI's, there are couple of projects already i think. |
30 |
|
31 |
Regards |
32 |
Milos |