Project

Profile

Help

Issue #9208

closed

Published .treeinfo metadata not matching expectations (remaining issues)

Added by dalley over 3 years ago. Updated almost 3 years ago.

Status:
CLOSED - DUPLICATE
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 111
Quarter:
Q4-2021

Description

Ticket moved to GitHub: "pulp/pulp_rpm/2292":https://github.com/pulp/pulp_rpm/issues/2292


  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 - CURRENTRELEASEdalleyActions
Actions #1

Updated by dalley over 3 years ago

  • Description updated (diff)
Actions #2

Updated by dalley over 3 years ago

  • Project changed from Pulp to RPM Support
Actions #3

Updated by dalley over 3 years ago

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

Updated by dalley over 3 years 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.

Actions #5

Updated by dalley over 3 years ago

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

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 102 to Sprint 103
Actions #7

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 103 to Sprint 104
Actions #8

Updated by dalley over 3 years ago

  • Priority changed from Normal to High
Actions #9

Updated by dalley over 3 years ago

  • Priority changed from High to Normal
Actions #10

Updated by dalley over 3 years ago

  • Quarter changed from Q3-2021 to Q4-2021
Actions #11

Updated by dalley over 3 years ago

  • Priority changed from Normal to Low
Actions #12

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 104 to Sprint 105
Actions #13

Updated by dalley over 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dalley
Actions #14

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 105 to Sprint 106
Actions #15

Updated by dalley about 3 years ago

  • Status changed from ASSIGNED to NEW
  • Assignee deleted (dalley)
Actions #16

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 106 to Sprint 107
Actions #17

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 107 to Sprint 108
Actions #18

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 108 to Sprint 109
Actions #19

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 109 to Sprint 110
Actions #20

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 110 to Sprint 111
Actions #21

Updated by fao89 almost 3 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF