`swift delete --all` is terrifying

Bug #1062274 reported by Ryan Finnie
8
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-swiftclient
In Progress
Undecided
Michael Eckert

Bug Description

Related in spirit to Bug #1057665, except `swift delete --all` doesn't even provide a confirmation before it, well, deletes all of your containers and objects. Eeek.

A Debian apt-style 'Yes, do as I say!' confirmation would be really nice.

Mike Barton (redbo)
affects: swift → swiftlinux
affects: swiftlinux → python-swiftclient
Alex Yang (alexyang)
Changed in python-swiftclient:
assignee: nobody → Sina Web Service Dev (sws)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-swiftclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/14150

Changed in python-swiftclient:
assignee: Sina Web Service Dev (sws) → Alex Yang (alexyang)
Alex Yang (alexyang)
Changed in python-swiftclient:
assignee: Alex Yang (alexyang) → nobody
status: In Progress → New
Revision history for this message
Michael Eckert (eckert) wrote :

The clue is, if you want to delete all interactivley, this is a minor patch because usually you wanted to be asked for deletion if you provide "--all". So, it makes sense to me, if you want to youse it in a script, you have to add "--non-interactive"/"-n"?
I have patched it and give it to the review.

Changed in python-swiftclient:
assignee: nobody → Michael Eckert (eckert)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/16637

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/16650

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.