-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[5.0] [RFC] Fix update path from previous 5.0.0 alphas #41394
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
Merged
HLeithner
merged 9 commits into
joomla:5.0-dev
from
richard67:5.0-dev-fix-update-path-from-previous-5-alphas
Aug 20, 2023
Merged
[5.0] [RFC] Fix update path from previous 5.0.0 alphas #41394
HLeithner
merged 9 commits into
joomla:5.0-dev
from
richard67:5.0-dev-fix-update-path-from-previous-5-alphas
Aug 20, 2023
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Deleted files and folders from PR joomla#41276 - Renamed file from PR joomla#41260
These files and folders will be removed by the uninstallation of the plugin.
These files and folders will be removed by the uninstallation of the plugin and therefore should not be added to the lists of deleted files and folders.
This reverts commit ea429a6.
This reverts commit 296febf.
2 tasks
wilsonge
approved these changes
Aug 20, 2023
|
thanks |
richard67
added a commit
to richard67/joomla-cms
that referenced
this pull request
Sep 1, 2023
richard67
added a commit
to richard67/joomla-cms
that referenced
this pull request
Sep 4, 2023
richard67
added a commit
to richard67/joomla-cms
that referenced
this pull request
Sep 4, 2023
richard67
added a commit
to richard67/joomla-cms
that referenced
this pull request
Sep 4, 2023
richard67
added a commit
to richard67/joomla-cms
that referenced
this pull request
Sep 5, 2023
richard67
added a commit
to richard67/joomla-cms
that referenced
this pull request
Sep 14, 2023
richard67
added a commit
to richard67/joomla-cms
that referenced
this pull request
Sep 19, 2023
richard67
added a commit
to richard67/joomla-cms
that referenced
this pull request
Sep 26, 2023
richard67
added a commit
to richard67/joomla-cms
that referenced
this pull request
Sep 26, 2023
richard67
added a commit
to richard67/joomla-cms
that referenced
this pull request
Sep 26, 2023
richard67
added a commit
to richard67/joomla-cms
that referenced
this pull request
Sep 26, 2023
richard67
added a commit
to richard67/joomla-cms
that referenced
this pull request
Oct 1, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request for Issue # .
Summary of Changes
This pull request (PR) fixes the currently broken update path from previous 5.0 alpha versions to the upcoming alpha 4 by fixing points mentioned in the description of PR #41393 :
In addition, this PR adds the necessary exceptions to the "build/deleted_file_check.php" script so that the files of the obsolete system plugin which will be removed by the installer when uninstalling the plugin are not added to the lists of deleted files and folders generated by the script.
Finally, this PR here includes also the changes from PR #41393 for easier testing.
As described in that PR, the 2 mentioned points result from deliberate decisions of the release managers, so this PR here is just an offer in case if they decide to change their mind.
Testing Instructions
Test 1 update from 5.0.0-alpha3
Result: The update succeeds.
Result: The plugin has been uninstalled.
Result: The plugin is enabled, the parameters are equal to those set in step 2 for the old system plugin.
Result: The new plugin "Behaviour - Backward Compatibility" is disabled.
Result: All files and folders belonging to that plugin have been deleted.
Result: The file has been renamed.
Test 2 for the changes in "build/deleted_file_check.php"
./build/deleted_files.txtand./build/deleted_folders.txt.Result: See section "Actual result BEFORE applying this Pull Request" below.
Result: See section "Expected result AFTER applying this Pull Request" below.
Actual result BEFORE applying this Pull Request
Test 1 update from 5.0.0-alpha3
The files and folders of the obsolete "System - Backward Compatibility" plugin have not been removed.
The plugin has not been uninstalled.
The new "Behaviour - Backward Compatibility" plugin is enabled with the default options.
File '/plugins/schemaorg/blogposting/src/Extension/Blogposting.php' has not been renamed to '/plugins/schemaorg/blogposting/src/Extension/BlogPosting.php'. This will cause schema.org for blog posts not working on Windows or Mac hosts after updates from previous 5.0 alpha versions.
Test 2 for the changes in "build/deleted_file_check.php"
All files and folders belonging to the old "System - Backward Compatibility" are in the lists of deleted files and folders.
Expected result AFTER applying this Pull Request
Test 1 update from 5.0.0-alpha3
The files and folders of the obsolete "System - Backward Compatibility" plugin have been removed.
The plugin has been uninstalled.
The new "Behaviour - Backward Compatibility" plugin is disabled when the old plugin was disabled before the update, and it is enabled and has inherited the old plugin's parameters when the old plugin was enabled before the update.
File '/plugins/schemaorg/blogposting/src/Extension/Blogposting.php' has been renamed to '/plugins/schemaorg/blogposting/src/Extension/BlogPosting.php'.
Test 2 for the changes in "build/deleted_file_check.php"
Only folder "/media/plg_system_compat" and files in that folder are in the list of deleted files, no other files or folders of the obsolete "System - Backward Compatibility" plugin are in the lists.
Link to documentations
Please select:
No documentation changes for docs.joomla.org needed
No documentation changes for manual.joomla.org needed