Project

Profile

Help

Issue #2550

closed

Publishing via rsync does not correctly look at publish records

Added by daviddavis about 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.12.1
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 15
Quarter:

Description

I noticed when perusing the code that this line:

https://github.com/pulp/pulp/blob/pulp-2.12.0-0.3.rc/server/pulp/plugins/rsync/publish.py#L307

Uses predistributor id (e.g. ObjectId("588b7df6418a8a1eaa5dafa1")) when it should be using distributor_id.

This means that force_full will not be automatically set to True if the predistributor publish was force_full=True or there was an error:

https://github.com/pulp/pulp/blob/pulp-2.12.0-0.3.rc/server/pulp/plugins/rsync/publish.py#L338-L343

Also available in: Atom PDF