#2783 Kojira failing with non-int timestamps in repomd.xml
Closed: Fixed by tkopecek. Opened by alexi.

I noticed Kojira was showing the following warnings:

[WARNING] koji.repo.regen: Unable to read timestamp for external repo: http://linuxsoft.cern.ch/cern/centos/s8-snapshots/20210317/CERN/x86_64/repodata/repomd.xml

It seems the problem with that repomd is that some timestamps are not ints:

<timestamp>1615932138.83</timestamp>

That repo metadata is generated by Mash, which uses createrepo under the hood. I couldn't find details of if the timestamp can have a decimal part or not, so I'm not quite sure if the bug is in createrepo or in Kojira, but the fix in Kojira is pretty simple.


I agree it is for free to parse it as float.

Metadata Update from @tkopecek:
- Custom field Size adjusted to None

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.25

PR #2784

Metadata Update from @mfilip:
- Issue tagged with: testing-ready

Metadata Update from @mfilip:
- Issue tagged with: testing-done

Commit d8c46e85 fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/2783

Please continue any further discussion there.

Metadata
Related Pull Requests