Actions
Issue #7886
closedIssue #7673: Support synchronization of upstream repos with minimal Release file fields including for flat repos
Make Codename field optional
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Debian:
Platform Release:
Target Release - Debian:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
Right now we require upstream Release files to publish a "Codename" field.
Since all our internals actually use the "distribution" and not the codename (which is a path and therefore allways exists uniquely), we don't actually need repos to have a codename.
Examples of repositories without a codename exist in the wild, so we should make it optional. This will be easy to do.
Updated by quba42 about 4 years ago
I am using the following reproducer/test case:
BASE_ADDR=':'
ENTITIES_NAME='test1'
REPO_HREF=$(http post "${BASE_ADDR}"/pulp/api/v3/repositories/deb/apt/ name="${ENTITIES_NAME}" | jq -r '.pulp_href')
REMOTE_HREF=$(http post "${BASE_ADDR}"/pulp/api/v3/remotes/deb/apt/ name="${ENTITIES_NAME}" distributions="bionic" components="stable" architectures="amd64" url="https://download.docker.com/linux/ubuntu/" | jq -r '.pulp_href')
SYNC_TASK_HREF=$(http post "${BASE_ADDR}${REPO_HREF}"sync/ remote="${REMOTE_HREF}" | jq -r '.task')
http get "${BASE_ADDR}${SYNC_TASK_HREF}"
Updated by pulpbot almost 4 years ago
- Status changed from NEW to POST
Added by quba42 almost 4 years ago
Updated by quba42 almost 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset 587b766bf38e54991b62d5f15d72d0ff885bc12e.
Updated by pulpbot almost 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Make codename an optional field
fixes #7886 https://pulp.plan.io/issues/7886