<p><a href="https://github.com/elextr" class="user-mention">@elextr</a> the file is not meant to be modified - there is no need... the pkgname does not belong into the AppData file...</p>

<p>Whatever process collects all distro provided appdata files and produces AppStream metadata is responsible to add the pkgname (which is also the point where all this info is available)</p>

<p>openSUSE and Fedora at least use appstream-builder for this task: you throw it at a bunch of RPMs, it extracts appdata info, does some black magic and produces and AppStream metafile, which then ends up in the repository metadata.</p>

<p>Hope that clarifies things a bit</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/1142#issuecomment-233950001">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ_ufUwQPmOlIFGZe3nnqKTdHwsX1ks5qXiOvgaJpZM4JPu0w">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJy5hy0Ug2hmkTuPIEtPmCq9ig-mNks5qXiOvgaJpZM4JPu0w.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/1142#issuecomment-233950001"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>