Project

Profile

Help

Story #5829

closed

Add support for opensuse UpdateRecord

Added by ppicka over 4 years ago. Updated about 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 70
Quarter:

Description

suse UpdateRecord has two more fields for update[record]:
- restart_suggested [bool]
- relogin_suggested [bool]

Found that createrepo_c raise exception when try to get 'issued_from' as suse uses epoch time

Collections' 'name' and 'short[name]' is not used in real repo[1] (pulp expect at least empty not null).
pythons' getattr default value is not enough.
In official suse docs[0] hierarchy of collection is 'short' is an attribute and 'name' is element nested under 'collection'.

If these are workaround sync is ok tested on suse repo [1]

[0] https://en.opensuse.org/openSUSE:Standards_Rpm_Metadata_UpdateInfo
[1] https://download.opensuse.org/update/leap/42.3/oss/

Also available in: Atom PDF