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 1OYLEc-0006tH-PQ for garchives@archives.gentoo.org; Mon, 12 Jul 2010 15:47:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D768E0B60; Mon, 12 Jul 2010 15:47:52 +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 1884DE0B60 for ; Mon, 12 Jul 2010 15:47:52 +0000 (UTC) Received: by wyb39 with SMTP id 39so4319231wyb.40 for ; Mon, 12 Jul 2010 08:47:51 -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:x-face:mime-version:message-id:content-type :content-transfer-encoding; bh=7nprysrOLle+asYxDIrI8Y86suTrih3Z+vjf+cBZXrY=; b=xLKxG3iT2y/S8136/xDIK8tnSwq8oX09QAoZF+lq1tp0QI0Baz6AokzqzSDe0m08ag ZFCGaztIafAWz6G2Mho4cQEYp7fgwrv46v9CePmYOuaCVxTpCli0eRks89piTdBLLCZr d7ETKzbttHZPEvhEcBlhe0mcwW4gTelstr7+Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:x-face:mime-version:message-id :content-type:content-transfer-encoding; b=Ok6DwUQ0hfWZ/G1A3NtRlqyfjp58oQJkKhGVIT35WfjZFDgl+ia0V2u2ZDbsVBHRIf A8IuSKemUqw1FxfHm/X02WIaYyZtLsqygV9gxvr+z2K2VmSStxogTGDFBXVaYlcEl3o6 zFM6jNElAQNEdZ9IBi5EjScScgU0ngQ//pSYo= Received: by 10.216.178.141 with SMTP id f13mr3561788wem.31.1278949631886; Mon, 12 Jul 2010 08:47:11 -0700 (PDT) Received: from naboo.localnet (AMontpellier-152-1-77-215.w83-201.abo.wanadoo.fr [83.201.236.215]) by mx.google.com with ESMTPS id j60sm213055weo.31.2010.07.12.08.47.05 (version=SSLv3 cipher=RC4-MD5); Mon, 12 Jul 2010 08:47:06 -0700 (PDT) From: Detlev Casanova To: gentoo-soc@lists.gentoo.org Subject: [gentoo-soc] GSoC -- Week 7 Date: Mon, 12 Jul 2010 17:47:16 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.33; KDE/4.4.3; x86_64; ; ) 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 Message-Id: <201007121747.19750.detlev.casanova@gmail.com> Content-Type: multipart/signed; boundary="nextPart2192008.gS3y5leUjY"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 71d099d2-8306-4471-a6f2-71932a0ca885 X-Archives-Hash: 704cc94a750cd1ead00e40b348f5367e --nextPart2192008.gS3y5leUjY Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable If you like lists : =46inish 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 config= =20 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 If you don't : This week, I've decided that the interpreter is the best solution to execut= e=20 python code, especially because what's going to be used is a stable Python= =20 API. I've also written a C version of the layman API Brian Dolbec wrote earlier= =20 this week. It allows doing everything you need to do with Layman :=20 add/remove/get information from/sync a layman overlay. The C lib sources can be downloaded on my git repository :=20 git clone http://soc.dev.gentoo.org/~cazou/c-portage c-portage There is no building system yet, I'm working on it but having internet=20 connexion issues does not help at all. All you'll find in that repository is a 'src' directory. Enter it and type = the=20 compile command line : gcc -W -Wall -L/usr/lib/python2.6/ -lpython2.6 -I/usr/include/python2.6/ -o= =20 tester --std=3Dc99 -g *.c and execute ./tester. I you want it to work, You'll need Brian's Python layman API : git clone http://dev.gentooexperimental.org/~dol-sen/git/layman.git and switch to the API branch git checkout api (if this last one does not work, try git checkout -b api remotes/origin/api) You must know that memory management is still crappy and not everything has= =20 been tested. Brian might also have pushed some updates to the code taht prevents from=20 syncing an overlay. Documentation will come but currently, it's the very same as Brian's layman= =20 API. I also have to speak more, give more details and comment the code more, tha= t's=20 something I tend not to do and reminding it to me is a very good idea :-) Detlev. --nextPart2192008.gS3y5leUjY 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) iEYEABECAAYFAkw7OQcACgkQLw23C4DvRJX3sACfYH52dCodrdy5UtUkBB/5oTU+ 60QAoI1mf6LiPPWESU0LpEQiV2JEzB0C =YcKI -----END PGP SIGNATURE----- --nextPart2192008.gS3y5leUjY--