Project

Profile

Help

Story #3405

As a user I can add Content Units to a repository recursively

Added by amacdona@redhat.com almost 3 years ago. Updated 10 months ago.

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

100%

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

Description

This story is to implement an API endpoint and task that add a list of content units to the repository.

endpoint: pulp/api/v3/docker/resursive-add/
args: add_content_units (identical to RepositoryVersion create)
repository

The task should add each unit to the repository, and should query the database for related content (manifests from manifest lists, blobs from manifests) and add these units as well.

For this implementation, tags should be added/removed the by tag href, the same way as the other types. Adding tags by name and repository version is covered in a related story, https://pulp.plan.io/issues/4947.


Related issues

Blocks Container Support - Story #4947: As a user I can add tags to a repository by name.CLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Copied from Container Support - Story #3403: As a user I can add Manifests to a repository, and all units (recursive) that are part of themCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 92b668e2 View on GitHub
Added by amacdona@redhat.com over 1 year ago

Create endpoint to add content recursively

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

Revision 92b668e2 View on GitHub
Added by amacdona@redhat.com over 1 year ago

Create endpoint to add content recursively

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

Revision 92b668e2 View on GitHub
Added by amacdona@redhat.com over 1 year ago

Create endpoint to add content recursively

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

Revision 92b668e2 View on GitHub
Added by amacdona@redhat.com over 1 year ago

Create endpoint to add content recursively

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

History

#1 Updated by amacdona@redhat.com almost 3 years ago

  • Copied from Story #3403: As a user I can add Manifests to a repository, and all units (recursive) that are part of them added

#2 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3)

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

  • Subject changed from As a user I can add Content Units to a repository by tag, and all units (recursive) that are part of them to As a user I can add Content Units to a repository recursively
  • Description updated (diff)

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

  • Blocks Story #4947: As a user I can add tags to a repository by name. added

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

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

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

  • Sprint set to Sprint 55

#7 Updated by dkliban@redhat.com over 1 year ago

  • Sprint changed from Sprint 55 to Sprint 56

#8 Updated by rchan over 1 year ago

  • Sprint changed from Sprint 56 to Sprint 57

#9 Updated by ipanova@redhat.com over 1 year ago

  • Description updated (diff)

#11 Updated by ipanova@redhat.com over 1 year ago

  • Status changed from ASSIGNED to POST

#12 Updated by ipanova@redhat.com over 1 year ago

  • Description updated (diff)

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

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

Applied in changeset commit:pulp_docker|92b668e234577e4bf84d99e645e8a830f7a4fbae.

#14 Updated by ipanova@redhat.com about 1 year ago

  • Project changed from Docker Support to Container Support

#15 Updated by ipanova@redhat.com 12 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#16 Updated by ipanova@redhat.com 10 months ago

  • Sprint/Milestone set to 1.0.0

Please register to edit this issue

Also available in: Atom PDF