Story #2205
closedAs a user, I want to pull older versions of trees available to atomic hosts.
100%
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.
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
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
Updated by jortel@redhat.com about 8 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset 7735b5c8ba2e5b9bfeb4d6228b5956cd3402e6c9.
Updated by jortel@redhat.com about 8 years ago
- Target Release - OSTree set to 1.2.0
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.
Updated by pcreech almost 8 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Support tree traversal depth. closes #2205