#3829 dist-repo can create repodata with wrong checksums
Closed: Fixed by tkopecek. Opened by tkopecek.

As previous repodata could contain different sigkey or unsigned packages, reused repodata via createrepo_c caching can pass the "old" checksums to new repodata (it is by default only selected by nvr). It is a question if all distrepo tasks should disable caching (or at least set createrepo_skip_stat=True) or make a new CLI/API option ala --force or --nocache to request this behaviour. I think that createrepo_skip_stat=True is a good compromise. @mikem?


Do you mean createrepo_skip_stat=False? We default to True already, and it seems like skipping the stat would contribute to the problem.

Of course, I'm sure we added this option for performance reasons, but at least it's configurable.

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

Of course - False.

there is some further design discussion in #3838

Metadata Update from @relias-redhat:
- Issue tagged with: testing-ready

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

Commit 26287a8e fixes this issue

Commit ad0566d7 relates to this ticket

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

Please continue any further discussion there.

Metadata
Related Pull Requests