ampproject / amp-wp-qa-tester

Easily test pre-release versions of the AMP Plugin for WordPress.
Apache License 2.0
6 stars 4 forks source link

Add update functionality to the QA Tester plugin #18

Open pierlon opened 3 years ago

pierlon commented 3 years ago

Feature description

One of the features that was meant to be apart of ampproject/amp-wp#3560 was the ability to receive updates when using a non-stable build is installed. We could accomplish this with the QA Tester plugin by adding a WP cron that checks for new builds for the develop branch, or maybe limit it to only GitHub pre-release builds.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation brief

Implement a scheduled WP cron that will check for pre-release AMP plugin builds on GitHub and offer it to the user as an update.

QA testing instructions

Demo

Changelog entry

westonruter commented 3 years ago

checks for new builds for the develop branch, or maybe limit it to only GitHub pre-release builds.

This would probably make sense for any branch, including PR branches. Maybe there could be a checkbox when switching to a build to elect to elect to continuously update. It could check every 10 minutes to see if the Last-Modified of the build ZIP has changed and then re-install in the background.