pluginkollektiv / statify

Statify – statistics plugin for WordPress
https://wordpress.org/plugins/statify/
GNU General Public License v3.0
76 stars 22 forks source link

introduce blueprint.json for plugin preview #289

Closed stklcode closed 5 months ago

stklcode commented 5 months ago

Add a blueprint.json to run WordPress in Playground with Statify installed.

Ref.: https://developer.wordpress.org/plugins/wordpress-org/previews-and-blueprints/

Zodiac1978 commented 5 months ago

If I am correct, it is not necessary to install the plugin on WordPress.org. This is only needed, if you are coming from the outside. On wp.org this happens automatically.

See this working example from ASB: https://github.com/pluginkollektiv/antispam-bee/blob/master/.wordpress-org/blueprints/blueprint.json

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

stklcode commented 5 months ago

Hm I see it's working for ASB, so I assume it will do the job for Statify as well.

I tested the blueprint locally with wp-now, this seems to require explicit plugin setup to do anything useful. Seems implementations have some differences.

I just pushed another blueprint for Statify Filter (https://wordpress.org/plugins/statify-blacklist/) with installation steps. Think it is necessary there, because the plugin has a dependency to Statify and WP < 6.5 does not support dependencies out of the box. (and I have no idea if the playground supports it in 6.5)