Project

Profile

Help

Story #5829

Add support for opensuse UpdateRecord

Added by ppicka 4 months ago. Updated 7 days ago.

Status:
POST
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

0%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
Yes
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 69

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/


Checklist

History

#1 Updated by ppicka 4 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ppicka

#2 Updated by ppicka 4 months ago

  • Status changed from ASSIGNED to NEW
  • Assignee deleted (ppicka)

Bugzilla filled for DNF for createrepo_c part https://bugzilla.redhat.com/show_bug.cgi?id=1779751

Unassigning from myself as waiting for bugzilla to be solved.

#3 Updated by ppicka 2 months ago

  • Sprint/Milestone set to Pulp 3.x RPM (Katello release)

#4 Updated by ppicka about 1 month ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ppicka

#5 Updated by ppicka 20 days ago

  • Checklist item createrepo_c to parse epoch time set to Done

#6 Updated by ttereshc 20 days ago

  • Groomed changed from No to Yes
  • Sprint set to Sprint 68

#7 Updated by ppicka 17 days ago

  • Checklist item Add missing fields to UpdateRecord model set to Done
  • Checklist item Fix collections' 'name' and 'shortname' parse set to Done

#8 Updated by ppicka 17 days ago

  • Status changed from ASSIGNED to POST

#9 Updated by rchan 13 days ago

  • Sprint changed from Sprint 68 to Sprint 69

Please register to edit this issue

Also available in: Atom PDF