From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OYi4Z-0005tW-SY for garchives@archives.gentoo.org; Tue, 13 Jul 2010 16:11:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8388CE0B14; Tue, 13 Jul 2010 16:10:58 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 209C6E00E9 for ; Tue, 13 Jul 2010 16:10:58 +0000 (UTC) Received: by wyb39 with SMTP id 39so5530692wyb.40 for ; Tue, 13 Jul 2010 09:10:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:x-face:mime-version:content-type :content-transfer-encoding:message-id; bh=nMUxbtCA6FyyzZ14wRGRwvj+HInFVwC9XeguCQXprN0=; b=oSqmbeGDUpnrxCRdG2a3e2NvQsOqMQIdemHdxL3keheOGU4koKfOT582uyd+FPvfaS 8NlxL3N6STrJ8QV3grPz+Wk/ALlcRRFfxAJPUz+D3nfvqAtBfGEO54ox/nIz2kNvh/CV 2000adE94Wq4DsufaLLj3vmBnvveocvTmpVRQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:x-face :mime-version:content-type:content-transfer-encoding:message-id; b=F+p8xwF+93xx+J6xb1XnpvRAJj1Pma+vAyV7fmxumeQZ9BYuzS2UsNteVHEPfiwq/H 47fPuurXoMXaOVQ0TfjpWP7BSOinjzLuy6SjtxUyywo/Z8LkCBmYW+gQcemVDo7q1WjM SCgtQjMpWSr9CJ2msi9Aybnk+w8j26SrKY+4o= Received: by 10.216.185.143 with SMTP id u15mr9802612wem.21.1279037457419; Tue, 13 Jul 2010 09:10:57 -0700 (PDT) Received: from naboo.localnet ([81.251.169.53]) by mx.google.com with ESMTPS id o30sm1707845wej.1.2010.07.13.09.10.55 (version=SSLv3 cipher=RC4-MD5); Tue, 13 Jul 2010 09:10:56 -0700 (PDT) From: Detlev Casanova To: gentoo-soc@lists.gentoo.org Subject: [gentoo-soc] Re: GSoC -- Week 7 Date: Tue, 13 Jul 2010 18:11:05 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.33; KDE/4.4.3; x86_64; ; ) References: <201007121747.19750.detlev.casanova@gmail.com> In-Reply-To: <201007121747.19750.detlev.casanova@gmail.com> X-Face: 7?1,~hLJv9R%<#DNR6m@9W**a.!h-)!o5B1\Y*}7"#k%MzvMP?z#A"Y@ai5SY[@JE95J'A QKwlk'5CbWOp:v5^HL>*a-.cPv*sXU?_ Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-soc@lists.gentoo.org Reply-to: gentoo-soc@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2854405.CQCFpEvY4d"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201007131811.10365.detlev.casanova@gmail.com> X-Archives-Salt: f29b13dd-cafe-4a80-9d2e-8fe526875fd3 X-Archives-Hash: 456d38ba18a3caf33d524fc0d90b0622 --nextPart2854405.CQCFpEvY4d Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable On Monday 12 July 2010 17:47:16 Detlev Casanova wrote: > If you like lists : >=20 > Finish a working version of the interpreter > Make the interpreter work with arguments > Make the interpreter work with class instances > Read out the new layman API > Solve a problem that prevents functions from being executed > Create an overlay C class that uses the new layman API > Restructure classes > Add some methods to Overlay, fix some warnings > Implement Config and DbBase > Add a C <-> Python Dict class and fix DbBase to take a Dict for it's conf= ig > argument > Get proper layman branch, Check what should really be implemented > Implement the whole LaymanAPI > Get the proper layman Python library and fix BareConfig constructor > Make tester and fix compilation issues >=20 > If you don't : >=20 > This week, I've decided that the interpreter is the best solution to > execute python code, especially because what's going to be used is a > stable Python API. >=20 > I've also written a C version of the layman API Brian Dolbec wrote earlier > this week. It allows doing everything you need to do with Layman : > add/remove/get information from/sync a layman overlay. >=20 > The C lib sources can be downloaded on my git repository : >=20 > git clone http://soc.dev.gentoo.org/~cazou/c-portage c-portage I changed the location of the repository, it is now in http://soc.dev.gentoo.org/~cazou/c-layman so, do a=20 git clone http://soc.dev.gentoo.org/~cazou/c-layman c-layman > There is no building system yet, I'm working on it but having internet > connexion issues does not help at all. >=20 > All you'll find in that repository is a 'src' directory. Enter it and type > the compile command line : >=20 > gcc -W -Wall -L/usr/lib/python2.6/ -lpython2.6 -I/usr/include/python2.6/ = =2Do > tester --std=3Dc99 -g *.c >=20 > and execute ./tester. >=20 > I you want it to work, You'll need Brian's Python layman API : >=20 > git clone http://dev.gentooexperimental.org/~dol-sen/git/layman.git >=20 > and switch to the API branch >=20 > git checkout api >=20 > (if this last one does not work, try git checkout -b api > remotes/origin/api) >=20 > You must know that memory management is still crappy and not everything h= as > been tested. > Brian might also have pushed some updates to the code taht prevents from > syncing an overlay. >=20 > Documentation will come but currently, it's the very same as Brian's laym= an > API. >=20 > I also have to speak more, give more details and comment the code more, > that's something I tend not to do and reminding it to me is a very good > idea :-) Cheers, Detlev --nextPart2854405.CQCFpEvY4d Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEABECAAYFAkw8kB4ACgkQLw23C4DvRJWP9ACeLFmPawDQl6oH/aFwjfuXZGag 5fUAmwe6f5yK9pOXaOksHv2MOV2eV15M =FeqM -----END PGP SIGNATURE----- --nextPart2854405.CQCFpEvY4d--