Issue #3435
closedAccount for different datetime format in Suse errata
Description
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
Verification steps:
1. Sync a suse repository that contains errata.
- http://download.opensuse.org/update/openSUSE-stable/
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 [0], 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.
[0] https://paste.fedoraproject.org/paste/xPVqjG3ze1VcZ7B4C8YREA
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.