Project

Profile

Help

Story #2132

closed

As a consumer of Pulp content I want ISO & ISO_rsync distributor to support relative_url for consistency with yum

Added by rmcgover almost 8 years ago. Updated about 5 years ago.

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

100%

Estimated time:
Platform Release:
2.11.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Sprint 8
Quarter:

Description

In pulp 2.10, yum and rsync distributors have a relative_url config key which allows customizing the directory used for publishing.

ISO distributor doesn't seem to have this and instead will always use a fixed directory layout of {ISO_HTTP_DIR}/{repo.id}.

This inconsistency is confusing to our users and leaks the pulp repo IDs into user-visible locations which is undesired. It would be good to support relative_url also for iso & iso_rsync distributors with the same semantics.

Acceptance criteria:

  • relative_url is documented under https://docs.pulpproject.org/plugins/pulp_rpm/tech-reference/iso-plugins.html#iso-distributor
  • relative_url is optional for ISO distributor (for backwards-compat)
  • if relative_url is set to some/relative/path on iso distributor, then ISO files are published to {ISO_HTTP_DIR}/some/relative/path
  • if relative_url is set on iso distributor, then iso_rsync_distributor automatically uses it for the publish, with same semantics as how rpm_rsync_distributor uses yum distributor's relative_url.

Also available in: Atom PDF