Skip to content
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

Plugin update and Compatibility check #125

Open
5 tasks done
dhawalepranav opened this issue Dec 14, 2023 · 6 comments
Open
5 tasks done

Plugin update and Compatibility check #125

dhawalepranav opened this issue Dec 14, 2023 · 6 comments
Assignees

Comments

@dhawalepranav
Copy link

dhawalepranav commented Dec 14, 2023

We need to complete the following set of tasks for rtSocial plugin.

  • Make sure it's compatible with latest WordPress version. (e.g 6.4.X )
  • Make sure it's PHP 8.2 compatible.
  • Make sure it's VIP compatible
  • Run the PHPCS scan
  • Document the user manual with screenshots that will include things like "How to install plugin", "Plugin Pre-requisites" "How to setup plugin for first time", "Plugin Settings with their use case" etc

Before starting the work please add your Time estimations for every mentioned task and get it approved by your Project Co-ordinator or Project Manager

@Pathan-Amaankhan
Copy link
Member

Pathan-Amaankhan commented Dec 14, 2023

~4hrs Testing/Documenting Estimations

  • ~1hr Compatibility test with latest WordPress version & generating report for non-compatible parts/functions.
  • ~1hr Compatibility test with PHP 8.2 & generating report for non-compatible parts/functions.
  • ~1hr Compatibility test with VIP Env & generating report for non-compatible parts/functions.
  • ~30mins Running PHPCS scan & generating report.
  • ~30mins Document the user manual with screenshots that will include things like "How to install plugin", "Plugin Pre-requisites" "How to setup plugin for first time", "Plugin Settings with their use case" etc.
    • I think we already have this one documented -> https://github.com/rtCamp/rtsocial/wiki but still, will go through the wiki & let you know if anything needs to be updated or a new document needs to be created with estimates.

Note: The above estimations are for testing/document generation. Once the testing is completed, will share a document containing all the issues & will share an estimate for fixing the found issue (If any).

cc: @joelabreo227 @dhawalepranav

@Pathan-Amaankhan
Copy link
Member

Hello @dhawalepranav,

Task Updates

Tasks W.I.P:

  • Compatibility test with latest WordPress version & generating report for non-compatible parts/functions.
  • Compatibility test with VIP Env & generating report for non-compatible parts/functions

PHPCS fix/Documentation updation estimations

@Pathan-Amaankhan
Copy link
Member

Updates:

@dhawalepranav please let me know if we can/should directly merge the PRs on production.

cc: @joelabreo227 @vishalkakadiya

@dhawalepranav
Copy link
Author

@Pathan-Amaankhan Not sure but I think we need to test this before merging it to production. You can connect with @pavanpatil1 to know the general workflow for Plugin updates/release.

Also, can you please document the Plugin update workflow here ?
Thanks

@Pathan-Amaankhan
Copy link
Member

Internal Plugin GH workflow

  • Sync the plugin’s develop branch with the plugin’s master branch
  • Create a PR from develop.
  • Do the required changes.
  • Merge to develop.

Internal Plugin Launch Workflow

  • Sync the plugin’s develop branch with the plugin’s master branch (if required).
  • Test the plugin’s develop branch & see if everything works as expected.
  • Create a version update PR against the develop branch.
  • Once the PR is approved/merged on develop, create a .zip of the plugin’s develop branch, install the plugin locally, and test if the version is updated and the plugin is working properly.
  • Once the plugin’s develop branch is tested thoroughly, raise a develop to master sync PR.
  • Once the develop to master sync PR is merged, create a .zip of the plugin’s master branch, install the plugin locally, and test if the version is updated and the plugin is working properly.
  • Once the plugin’s master branch is tested thoroughly, push the tag from the master branch to release the updated plugin on https://wordpress.org/plugins/.
    • Create the tag:
      git tag -a {version-number} -m "Tag Version {version-number}"
      
      Note: Replace the {version-number} with your version.
    • Push the tag:
      git push origin {version-number}
      
      Warning: Pushing this tag will release the WordPress plugin to the wordpress.org plugin repository through GitHub action.

References

https://docs.google.com/document/d/1SbJlBe_X78bLY2zD6sTeLqJsc287NwdeICZclVkrb9c/edit

cc: @dhawalepranav @joelabreo227

@Pathan-Amaankhan
Copy link
Member

Updates:
We have updated the plugin version on wordpress.org/plugins + made it compatible with PHP v8.2 & WordPress v6.4

cc: @dhawalepranav

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants