<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 7, 2019 at 10:04 PM Neal Gompa <<a href="mailto:ngompa13@gmail.com">ngompa13@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Nov 7, 2019 at 3:48 PM Tatiana Tereshchenko <<a href="mailto:ttereshc@redhat.com" target="_blank">ttereshc@redhat.com</a>> wrote:<br>
><br>
> Advisory<br>
><br>
> Opensuse advisory<br>
><br>
> some fields differs (reboot_suggested != restart_suggested)<br>
><br>
<br>
These are not the same fields. The restart_suggested field indicates<br>
that the update tool should restart itself after this update is<br>
applied and continue onward. SUSE updateinfo uses both fields.<br>
<br>
Cf. <a href="https://en.opensuse.org/openSUSE:Standards_Rpm_Metadata_UpdateInfo#restart_suggested" rel="noreferrer" target="_blank">https://en.opensuse.org/openSUSE:Standards_Rpm_Metadata_UpdateInfo#restart_suggested</a><br>
<br>
> AI: convince createrepo_c team to support suse fields :)<br>
><br>
<br>
Is there something in createrepo_c that prevents the extra fields from<br>
working? This is the first time I'm hearing of it, as the SUSE guys<br>
have been using createrepo_c for a while now in their build system...<br><br></blockquote><div><br></div><div>Hi Neal,  </div><div>It depends how they use it. If they generate updateinfo.xml separately and then just add it as yet another repodata, there is no limitation to what one can add.</div><div>We are using createrepo_c library to parse/generate updateinfo.xml. I believe the reporter hasn't checked yet, if certain fields are supported or not, but a quick look into the code suggests that they are not.</div><div>E.g. here is the list of fields for the package in advisory package list  <a href="https://github.com/rpm-software-management/createrepo_c/blob/master/src/updateinfo.h#L38-L51">https://github.com/rpm-software-management/createrepo_c/blob/master/src/updateinfo.h#L38-L51</a>.</div><div><br></div><div>Tanya</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
--<br>
真実はいつも一つ!/ Always, there's only one truth!<br>
</blockquote></div></div>