Project

Profile

Help

Issue #9208

Published .treeinfo metadata not matching expectations (remaining issues)

Added by dalley about 2 months ago. Updated about 9 hours ago.

Status:
ASSIGNED
Priority:
Low
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 106
Quarter:
Q4-2021

Description

  1. "packages" field on variants may not match with reality in the mirror case. You can see that the "repository" and "packages" fields for the "variant-External" variant which previously had both the repository and packages listed as "../rpm-signed/" now maps to "External" and "External/Packages", respectively. But in the event of mirror sync, this is incorrect.

Likewise, the Land variant is wrong - but this may be a fixture issue. There is no such "Packages" directory. https://fixtures.pulpproject.org/rpm-distribution-tree/variants/land/

 ('change', 'variant-Land.packages', ('Packages', 'Land/Packages')),
 ('change', 'variant-Land.repository', ('variants/land', 'Land')),
 ('change',
  'variant-External.packages',
  ('../rpm-signed/', 'External/Packages')),
 ('change', 'variant-External.repository', ('../rpm-signed/', 'External'))]
  1. The order of the "variants" is different from the original - since productmd sometimes places significance on the first variant in the list, this could possibly have an impact in some cases.
[('change', 'general.variants', ('Land,Sea,External', 'External,Land,Sea')),
 ('change', 'tree.variants', ('Land,Sea,External', 'External,Land,Sea')),

test_publish.py::DistributionTreeMetadataTestCase needs to be updated for both of these


Related issues

Related to RPM Support - Issue #8622: CentOS 8 BaseOS .treeinfo's [general] section says AppStream instead of BaseOSCLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by dalley about 2 months ago

  • Description updated (diff)

#2 Updated by dalley about 2 months ago

  • Project changed from Pulp to RPM Support

#3 Updated by dalley about 2 months ago

  • Related to Issue #8622: CentOS 8 BaseOS .treeinfo's [general] section says AppStream instead of BaseOS added

#4 Updated by dalley about 2 months ago

The "packages" issue may extend to the database, it looks like we're saving the rewritten, nonexistent paths in postgresql.

I think that doesn't necessarily impact the metadata generation though.

#5 Updated by dalley about 2 months ago

  • Triaged changed from No to Yes
  • Quarter set to Q3-2021

#6 Updated by rchan about 1 month ago

  • Sprint changed from Sprint 102 to Sprint 103

#7 Updated by rchan 28 days ago

  • Sprint changed from Sprint 103 to Sprint 104

#8 Updated by dalley 22 days ago

  • Priority changed from Normal to High

#9 Updated by dalley 22 days ago

  • Priority changed from High to Normal

#10 Updated by dalley 22 days ago

  • Quarter changed from Q3-2021 to Q4-2021

#11 Updated by dalley 22 days ago

  • Priority changed from Normal to Low

#12 Updated by rchan 14 days ago

  • Sprint changed from Sprint 104 to Sprint 105

#13 Updated by dalley 9 days ago

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

#14 Updated by rchan about 9 hours ago

  • Sprint changed from Sprint 105 to Sprint 106

Please register to edit this issue

Also available in: Atom PDF