Project

Profile

Help

Task #3933

closed

Story #3202: As a user, I can sync RPM/SRPM/Erratum from a remote Yum/DNF repository

Save UpdateCollection and UpdateCollectionPackage in bulk

Added by bmbouter over 5 years ago. Updated over 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 41
Quarter:

Description

Create a ErrataRelatedModelSaver stage that will:

1. Read in a batch of DeclarativeContent objects
2. Filter out the UpdateRecord objects, and send the other content unit types down the pipeline
3. Bulk-save the UpdateCollection objects.
4. Bulk-save the UpdateCollectionPackage objects.
5. Send the handled UpdateRecord objects down the pipeline

This stage needs to be run just after the ContentUnitAssociation stage. That means it needs a custom pipeline, which RPM can instantiate easily. That work should be done as part of this ticket.

Also available in: Atom PDF