public inbox for gentoo-soc@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-soc] Rework porthole for portage API -- week 6
@ 2011-07-05 11:23 Detlev Casanova
  0 siblings, 0 replies; only message in thread
From: Detlev Casanova @ 2011-07-05 11:23 UTC (permalink / raw
  To: gentoo-soc; +Cc: brian.dolbec

[-- Attachment #1: Type: text/plain, Size: 1247 bytes --]

Hello !
I'm a bit (well, a lot) late on this report but better late than never.

This week, I've been working on the pkgcore backend again. It's coming to 
something stable and it's making us modify porthole to fit the way pkgcore 
works and even, the way portage works. The porthole backend API now manages 
PackageWrapper instances instead of simple text values to represent a package 
in porthole.

All operations from lib.py that takes package information has been moved to 
the PackageWrapper class.

This class, in the pkgcore backend, only contains an ebuild_src element from 
which almost every information can be taken.

There are some things that still need to be moved (hardmasked(), 
keywordmasked(), maskingreason(),...) and things that still need to be done :
 1) comparison functionalities
 2) port the portage_2_2 backend to using that PackageWrapper class (it 
currently doesn't work.)

That's what I'm going to do this week.

I learned that I failed 4 exams (which surprised me a lot) and I4ll have to 
present those again in mid-august.
For this and other reasons, I'm not sure I'll be able to keep working on this 
project long after the mid-term.
Things may change still but chances are slim. I'll keep you informed.

Detlev.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-05 11:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-05 11:23 [gentoo-soc] Rework porthole for portage API -- week 6 Detlev Casanova

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox