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_timestampto PackageData - move
item_typein 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_descriptionandActionItemType.full_description_templateinto the non-normalizeddatafield - replace the
severityattribute with aorderingattribute 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.