AppStream: appdata-generate proof-of-concept

Pavol Rusnak prusnak at opensuse.org
Wed Feb 9 10:46:52 PST 2011


Hi all!

I wrote appdata-generate[1] script as a proof-of-concept code. It takes
all *.desktop files in the current directory and creates appdata.xml
from them. It's written in python, so it should be easy to incorporate
into createrepo later (and it's not that complex, so porting it to
language, in which deb counterpart of createrepo is written in, should
not be hard as well). Comments/patches welcome as usual! :-)

[1] http://gitorious.org/appstream/resources/trees/master/generator

PS: You can validate the resulting XML with the following command:

$ xmllint --schema appdata.xsd appdata.xml

-- 
Best Regards / S pozdravom,

Pavol RUSNAK                                       SUSE LINUX, s.r.o
openSUSE Boosters Team                            Lihovarska 1060/12
PGP 0xA6917144                                         19000 Praha 9
prusnak[at]opensuse.org                               Czech Republic


More information about the Distributions mailing list