No AppStream data for some apps

Alexander Larsson alexl at redhat.com
Fri Mar 10 11:35:18 UTC 2017


On Fri, 2017-03-10 at 12:15 +0100, Mathieu Bridon wrote:
> On Fri, 2017-03-10 at 12:07 +0100, Mathieu Bridon wrote:
> > On Fri, 2017-03-10 at 11:42 +0100, Alexander Larsson wrote:
> > > On your build machine, could you do something like:
> > > 
> > >  flatpak build-update-repo --gpg-sign=$(GPG_KEYID) repo
> > > 
> > > And see if one is created?
> > 
> > It does not:
> > 
> >   $ flatpak build-update-repo --gpg-
> > sign=E8CFA3B3C849DA4567EC56182A41910290C72C72 repo-apps
> >   Updating appstream branch
> >   Extracting icons for component org.musicbrainz.Picard.desktop
> >   Extracting icons for component org.blender.Blender.desktop
> >   Updating summary
> > 
> >   $ cat repo-apps/refs/heads/appstream/x86_64 
> >   3aed16d42931db4d04baba1d9bb5a4c0657eb41843b1112ec28f1fedeca82f92
> 
> I removed this file, and ran build-update-repo again.
> 
> Now I do have the commitmeta file.
> 
> Richard, can you check everything is right with Software for Blender
> and Picard now? :)

So, the  issue here was that if you updated the appstream branch, but
flatpak detected that nothing actually changed, then it avoided
creating an unnecessary commit. Of course, that means we didn't sign
the commit with the new gpg key.

The fix should be to sign the commit even if we kept the old commit,
and i wrote a patch for this:

https://github.com/alexlarsson/flatpak/commit/e37a412fb5d9f78c39910f9143e15fe3485c43f0

However, wit this the commitmeta keeps growing, because ostree for some
reason can't detect that commit is already signed by that key.

So, for now, if anyone runs into this issue, you'll have to manually
fix it...


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl at redhat.com            alexander.larsson at gmail.com 
He's a scarfaced one-eyed farmboy whom everyone believes is mad. She's a 
time-travelling out-of-work traffic cop living homeless in New York's 
sewers. They fight crime! 



More information about the xdg-app mailing list