Project

Profile

Help

Issue #4665

closed

Field base_version set as none even when repo has multiple versions

Added by kersom over 5 years ago. Updated about 5 years ago.

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

Description

Once a repository has more than one version, the second one is expected to have the field `base_version` linked to the first version.

See docs: https://docs.pulpproject.org/en/3.0/nightly/restapi.html#operation/repositories_versions_read

[{'_created': '2018-12-21T01:42:00.315279Z',
  '_href': '/pulp/api/v3/repositories/3861f724-072f-4cff-8b49-eded158a34c6/versions/2/',
  'base_version': None,
  'content_summary': {'added': {},
                      'present': {'file.file': {'count': 3,
                                                'href': '/pulp/api/v3/content/file/files/?repository_version=/pulp/api/v3/repositories/3861f724-072f-4cff-8b49-eded158a34c6/versions/2/'}},
                      'removed': {}},
  'number': 2},
 {'_created': '2018-12-21T01:39:58.340692Z',
  '_href': '/pulp/api/v3/repositories/3861f724-072f-4cff-8b49-eded158a34c6/versions/1/',
  'base_version': None,
  'content_summary': {'added': {'file.file': {'count': 3,
                                              'href': '/pulp/api/v3/content/file/files/?repository_version_added=/pulp/api/v3/repositories/3861f724-072f-4cff-8b49-eded158a34c6/versions/1/'}},
                      'present': {'file.file': {'count': 3,
                                                'href': '/pulp/api/v3/content/file/files/?repository_version=/pulp/api/v3/repositories/3861f724-072f-4cff-8b49-eded158a34c6/versions/1/'}},
                      'removed': {}},
  'number': 1}]

repo versions were created using 2 syncs. first a lazy sync, and second a immediate sync.

Pulp 3 installation from source. April/09


Related issues

Related to Pulp - Story #4680: As a user I have lifecycle docs in pulpcore workflowsCLOSED - CURRENTRELEASE

Actions

Also available in: Atom PDF