Project

Profile

Help

Story #3405

Updated by ipanova@redhat.com over 5 years ago

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/ pulp/api/v3/docker/add-remove/ 
 args: add_content_units (identical to RepositoryVersion create) 
          repository/repository_version remove_content_units 

 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.

Back