Project

Profile

Help

Story #4947

closed

As a user I can add tags to a repository by name.

Added by amacdona@redhat.com over 5 years ago. Updated almost 5 years ago.

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

100%

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

Description

This user story is doable by the initial design (https://pulp.plan.io/issues/3405), but it currently requires users to make a number of preliminary calls to pulp to gather information that could be replaced with more arguments to a single call. My guess is that adding units by tag name and source repo will be a common use case.

This story is to accept repository version hrefs and tag names. If they are provided, they should be used to generate a list of tag content units to add to a repository, and this list should be passed to the rest of the work implemented in 3405.

Endpoint

POST v3/docker/tags/copy repo_source ='' repo_dest='' name=X will recursively copy everything under tag X
POST v3/docker/tags/copy repo_source ='' repo_dest='' will recursively copy all the tags


Related issues

Blocked by Container Support - Story #3405: As a user I can add Content Units to a repository recursivelyCLOSED - CURRENTRELEASEamacdona@redhat.com

Actions
Actions #1

Updated by amacdona@redhat.com over 5 years ago

  • Project changed from Pulp to Docker Support
Actions #2

Updated by amacdona@redhat.com over 5 years ago

  • Description updated (diff)
Actions #3

Updated by amacdona@redhat.com over 5 years ago

  • Blocked by Story #3405: As a user I can add Content Units to a repository recursively added
Actions #4

Updated by amacdona@redhat.com over 5 years ago

I am leaning towards this being a separate API endpoint that deploys the same task. This would make validation and docs much cleaner.

Actions #5

Updated by ipanova@redhat.com over 5 years ago

  • Tracker changed from Issue to Story
  • % Done set to 0
Actions #6

Updated by ipanova@redhat.com over 5 years ago

  • Description updated (diff)
Actions #7

Updated by amacdona@redhat.com over 5 years ago

  • Groomed changed from No to Yes
Actions #8

Updated by ipanova@redhat.com over 5 years ago

  • Sprint set to Sprint 57
Actions #9

Updated by amacdona@redhat.com over 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to amacdona@redhat.com
Actions #10

Updated by ipanova@redhat.com over 5 years ago

  • Status changed from ASSIGNED to POST

Added by amacdona@redhat.com over 5 years ago

Revision 9e313787 | View on GitHub

Add endpoint to copy tags from source repository

https://pulp.plan.io/issues/4947 fixes #4947

Added by amacdona@redhat.com over 5 years ago

Revision 9e313787 | View on GitHub

Add endpoint to copy tags from source repository

https://pulp.plan.io/issues/4947 fixes #4947

Added by amacdona@redhat.com over 5 years ago

Revision 9e313787 | View on GitHub

Add endpoint to copy tags from source repository

https://pulp.plan.io/issues/4947 fixes #4947

Added by amacdona@redhat.com over 5 years ago

Revision 9e313787 | View on GitHub

Add endpoint to copy tags from source repository

https://pulp.plan.io/issues/4947 fixes #4947

Actions #11

Updated by amacdona@redhat.com over 5 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

Applied in changeset commit:pulp_docker|9e313787d716e25e34aa84260dff1e55dac1ac38.

Actions #12

Updated by ipanova@redhat.com about 5 years ago

  • Project changed from Docker Support to Container Support
Actions #13

Updated by ipanova@redhat.com almost 5 years ago

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

Updated by ipanova@redhat.com almost 5 years ago

  • Sprint/Milestone set to 1.0.0

Also available in: Atom PDF