Making WordPress.org

Opened 3 years ago

Closed 14 months ago

Last modified 14 months ago

#5902 closed defect (bug) (fixed)

Don't show plugin version in the 'previous releases' if the release was not confirmed

Reported by: dd32's profile dd32 Owned by: dd32's profile dd32
Milestone: Priority: normal
Component: Plugin Directory Keywords:
Cc:

Description

The 'Previous Versions' on a plugin advanced view can be used to download previous versions of a plugin.

This dropdown is currently working on the assumption that the ZIP file for a given version will exist.

When release confirmation is enabled:

  • these ZIPs won't be created for a version, until the version is confirmed.
  • In the event that a tag is created, but is never set as the stable tag, the ZIP will also never be created.

The version dropdown should not show plugin versions where the ZIP has not yet been created.

Change History (3)

#1 @kraftbj
2 years ago

In the event that a tag is created, but is never set as the stable tag, the ZIP will also never be created.

This makes smoke testing new releases more difficult. Personally, I like to tag a new version, then wp install [slug] --version=[tag] to test out the plugin before marking it as stable.

This isn't possible, so not possible to smoke test what's offered by w.org and takes a bit more work to svn co or otherwise get the code from w.org to a new site for the sake of a final test.

I believe this issue may also be impacted WP Packagist (which I realize isn't w.org), but I'm thinking they're seeing the tag either via SVN or API and assuming something would be built like non-confirmable plugins.

#2 @dd32
14 months ago

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

In 12816:

Plugin Directory: Release Confirmation: Don't display a version in the 'Previous Versions' download form if the version was never confirmed.

Fixes #5902.

#3 @dd32
14 months ago

This makes smoke testing new releases more difficult.

This was resolved via #5901

Note: See TracTickets for help on using tickets.