-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to opt-in to a beta release channel #2084
Comments
Downloading from GitHub is against the plugin directory guidelines. Quote:
We should probably just use |
Good point. But we could have the plugin updater configured to pull from |
We'd have to check what http://api.wordpress.org/plugins/update-check/1.1/ supports. Most probably we'd just have to filter some transients to point to the trunk ZIP file, and then probably provide a way to downgrade. |
I recently used the Jetpack Beta Tester plugin which was really slick, but it is perhaps overkill for the AMP plugin. It allows selecting a feature branch from which to automatically install build. |
Are they any instructions on how we should update the plugin on our installs when testing the beta and RC versions? So far, I've just been deleting the existing plugin, installing the new from the built zip and then renaming the plugin folder to |
At the moment that's the recommended and most common approach. Although there should be no need to rename the plugin because a) you deleted the old one and b) the new one should be named We want to make this process easier though, which this issue here is for. |
Thank you. The beta and RC zips when installed are not creating an |
Does this also happen when downloading |
It does not happen when I use the link you provided. I was using this zip file here before. https://cl.ly/afc69f45e481 |
Right, you should only use the |
I think the opt-in can simply be the activation of the AMP Beta Tester plugin. The AMP Beta Tester plugin itself could be developed as part of the AMP plugin repo, for example it could be located next to |
I'm on-board with that idea. I think some sort of notification should be shown as well to remind them that they are using an unstable version of the plugin. |
Uploading betas or at least RCs to |
@adamsilverstein Given your current work doing something similar to Site Kit (google/site-kit-wp#1172) could you please review #3560 and provide insights? I'm not familiar with GitHub Actions, so it's difficult for me to evaluate. I'm also curious if the approaches taken in the AMP plugin and the Site Kit plugin can be harmonized/reused. |
@westonruter I think you meant #3799. #3560 is the AMP Beta Tester plugin. The GitHub Actions added in google/site-kit-wp#1172 are similar to what I was working on in #3799; I'll copy some of @adamsilverstein's work since its been reviewed and tested already, if he doesn't mind 😄. |
I think it's both. He's also done work on a beta tester plugin. |
Oh that's great, feedback is welcome on both! |
@pierlon Yes, please take advantage of what we built there, it got quite refined from my initial approach. For our needs, we decided to leverage the built in wiki repository each GitHub repository gets to store our build artifacts (installable wp plugin zips), (we considered several other approaches including a secondary "build" repository, or using "GitHub build artifacts"). Let me know if you have any questions. |
@pierlon This is now available via the AMP QA Tester plugin, with the exception that if you choose the |
Correct, I'll open an issue to track that functionality. This issue can be closed too. |
In order to facilitate testing beta versions of the plugin, we should consider allowing a user to opt-in to a beta channel which would pull updates from pre-releases on GitHub.
The text was updated successfully, but these errors were encountered: