Skip to content

Move ActionItems into PackageData

While thinking into ways to factorize as much code as possible in all the tasks, it occurred to me that ActionItems are really very close to PackageData and that we would probably be better served by replacing them:

  • add created_timestamp/last_updated_timestamp to PackageData
  • move item_type in the key name of PackageData with a "todo:" prefix, so we could have entries like "todo:new-policy" or "todo:new-upstream-version" or "todo:rc-bugs"
  • move short_description and ActionItemType.full_description_template into the non-normalized data field
  • replace the severity attribute with a ordering attribute that is more generic? The attribute would map to the same severities for the case of "todo:*" entries but could be used in other ways for other PackageData entries. Or maybe move this to the data field... but it would be harder to get back a sorted list of action items.