Project

Profile

Help

Issue #5247

closed

An incorrect example of a distribution creation

Added by lmjachky over 4 years ago. Updated over 3 years 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.

Actions #1

Updated by lmjachky over 4 years ago

  • Project changed from RPM Support to Pulp
  • Tags Documentation added
Actions #2

Updated by amacdona@redhat.com over 4 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 57
Actions #3

Updated by rchan over 4 years ago

  • Sprint changed from Sprint 57 to Sprint 58
Actions #4

Updated by rchan over 4 years ago

  • Sprint deleted (Sprint 58)
Actions #5

Updated by dkliban@redhat.com over 3 years ago

  • Status changed from NEW to CLOSED - CURRENTRELEASE

Each plugin has documentation on how to distribute content.

Actions #6

Updated by dkliban@redhat.com over 3 years 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

Actions #7

Updated by ipanova@redhat.com over 3 years ago

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

Updated by pulpbot over 3 years ago

  • Status changed from ASSIGNED to POST
Actions #9

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 83 to Sprint 84

Added by ipanova@redhat.com over 3 years ago

Revision 7f7b361c | View on GitHub

Updated examples of auto-distribution.

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

Actions #10

Updated by ipanova@redhat.com over 3 years ago

  • Status changed from POST to MODIFIED
Actions #11

Updated by ttereshc over 3 years ago

  • Sprint/Milestone set to 3.8.0
Actions #12

Updated by pulpbot over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF