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.
Updated by bizhang about 5 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.
Updated by dalley about 5 years ago
- Status changed from NEW to CLOSED - NOTABUG
- Triaged changed from No to Yes
Updated by ttereshc about 5 years ago
"issued" date is not blank in Pulp database. After some discussion with reporter, this date is likey not parsed correctly by Katello, so Katello issue will be filed.
Updated by bmbouter almost 4 years ago
- Tags Pulp 2 added