Project

Profile

Help

Story #7013

Story #6825: Introduce a new repo type for the docker push usecase

Disallow update/partial_update of a push repo via pulp api

Added by ipanova@redhat.com 7 months ago. Updated 5 months ago.

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

100%

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

Description

A push repo is being created during docker/podman push. We should disallow update/partial_update call to such repo type via pulp api

We should allow create of repo via pulp api so permissions can be assigned

Question:

What to you with DELETE of push repo via pulp api? We should enable users to remove repos however there might be a race condition - a push to the repo X can happen while in the middle of push operation repo X can be deleted


Related issues

Related to Container Support - Task #7172: Delete a distribution along with a push repositoryCLOSED - CURRENTRELEASE

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

Associated revisions

Revision 030cf92c View on GitHub
Added by Lubos Mjachky 6 months ago

Forbid the methods PATCH and PUT for push repositories

closes #7013

Revision 030cf92c View on GitHub
Added by Lubos Mjachky 6 months ago

Forbid the methods PATCH and PUT for push repositories

closes #7013

History

#1 Updated by ipanova@redhat.com 7 months ago

  • Description updated (diff)

#2 Updated by ipanova@redhat.com 7 months ago

  • Project changed from Pulp to Container Support
  • Sprint/Milestone set to 2.0.0

#3 Updated by mdellweg 7 months ago

  • Parent task set to #6825

#4 Updated by ipanova@redhat.com 7 months ago

  • Subject changed from Disallow create/update of apush repo via pulp api to Disallow update/partial_update of a push repo via pulp api
  • Description updated (diff)

#5 Updated by lmjachky 6 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to lmjachky

#6 Updated by lmjachky 6 months ago

  • Related to Task #7172: Delete a distribution along with a push repository added

#7 Updated by pulpbot 6 months ago

  • Status changed from ASSIGNED to POST

#8 Updated by ipanova@redhat.com 6 months ago

  • Sprint set to Sprint 77

#9 Updated by rchan 6 months ago

  • Sprint changed from Sprint 77 to Sprint 78

#10 Updated by Anonymous 6 months ago

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

#11 Updated by pulpbot 5 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF