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