Project

Profile

Help

Issue #5247

An incorrect example of a distribution creation

Added by lmjachky 2 months ago. Updated about 1 month ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

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.

History

#1 Updated by lmjachky 2 months ago

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

#2 Updated by amacdona@redhat.com 2 months ago

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

#3 Updated by rchan about 2 months ago

  • Sprint changed from Sprint 57 to Sprint 58

#4 Updated by rchan about 1 month ago

  • Sprint deleted (Sprint 58)

#5 Updated by JuanitaWarren about 1 month ago

Excellent material to learn awesome stories. I read so many funny [[https://awriter.org/best-research-paper-writing-service/]] children stories but this post is wonderful post. Thanks

Please register to edit this issue

Also available in: Atom PDF