Project

Profile

Help

Story #4988

closed

As a user, I can remove uploads

Added by daviddavis over 5 years ago. Updated about 5 years ago.

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

100%

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

Description

Example:

http POST :24817/pulp/api/v3/uploads/ size=10485759 # returns a UUID (e.g. 345b7d58-f1f8-45d9-d354-82a31eb879bf)
export UPLOAD='/pulp/api/v3/uploads345b7d58-f1f8-45d9-d354-82a31eb879bf/'

http DELETE :24817${UPLOAD}

Allow any upload to be deleted. Also, add a filter to list incomplete uploads.


Related issues

Related to Pulp - Story #4196: As a user, I can upload files in chunks.CLOSED - CURRENTRELEASEdaviddavis

Actions
Related to Pulp - Story #4981: Remove incomplete chunked uploads after a set amount of timeCLOSED - WONTFIX

Actions
Blocked by Pulp - Story #4488: As a user, I can upload chunks in parallelCLOSED - CURRENTRELEASEdaviddavis

Actions
Actions #1

Updated by daviddavis over 5 years ago

  • Related to Story #4196: As a user, I can upload files in chunks. added
Actions #2

Updated by daviddavis over 5 years ago

  • Related to Story #4981: Remove incomplete chunked uploads after a set amount of time added
Actions #3

Updated by daviddavis over 5 years ago

  • Subject changed from As a user, I can remove incomplete uploads to As a user, I can remove uploads
Actions #4

Updated by daviddavis over 5 years ago

I'm setting this to being blocked by #4488 since #4488 changes the chunked upload code/API.

Actions #5

Updated by daviddavis over 5 years ago

  • Blocked by Story #4488: As a user, I can upload chunks in parallel added
Actions #6

Updated by daviddavis over 5 years ago

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

Updated by ttereshc over 5 years ago

I think it can be deleted if the upload is complete.
I'm more worried about incomplete ones and how to determine that it's safe to delete them. I'll comment on #4981.

Actions #8

Updated by daviddavis over 5 years ago

I lean towards allowing users to delete any uploads including incomplete ones. To me, uploads are transient so I don't worry about users accidentally deleting ones. I guess I worry more about users not being able to easily remove large amounts of data from their filesystem.

Actions #9

Updated by dkliban@redhat.com over 5 years ago

Users should be able to delete any Upload.

Actions #10

Updated by ttereshc over 5 years ago

  • Groomed changed from No to Yes

I think it's ok for now. In case users report that it's easy to accidentally remove it in their workflow, we can introduce a flag like "force=True".

Actions #11

Updated by daviddavis over 5 years ago

  • Description updated (diff)
Actions #12

Updated by daviddavis over 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to daviddavis
Actions #13

Updated by daviddavis over 5 years ago

  • Status changed from ASSIGNED to POST

Added by daviddavis over 5 years ago

Revision cd5d8e99 | View on GitHub

Allow deletion of uploads

Also added a filter to filter by incomplete.

fixes #4988

Actions #14

Updated by daviddavis over 5 years ago

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

Updated by bmbouter about 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #16

Updated by bmbouter about 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF