tarbell icon indicating copy to clipboard operation
tarbell copied to clipboard

Add --prune flag to tarbell publish to delete files in s3 bucket

Open bepetersn opened this issue 11 years ago • 4 comments

For instance, awhile ago I published to here, when a certain slide.html file existed in my project. But after later deleting the slide.html file from my project, and re-publishing, the old publish is still visible at:

http://chicago-justice.smartchicagoapps.org/slide.html#call

bepetersn avatar Dec 08 '13 23:12 bepetersn

Yeah, at the moment you have to manually prune old files. It's just a rather dangerous thing ...

eads avatar Dec 09 '13 02:12 eads

Thought this might have been a #wontfix kind of thing.

bepetersn avatar Dec 09 '13 02:12 bepetersn

This is definitely a #willfix, it's also just #nicetohave because managing an s3 bucket is pretty easy via the web interface and clobbering remote files is potentially quite dicey. We need:

  • A --prune flag for tarbell publish
  • tarbell unpublish (see #25)
  • A backup mechanism when these dangerous operations are carried out

eads avatar Dec 22 '13 02:12 eads

Moving out of 1.0 milestone, see #223

eads avatar Sep 07 '14 00:09 eads