Gentoo Archives: gentoo-guis

From: "René 'Necoro' Neumann" <lists@××××××.eu>
To: gentoo-guis@l.g.o
Cc: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Subject: Re: [gentoo-guis] Why I don't like catapult
Date: Tue, 01 Apr 2008 21:57:04
In Reply to: Re: [gentoo-guis] Why I don't like catapult by "René 'Necoro' Neumann"
Hash: SHA1

René 'Necoro' Neumann schrieb:
> Ciaran McCreesh schrieb: >> Sounds like you need a layered architecture. A low level catapult to >> package manager layer, and a high level package manager independent >> extras layer. > > > Currently working on transforming it ... Will post the results later on :) >
Ok - I got some stuff done today: - - find_packages now only supports package specs. It throws an AmbiguousPackage error if there is something ambiguous. Note: if "" is passed as the spec, _everything_ is returned - - list_categories always returns all categories - - filter_list has been implemented as part of libcatapult which takes a globbing string (allowing "*" and "?") and a list - and filters. (Note: This is currently not implemented in a nice way. The python wrappers are longer than the function itself ;)) - - removed get_environment and get_world_file_path from the API - - added the "name()" method to the admin interface - - added first exception/error support. For a detailed listing of currently known errors: And I had an idea about getting rid of dbus (at least in some way): Instead of forcing dbus, we first implement catapult as a library. The dbus support is additional and would be a small wrapper on top of this library. So we had both worlds combined. To get the portage code ported, I'm going to have a look into Cython/Pyrex. This is probably not the most performant way - but who cares ;) Only one thing has to be solved: How is it possible to load additional "catapult providers" on the fly? - So similar to the dbus way: You install catapult and additional providers (e.g. catapult-portage) and then load the correct libs at runtime. I guess this can be answered by someone who has a deeper knowledge of C than me ;) For reference - the latest revisions having this changes implemented: catapult rev: 25 catapult-portage rev: 41 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - iD8DBQFH8rBM4UOg/zhYFuARAiykAJ9U/ZZhYz0hBbe0mnVrZj+Yva7NIgCfXyMX vGSyAUL8lFjWsNJLQHaCdY0= =OqIs -----END PGP SIGNATURE----- -- gentoo-guis@l.g.o mailing list


Subject Author
Re: [gentoo-guis] Why I don't like catapult Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>