pulp_rpm icon indicating copy to clipboard operation
pulp_rpm copied to clipboard

Store a digest of the fields for an UpdateRecord

Open pulpbot opened this issue 4 years ago • 1 comments

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.

pulpbot avatar Dec 22 '21 15:12 pulpbot

From: daviddavis (daviddavis) Date: 2020-12-03T16:26:21Z


This is a low priority and probably won't be addressed in the near term.

pulpbot avatar Dec 22 '21 15:12 pulpbot