Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-guis
Navigation:
Lists: gentoo-guis: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-guis@g.o
From: René 'Necoro' Neumann <lists@...>
Subject: Re: Why I don't like catapult
Date: Tue, 01 Apr 2008 23:59:40 +0200
-----BEGIN PGP SIGNED MESSAGE-----
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: http://catapult.origo.ethz.ch/wiki/api_exceptions

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 - http://enigmail.mozdev.org

iD8DBQFH8rBM4UOg/zhYFuARAiykAJ9U/ZZhYz0hBbe0mnVrZj+Yva7NIgCfXyMX
vGSyAUL8lFjWsNJLQHaCdY0=
=OqIs
-----END PGP SIGNATURE-----
-- 
gentoo-guis@g.o mailing list


Replies:
Re: Why I don't like catapult
-- Ciaran McCreesh
References:
Why I don't like catapult
-- Ciaran McCreesh
Re: Why I don't like catapult
-- René 'Necoro' Neumann
Re: Why I don't like catapult
-- Ciaran McCreesh
Re: Why I don't like catapult
-- René 'Necoro' Neumann
Re: Why I don't like catapult
-- Ciaran McCreesh
Re: Why I don't like catapult
-- René 'Necoro' Neumann
Navigation:
Lists: gentoo-guis: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Why I don't like catapult
Next by thread:
Re: Why I don't like catapult
Previous by date:
Re: Why I don't like catapult
Next by date:
Re: Why I don't like catapult


Updated Jun 17, 2009

Summary: Archive of the gentoo-guis mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.