Project

Profile

Help

Issue #5247

An incorrect example of a distribution creation

Added by lmjachky over 1 year ago. Updated about 1 month ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Sprint 84
Quarter:

Description

In the documentation https://docs.pulpproject.org/en/3.0/nightly/workflows/exposing-content.html#auto-distribution-of-a-repository, there is an example that shows a way of creating a distribution out of a repository. However, the example is not correct.

When I execute the following call:
http POST :24817/pulp/api/v3/distributions/file/file/ name='baz' base_path='mypath' repository=$REPO_HREF``

I get this response:
{
"repository": [
"Unexpected field"
]
}

It is possible that instead of /distributions/file/file there should be used /distribution/ for docker or ansible.

Associated revisions

Revision 7f7b361c View on GitHub
Added by ipanova@redhat.com about 1 month ago

Updated examples of auto-distribution.

closes #5247 https://pulp.plan.io/issues/5247

History

#1 Updated by lmjachky over 1 year ago

  • Project changed from RPM Support to Pulp
  • Tags Documentation added

#2 Updated by amacdona@redhat.com over 1 year ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 57

#3 Updated by rchan over 1 year ago

  • Sprint changed from Sprint 57 to Sprint 58

#4 Updated by rchan about 1 year ago

  • Sprint deleted (Sprint 58)

#5 Updated by dkliban@redhat.com 2 months ago

  • Status changed from NEW to CLOSED - CURRENTRELEASE

Each plugin has documentation on how to distribute content.

#6 Updated by dkliban@redhat.com 2 months ago

  • Status changed from CLOSED - CURRENTRELEASE to NEW

The docs need to be updated to not describe auto distribution as an option for pulp_file.

https://docs.pulpproject.org/pulpcore/en/3.7/workflows/exposing-content.html#auto-distribution-of-a-repository

#7 Updated by ipanova@redhat.com about 2 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ipanova@redhat.com
  • Sprint set to Sprint 83

#8 Updated by pulpbot about 2 months ago

  • Status changed from ASSIGNED to POST

#9 Updated by rchan about 2 months ago

  • Sprint changed from Sprint 83 to Sprint 84

#10 Updated by ipanova@redhat.com about 1 month ago

  • Status changed from POST to MODIFIED

#11 Updated by ttereshc about 1 month ago

  • Sprint/Milestone set to 3.8.0

#12 Updated by pulpbot about 1 month ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF