1 |
Hello fellows, |
2 |
|
3 |
I started to code a new application to make some daily tasks easier with |
4 |
portage. It is called KPortageTray. |
5 |
|
6 |
It is coded with PyKDE, so, unfortunately (or fortunately :D) you will need |
7 |
PyKDE and KDE to install it. |
8 |
I'm not sure if I make something that will need portage 2.2, if anyone can |
9 |
tell me I'll appreciate. |
10 |
|
11 |
By now, I just implemented some very common tasks like: |
12 |
|
13 |
- Sync portage tree; |
14 |
- Upgrade world set; |
15 |
- Check if there are upgrade available; |
16 |
* I'll make something to schedule it in future versions. |
17 |
- Upgrade portage version; |
18 |
- Run etc-update, revdep-rebuild or execute dep-clean at the system. |
19 |
|
20 |
I used a very simple approach: for every actions that the user must see the |
21 |
output, a script execute a konsole with kdesu. With this way, isn't necessary |
22 |
to run the application as root which, in my opinion, is better. |
23 |
|
24 |
This application can save some typing with daily tasks, but it will never |
25 |
substitute CLI, since some complicate things is very hard to handle. For |
26 |
example, if there are some Block, KPortageTray warning the user, show the |
27 |
output from emerge and let the user resolve it. But, since it is very uncommon |
28 |
to have a Block, this software can really save some time. |
29 |
|
30 |
I make some tests but it is at the beginning of development, so I'm asking for |
31 |
help do add new features / give ideas / report bugs. If the community like it, |
32 |
maybe I'll open a git repository somewhere. |
33 |
|
34 |
I took three screenshots: |
35 |
|
36 |
http://yfrog.com/7akportagetray01p |
37 |
http://yfrog.com/11kportagetray02p |
38 |
http://yfrog.com/b6kportagetray03p |
39 |
|
40 |
And I'm attaching tarball and ebuild (80KiB ~) and I would appreciate if |
41 |
someone test it and give me a feedback :) |
42 |
|
43 |
My future plans is to make possible to use just PyQT instead PyKDE or make a |
44 |
version using PyGTK. |
45 |
|
46 |
Regards, |
47 |
-- |
48 |
Ronan Arraes Jardim Chagas |
49 |
Control and Automation Engineer |
50 |
Gentoo Foundation Member |