Project

Profile

Help

Issue #1088

closed

Incremental publish could use the wrong primary.xml during fast-forward publish

Added by bcourt almost 9 years ago. Updated almost 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Low
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
Yes
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

The incremental publish searches for the most recently modified file with a filename that matches a regex. It would be more robust to identify the file from the old repomd.xml instead of searching for one on the filesystem. For example, if there are two primary.xml files in the repodata directory, the incremental publish should use the one from the repodata.xml and not the first one it finds.

This regex is performed here[0].

[0]: https://github.com/pulp/pulp/blob/60d8aa1406703bb0f20d3632d0a8e2f5f48b66a6/server/pulp/plugins/util/metadata_writer.py#L325-L334


Files

repomd.py (960 Bytes) repomd.py Example repomd.xml reader. jortel@redhat.com, 06/13/2016 05:52 PM

Related issues

Related to RPM Support - Issue #1087: publishing of distribution units should ignore files in repodata directoryCLOSED - CURRENTRELEASEbmbouterActions
Related to RPM Support - Issue #1086: pulp_distribution.xml sync should ignore repodata/*CLOSED - CURRENTRELEASEbizhangActions

Also available in: Atom PDF