#2783 Kojira failing with non-int timestamps in repomd.xml
Closed: Fixed 3 years ago by tkopecek. Opened 3 years ago 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

3 years ago

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

3 years ago

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

3 years ago

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

3 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #2785 Closed 3 years ago
  • #2784 Merged 3 years ago