Project

Profile

Help

Task #5681

closed

Remove /pulp/api/v3/rpm/copy/ endpoint

Added by ttereshc over 4 years ago. Updated almost 4 years ago.

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

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 61
Quarter:

Description

At the moment /pulp/api/v3/rpm/copy/ allows user to copy content from one repo to another, all content or content of a specific type.
There is a story #5344 , the goal of which is to decide what REST API will be offered keeping in mind all the complicated filtering needs of users. #5344 requires more thought and work.

In order not to introduce an API endpoint which can potentially be deprecated shortly, the suggestion is to remove /pulp/api/v3/rpm/copy/ from REST API for now and add it (or similar) back when there is a clear design and understanding for all the filtering needs and smart copy options for various content types.

If user needs to copy all content from one repo to another, there is already a way to do so without this endpoint. At a repo version creation, specify a base_version to take content from, which is essentially a copy of all content from one repository to another. This use case needs to be documented.


Related issues

Related to RPM Support - Story #5344: As a user, I have a consistant API experience for copying contentCLOSED - DUPLICATEdalley

Actions
Actions #1

Updated by ttereshc over 4 years ago

  • Related to Story #5344: As a user, I have a consistant API experience for copying content added
Actions #2

Updated by ttereshc over 4 years ago

Actions #3

Updated by ipanova@redhat.com over 4 years ago

  • Groomed changed from No to Yes
  • Sprint set to Sprint 61
Actions #4

Updated by CodeHeeler over 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to CodeHeeler
Actions #6

Updated by CodeHeeler over 4 years ago

  • Status changed from ASSIGNED to POST

Added by CodeHeeler over 4 years ago

Revision 645181d6 | View on GitHub

Remove /pulp/api/v3/rpm/copy/ endpoint

Pending design decisions in #5344, unexpose the copy endpoint. Document the existing copy functionality via versions endpoint.

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

Actions #7

Updated by CodeHeeler over 4 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #8

Updated by ttereshc over 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #9

Updated by bmbouter almost 4 years ago

  • Tags deleted (Pulp 3 RPM blocker)

Also available in: Atom PDF