[Soc-coordination] Status Report. Project AppStream/DEP­11 for the Debian Archive. Week 5

Abhishek Bhattacharjee abhishek.bhattacharjee11 at gmail.com
Sat Jun 21 06:08:09 UTC 2014


Hi,

This week I have made a DAK module called generate_metadata.py.[0]
It generates a yaml file conforming to DEP-11[1] draft.

It also fetches Screenshots of a package(component) using urllib.
It also create a cache for the icons i.e it extracts icons from a deb
package.

The module can be run using a dak command:
>> dak.py generate-metadata <suitename>

The module make use of another script called check_appdata.py[2] which
lists all the packages(.deb files) that has appstream metadata and .desktop
files associated with them.

Next task is to create a tarball of all the icons. Inserting the yaml file
into the database. And making use of DAK's orm to fetch data rather than
using my own sql.

[0]https://github.com/abhi11/dak/blob/master/dak/generate_metadata.py
[1]https://wiki.debian.org/DEP-11#Example_of_Components.yml
[2]https://github.com/abhi11/dak/blob/master/dak/check_appdata.py

Thanks
-- 
*Abhishek Bhattacharjee*
*Pune Institute of Computer Technology*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/soc-coordination/attachments/20140621/ef5f6c3d/attachment.html>


More information about the Soc-coordination mailing list