[Pkg-auth-maintainers] Bug#836385: Bug#836385: yubikey-personalization: Please announce supported hardware using appstream

Petter Reinholdtsen pere at hungry.com
Mon Oct 24 11:39:25 UTC 2016


[Simon Josefsson]
> Thanks -- updated XML below.  Petter, I also modified the <id>.
>
> If nobody protest, I will add the file below as
> debian/yubikey-personalization.metainfo.xml and a .install file
> placing the XML file in /usr/share/appdata.

Very good.  Note, the AppStream maintainer have told me that
/usr/share/metadata/ is the right place for the files now.  No idea when
that changed, but I trust him to know what he is saying, as he made the
consumer for this information.  I further believe the recommended
filename in this directory is <id>.metainfo.xml, ie
com.yubico.yubikey.ykpers.metainfo.xml in this case.

> And then see everything explode. Or not.  How can we test that it
> works and does something useful?  Install the package, run
> "isenkram-lookup" and make sure yubikey-personalization shows up?  The
> tool does not have a man page on my system. :-(

Nothing will explode.  The DEP11 database generator might complain on a
web page, that is about the worst that can happen. :)

The only way I know how to test it is to upload to unstable and wait a
bit for the change to take effect in the AppStream (DEP11) database.
Then you can run

  python /usr/lib/python2.7/dist-packages/isenkram/lookup.py

to verify that the AppStream info is correct.

The XML data seemed correct to me.
-- 
Happy hacking
Petter Reinholdtsen



More information about the Pkg-auth-maintainers mailing list