-
Notifications
You must be signed in to change notification settings - Fork 3
fix: provide repair version of keyman-18.0.240.exe for 18.0.235-236 version users #294
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
Conversation
User Test ResultsTest specification and instructions
|
| // If we include the fixed file in the stable directory we maybe able to access the | ||
| // $tierdata->files to help us. | ||
| $installedParts = explode('.', $InstalledVersion); | ||
| if($installedParts[0] == '18' && version_compare($InstalledVersion, '18.0.236', '<=')) { |
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.
I'm not sure version compare will be able to ccompare against 18.0.236 ?
|
@mcdurdin I'm not sure though is there an index file |
|
For safety, I think we put the file at /windows/stable/18.0.240/____/keyman-18.0.001_fix.exe. Where ____ is a name I haven't decided on yet. We include a README.md in that folder explaining why this is here and linking to both this PR and related issues on keymanapp/keyman. The file should be a copy of the existing 18.0.240.exe build. This avoids the creation of a folder which could be enumerated by other systems, and keeps the file together with its actual version. With a little bit of setup, we should be able to test this locally before deployment. |
Yes, I was concerned about side effects to differnt components that may enumerate the directory tree. So this is a good idea having the subdirectory. In the code I actually went from using the prefix fix to repair, which we could consider for the directory ___ name also... or something that gives the meaning. |
call RepairVersionCheck on for the bundle, in the excute function.
Test Results
|
Fixes: #293
Ref:
User Testing
@mcdurdin I think the test you did can be a test for this api side change. As such I did not right every detailed step as you have already carried out this test.
TEST_local_host
C:\Users\{UserName}\AppData\Local\Keyman\UpdateCachecontains keymankeyman-18.0.000.exeonce downloaded.Once installed verify the new version is 18.0.240