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.

Actions #2

Updated by jortel@redhat.com about 8 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to jortel@redhat.com
  • Priority changed from Normal to High
  • Sprint/Milestone set to 25
  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes
Actions #3

Updated by jortel@redhat.com about 8 years ago

  • Status changed from ASSIGNED to POST

https://github.com/pulp/pulp_ostree/pull/77

Note: When testing with F24 trees at: https://kojipkgs.fedoraproject.org/atomic/24/ using a depth=-1, the sync time slightly more than doubled. Went from 7 min (depth=0) and 16 min (depth=-1).

Added by jortel@redhat.com about 8 years ago

Revision 7735b5c8 | View on GitHub

Support tree traversal depth. closes #2205

Actions #4

Updated by jortel@redhat.com about 8 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #5

Updated by jortel@redhat.com about 8 years ago

  • Target Release - OSTree set to 1.2.0
Actions #6

Updated by semyers about 8 years ago

  • Platform Release set to 2.11.0
Actions #7

Updated by semyers about 8 years ago

  • Subject changed from As a user, I want to older versions of trees available to atomic hosts. to As a user, I want to pull older versions of trees available to atomic hosts.
Actions #8

Updated by semyers about 8 years ago

  • Status changed from MODIFIED to 5
Actions #9

Updated by pcreech almost 8 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #10

Updated by bmbouter over 6 years ago

  • Sprint set to Sprint 7
Actions #11

Updated by bmbouter over 6 years ago

  • Sprint/Milestone deleted (25)
Actions #12

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF