#3829 dist-repo can create repodata with wrong checksums
Closed: Fixed 9 months ago by tkopecek. Opened 11 months ago 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

11 months ago

there is some further design discussion in #3838

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

9 months ago

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

9 months ago

Commit ad0566d relates to this ticket

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #3838 Merged 9 months ago