31 Jul 2012 01:53
Penultimate report: Semantic Package Review Interface for mentors.debian.net
Hi, this is the fourth bi-weekly report on my Summer of Code project 'Semantic Package Review Interface for mentors.debian.net'. My project aims to extract metadata from packages submitted to mentors.d.n[1], and use this data to match a mackage with a potential sponsor. Since a lot of packages get stuck in the mentoring process because their maintainers have difficulty finding a sponsor, this should ease their entering the Debian process. 1 New plugin API for debexpo's importer ========================================== Last report, I mentioned an attempt at refactoring of the importer; unfortunately I had to give up because my changes were not a clear improvement and this was taking too much time compared its usefulness. Thus, I only applied changes as small as possible to the importer, and managed to integrate the new plugin API. Moreover, I have improved the model for accessing the stored plugin results. Using sqlalchemy's "association proxy"[2], I managed to represent the data of a plugin result as a dictionary-like object. I also switched to the declarative API. Both of these changes made the plugins look a lot nicer than with the former API: [3] I can't resist giving a little example for the access to the plugin results, since it looks so nice: In [4]: q = meta.session.query(PluginResult)(Continue reading)
RSS Feed