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
_______________________________________________
Distributions mailing list
Distributions@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/distributions

Reply via email to