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
Disable 'verify if module is latest' for shops under 1.7.0.0 for 4.14.x and bump version to 4.14.3 #626
Conversation
bd9fc65 |
@matks It should not perform this check for versions lower than 1.7, not lower than 8. For people on 1.7, we want them to upgrade to 4.16. :) |
True. I guess sending this PR at 22pm on a Friday evening was not the best way to obtain a good result. I will submit the changes. |
For your information, I discussed with @Robin-Fischer-PS and @MatShir and this is what we suggest for release 4.14.3:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @matks
I tested your PR with two PS versions as mentioned :
- PS 1.6.1.24
The checks on versions of Autoupgrade module are disabled ✔️
See attached screenshot:
- PS 1.7.8.10
The checks on versions of Autoupgrade module are enabled ✔️
Qa ✔️
Thank you!
Hi @aniszr, |
Hello @MatShir Thanks for your feedback ! See attachet screenshot for PS 1.7.8.10 Thank you! |
👌 sweet ! thanks @aniszr we can merge and release the version ! |
Context
The upgrade module has a feature where it checks whether there is a more recent version of itself and if it does, it tells the user "please use the latest version, you are using an outdated version".
Currently if someone installs the module 4.14.2 on a shop, the module will detect there is a 4.16.3 version and says to user "please don't use me! use the latest 4.16.3 version instead!"
Consequently this PR disables this check, this was a suggestion from @Hlavtox.
How to test
Create a test autoupgrade release from this PR. Install this test module
Your current version of the module is out of date. Update now
(because this PR disables the check on versions under 1.7.0.0)Your current version of the module is out of date. Update now
Important
Did you notice target branch is
4.14.x
? So if you rebase the PR against target branch withgit prc
be careful to select the right branch