Project

Profile

Help

Story #2205

closed

As a user, I want to pull older versions of trees available to atomic hosts.

Added by jortel@redhat.com over 8 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
2.11.0
Target Release - OSTree:
1.2.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Sprint 7
Quarter:

Description

The depth option specifies the tree traversal depth. The default (when not specified) is 0 which means only the latest commit is pulled. A value of -1 means the depth is unlimited.

On atomic hosts, branches indicate a product (Eg: RHEL7) and the version(s) come from the version information in the commit metadata.

Example:
[] are commits

/branch/rhel/7/os  ------> [7.3]
                           [7.2]
                           [7.1]
                           [7.0]

Currently pulp does not support the depth option in the importer configuration so when the /branch/rhel/7/os is pulled, only the [7.3] commit is pulled. By adding support for depth option and passing it to libostree, users can control pulling older version. For example: depth=3 would result in pulp pulling 7.3, 7.2 and 7.1.

The depth option would also need to be supported by the distributor to control the publishing depth.

Also available in: Atom PDF