1 |
On 13:00 Sun 23 Nov , Benjamin Judas wrote: |
2 |
|
3 |
[...] |
4 |
> I already talked to genone, he said it would be no problem if I would |
5 |
> use and modify their code and pyrania told me, that he had the Idea of |
6 |
> an API-library so that all major functions could be encapsuled into |
7 |
> easy-to-use functions (for example : def merge_packet(cpv):). |
8 |
> |
9 |
> Having such a library would make things a lot easier for people that |
10 |
> want to provide alternative frontends. |
11 |
[...] |
12 |
|
13 |
My only suggestion is to make your own code feature enough abstract |
14 |
encapsulation of portage that you can easily change how it may interact with |
15 |
future versions (i.e., MVC or similar design patterns). Currently I'm working on |
16 |
separating portage into a library of python packages but it's slow work and I |
17 |
currently have no one who seems greatly interested in helping. Hopefully I'll be |
18 |
able to finish before the end of December. |
19 |
|
20 |
However, I am looking to add several things to the current portage, |
21 |
documentation, unit tests, modularity, and encapsulation of basic operations |
22 |
(possibly using interfaces to define what methods certain class should have in |
23 |
order to perform certain actions). |
24 |
|
25 |
Toodles. |
26 |
|
27 |
-- |
28 |
-------------------------~ |
29 |
----------Jason-A-Mobarak-~ |
30 |
-aether-at-gentoo-dot-org-~ |
31 |
-------------------------~ |
32 |
|
33 |
|
34 |
-- |
35 |
gentoo-dev@g.o mailing list |