Project

Profile

Help

Story #7013

closed

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 over 2 years ago. Updated over 2 years 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 - CURRENTRELEASEmdellweg

Actions
Actions #1

Updated by ipanova@redhat.com over 2 years ago

  • Description updated (diff)
Actions #2

Updated by ipanova@redhat.com over 2 years ago

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

Updated by mdellweg over 2 years ago

  • Parent task set to #6825
Actions #4

Updated by ipanova@redhat.com over 2 years 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)
Actions #5

Updated by lmjachky over 2 years ago

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

Updated by lmjachky over 2 years ago

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

Updated by pulpbot over 2 years ago

  • Status changed from ASSIGNED to POST
Actions #8

Updated by ipanova@redhat.com over 2 years ago

  • Sprint set to Sprint 77
Actions #9

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 77 to Sprint 78

Added by Lubos Mjachky over 2 years ago

Revision 030cf92c

Forbid the methods PATCH and PUT for push repositories

closes #7013

Added by Lubos Mjachky over 2 years ago

Revision 030cf92c

Forbid the methods PATCH and PUT for push repositories

closes #7013

Actions #10

Updated by Anonymous over 2 years ago

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

Updated by pulpbot over 2 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF