Re: metadata of updateinfo.xml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 20, 2022 at 4:32 AM Mattia Verga via devel
<devel@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Is there any guide that explains fields of the updateinfo.xml files
> which are generated in repositories?
>
> I'm trying to figure out
> https://github.com/fedora-infra/bodhi/issues/2487 and I think we
> currently have weird data in updates. For example, looking to the
> 'issued' and 'modified' dates of few updates I see that the issued date
> is greater than the modified date... that's because Bodhi modifies the
> issued date with the timestamp of when the update is pushed to the
> repository, rather than using the submission date.
>
> I don't think that field is meant to be modified and I suppose it can
> lead yum/dnf to screw up. Is there any expert that can point me in the
> right direction here?
>

The closest thing to a guide is this schema documentation file I found
long ago from python-Updateinfo:
https://pagure.io/python-Updateinfo/blob/master/f/docs/updateinfo.xsd

In terms of a human expert, Pat Riehecky from CentOS is your best bet
since he analyzed the format and built python-Updateinfo for
Scientific Linux.

I think you're right about issued and modified dates, though. That
said, the issued date is normally supposed to be when it's released to
the repository, I believe. But if we have both issued and modified,
then issued should be when it's *first* published (first time it goes
out of pending).






--
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux