Making WordPress.org

Opened 9 months ago

Last modified 9 months ago

#5636 new enhancement

Retain original plugin upload zips after status change

Reported by: tellyworth Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords:


Currently, the initial plugin zip that is uploaded for a newly submitted plugin is deleted as soon as the plugin is approved and a svn repo is created. This occasionally causes a problem because there are circumstances when it would be useful to refer to the old zip upload, both for approved plugins and for those that wind up with a different status.

Instead of deleting the attachment on status change, I'd suggest we schedule deletion via a cron job:

  • 30 days after changing to a rejected/deleted status; or
  • 12 months after changing to a published status.

Change History (1)

#1 @dd32
9 months ago

12 months after changing to a published status.

This seems like a long time to hold a zip for a published plugin.

I'm thinking maybe something shorter, like, 30 days after initial release is committed? Maybe keeping the ZIP around for a maximum of 12 months otherwise? (Such as if the author never comes back to commit a release)

User Submits Plugin X:

  • Reject: Delete ZIP after 30 days
  • Approve:
    • Keep ZIP for 12 months
    • Upon first successful plugin commit/release, Delete ZIP after 30 days
Note: See TracTickets for help on using tickets.