Making WordPress.org

Opened 5 months ago

Closed 5 months ago

Last modified 5 months ago

#5812 closed defect (fixed)

Automatically remove theme uploads when ticket creation fails

Reported by: dd32 Owned by: dd32
Milestone: Priority: normal
Component: Theme Directory Keywords:


When the Trac ticket fails to be created, but the SVN commit succeeds, it leaves the theme directory in a state where the theme author gets an error upon attempting to upload that version again, even though WordPress.org doesn't know about that version.

It makes sense that if the theme upload process fails - ie. the Trac ticket can't be created, that the SVN directory should be cleaned up.

Change History (2)

#1 @dd32
5 months ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 11102:

Theme Directory: When a theme upload fails due to Trac ticket creation failures, automatically remove the SVN directory.

This should result in less cleanup when the upload handler or trac is having trouble.

Fixes #5812.

Note: See TracTickets for help on using tickets.