Project

Profile

Help

Issue #9219

Backport #9218: Backport #8622 "CentOS 8 BaseOS .treeinfo's [general] section says AppStream instead of BaseOS" to 3.14.z

Mirrored .treeinfo metadata needs to be rewritten in cases where the relative location of the sub-repos moved

Added by dalley 3 months ago. Updated about 2 months ago.

Status:
CLOSED - DUPLICATE
Priority:
High
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Quarter:

Description

When .treeinfo contains relative paths to a location outside of the repository, as is the case with CentOS 8, Pulp cannot serve those sub-repos precisely as they are. So it syncs all of them and publishes all of them into one repository with subdirectories for the sub-repos, and writes the locations of these sub-repos into the .treeinfo metadata.

In the mirrored metadata case, the .treeinfo file will be pointing to the wrong locations, so we need to rewrite the .treeinfo file just like we do during a standard publish.

As .treeinfo isn't checksummed or signed we aren't prevented from doing this.


Related issues

Copied from RPM Support - Issue #9123: Mirrored .treeinfo metadata needs to be rewritten in cases where the relative location of the sub-repos movedCLOSED - DUPLICATE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by dalley 3 months ago

  • Copied from Issue #9123: Mirrored .treeinfo metadata needs to be rewritten in cases where the relative location of the sub-repos moved added

#2 Updated by dalley about 2 months ago

  • Priority changed from Normal to High
  • Sprint changed from Sprint 101 to Sprint 104

#3 Updated by dalley about 2 months ago

  • Status changed from NEW to CLOSED - DUPLICATE
  • Assignee deleted (dalley)
  • Sprint deleted (Sprint 104)

Please register to edit this issue

Also available in: Atom PDF