pulp_rpm
pulp_rpm copied to clipboard
Store a digest of the fields for an UpdateRecord
Author: daviddavis (daviddavis)
Redmine Issue: 3942, https://pulp.plan.io/issues/3942
Currently, we have a digest field that captures a hash digest of the update record's xml. The problem is that this is very fragile and could change based on stuff like whitespace or character encoding.
Solution
Instead, store the hash digest of UpdateRecord's fields along with the its UpdateCollections and UpdateCollectionPackages. using a detereministic data structure like an ordered dictionary.
From: daviddavis (daviddavis) Date: 2020-12-03T16:26:21Z
This is a low priority and probably won't be addressed in the near term.