Page MenuHomePhabricator

Allow pastes to be deleted or to expire
Closed, DeclinedPublic

Description

  • Phabricator users uploading pastes should be able to decide if their pastes are archived or deleted when they decide they'll serve no useful purpose or for whichever reason they think it's appropriate. So that's not spitting on other users jobs as @Legoktm wrongly assumes. It's the author of the paste which will decide where his "job" would go.
  • Phabricator admins should be able to delete pastes easily without messing in the Phabricator database: think about illegal content, content against the Terms of Use, or any other content for which hidding it from public view is not enough according to current laws and statutes; specially since Phabricator admins seems not to be able to alter the visibility (T145749#2641850).
  • (optional) Phabricator users could be able to configure pastes to expire automatically. I don't feel strongly about this one, specially if point 1 is achieved.

Thank you.

(Rephrase per T145752#2642977)

Event Timeline

Aklapper triaged this task as Lowest priority.Sep 15 2016, 10:09 AM
Aklapper edited projects, added Phabricator (Upstream); removed Phabricator.

We should be able to delete pastes no longer in use or useful

You can already archive Pastes. We won't support deleting.

we should also be able to set an expiration time after which the paste will be deleted

Please provide a use case how this helps anybody and for which situations you consider your proposal to be a solution to a (currently undefined) problem.

We should be able to delete pastes no longer in use or useful

You can already archive Pastes. We won't support deleting.

Why not?

Please provide a use case how this helps anybody and for which situations you consider your proposal to be a solution to a (currently undefined) problem.

Pastes are in most cases created for a very specific issue: a debug session, etc. Once that purpose is acomplished, most pastes are stuff which can be safely deleted. Archiving does not solve this, because the paste continues to be here. If the paste is not mentioned anywhere, such as in Conpherence, Task, etc., I think we can get rid of them and save space.

@MarcoAurelio: I think it makes sense to clean up when they aren't mentioned/referenced anywhere. It is not entirely trivial to do that, however, it might be worth looking into.

Legoktm subscribed.

If you want your content to be automatically deleted, use an external pastebin. We work rather hard to make sure no kind of content can be irrevocably deleted or removed, and Phabricator should work the same.

I think we can get rid of them and save space.

We're not running out of disk space.

If you want Paste to become a dumpster I supose it is your choice. At least
Mukunda said this might be an option, which it won't be investigated
because of your unilateral closure. Nice.

What you see as a "dumpster" is another person's treasured archive. There's a lot of interesting stuff there, and I certainly would not call it trash. If you want to spit on other people's work, that's your choice, but I have a very strong interest in seeing it preserved.

My close wasn't unilateral, it was bold. If you feel that strongly, you can re-open it. Just like anyone else who uses Phabricator. And that *is* nice.

Why not?

Because no use case has been provided (except for disk space, which is not an issue.)

What you see as a "dumpster" is another person's treasured archive. There's a lot of interesting stuff there, and I certainly would not call it trash. If you want to spit on other people's work, that's your choice, but I have a very strong interest in seeing it preserved.

I'm convinced. ;)

My close wasn't unilateral, it was bold. If you feel that strongly, you can re-open it. Just like anyone else who uses Phabricator. And that *is* nice.

I think your closure, while well meaning, is wrong. As such I've reopened this task. Please assume good faith, I'm just trying to help. It is not nice to slap contributors with such closures when there's a discussion in progress.

Let me rephrase:

  • Phabricator users uploading pastes should be able to decide if their pastes are archived or deleted when they decide they'll serve no useful purpose or for whichever reason they think it's appropriate. So that's not spitting on other users jobs as @Legoktm wrongly assumes. It's the author of the paste which will decide where his "job" would go.
  • Phabricator admins should be able to delete pastes easily without messing in the Phabricator database: think about illegal content, content against the Terms of Use, or any other content for which hidding it from public view is not enough according to current laws and statutes; specially since Phabricator admins seems not to be able to alter the visibility (T145749#2641850).
  • (optional) Phabricator users could be able to configure pastes to expire automatically. I don't feel strongly about this one, specially if point 1 is achieved.

Thank you.

I would support an "Archive after (1|5|30|90) days" option, but not delete.

If anything though: this would be a lowest priority task in our Phabricator instance that would solely depend on upstream thinking it's worth it and making it happen.

Note that Phabricator admins seems to be able to delete users (at least there's "delete user" button in the user profile), which I think it'd be rather more radical and dangerous issue than to allow users to delete their own pastes if they want to. I fail to see how empowering users to manage their own work is something bad.

  • Phabricator admins should be able to delete pastes easily without messing in the Phabricator database.

IIRC, it's a pretty easy thing to do with a CLI script, If it's not, we should probably file that Phabricator (Upstream) similar to show other deletes are handle with the CLI scripts.