Account for different datetime format in Suse errata
Suse uses a different datetime format than what pulp currently expects. Instead of a formatted data and time, they use seconds since Epoch. This is preventing pulp from correctly parsing the date, leading to a blank entry.
Example: <issued date="1519129773" />
Suse's documentation on their updateinfo metadata: https://en.opensuse.org/openSUSE:Standards_Rpm_Metadata_UpdateInfo
1. Sync a suse repository that contains errata.
2. Check that pulp correctly has the expected date.
#1 Updated by bizhang over 2 years ago
I've talked to ttereshc about this, issued date in pulp is just a string, so pulp store whatever is provided in the suse errata to the database. This is one errata item from SUSE in the pulp db after sync , note that issued date is present.
Issued date is also not used for comparison anywhere, so the different format should not be a problem.
Updated date on the other hand is used for comparison, but SUSE does not use the updated field, so that should not be an issue either.
Please register to edit this issue