Removed the upgrade instructions for 5.3.*
authorAlexander Ebert <ebert@woltlab.com>
Tue, 7 Sep 2021 11:28:49 +0000 (13:28 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 7 Sep 2021 11:28:49 +0000 (13:28 +0200)
This greatly reduces the size of the update packages. Upgrade from 5.3 will still work, but will upgrade to 5.4.6 only and then apply the remaining updates.

com.woltlab.wcf/package.xml

index 73d0873ea691c7517da8026dc17eec172b2ada9b..841144a88720294e69eed0195dbca30b157df081 100644 (file)
                <instruction type="script">acp/post_install.php</instruction>
        </instructions>
        
-       <instructions type="update" fromversion="5.3.*">
-               <!--
-tar cvf com.woltlab.wcf/files_pre_check.tar -C wcfsetup/install/files/ \
-       acp/update_com.woltlab.wcf_5.4_checkSystemRequirements.php \
-       acp/update_com.woltlab.wcf_5.4_checkOwnerGroup.php \
-       acp/update_com.woltlab.wcf_5.4_fixSqlLog.php
-               -->
-               <instruction type="file" run="standalone">files_pre_check.tar</instruction>
-               
-               <!-- Checks that need to happen before the upgrade starts. -->
-               <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_checkSystemRequirements.php</instruction>
-               <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_checkOwnerGroup.php</instruction>
-               <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_fixSqlLog.php</instruction>
-
-               <!--
-tar cvf com.woltlab.wcf/files_pre.tar -C wcfsetup/install/files/ \
-       acp/update_com.woltlab.wcf_5.4_session_1_cookies.php \
-       acp/database/update_com.woltlab.wcf_5.4_session_2_user_session.php \
-       acp/update_com.woltlab.wcf_5.4_session_3_migrate_session.php \
-       lib/util/HeaderUtil.class.php \
-       lib/system/package/plugin/AbstractPackageInstallationPlugin.class.php \
-       lib/system/package/plugin/DatabasePackageInstallationPlugin.class.php \
-       lib/system/package/plugin/FilePackageInstallationPlugin.class.php \
-       lib/system/package/plugin/ScriptPackageInstallationPlugin.class.php
-               -->
-               <instruction type="file" run="standalone">files_pre.tar</instruction>
-
-               <instruction type="packageInstallationPlugin" />
-
-               <!-- Deploy some of the options before running the upgrade to not brick the login if the upgrade aborts. -->
-               <instruction type="option" run="standalone">option_5.4.xml</instruction>
-
-               <!-- Preparations for the new session system. -->
-               <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_session_1_cookies.php</instruction>
-               <instruction type="database" run="standalone">acp/database/update_com.woltlab.wcf_5.4_session_2_user_session.php</instruction>
-               <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_session_3_migrate_session.php</instruction>
-               
-               <!-- New application code. -->
-               <instruction type="file" />
-               <instruction type="acpTemplate" />
-               <instruction type="template" />
-               
-               <!-- Make all the new options available as early as possible. -->
-               <instruction type="option" run="standalone" />
-               
-               <!-- Cleanup for the new session system. -->
-               <instruction type="database" run="standalone">acp/database/update_com.woltlab.wcf_5.4_session_4_drop_virtual.php</instruction>
-               <instruction type="database" run="standalone">acp/database/update_com.woltlab.wcf_5.4_session_5_drop_acp.php</instruction>
-               <instruction type="database" run="standalone">acp/database/update_com.woltlab.wcf_5.4_session_6_clean_session.php</instruction>
-               
-               <!-- Non-critical database adjustments. -->
-               <instruction type="database" run="standalone">acp/database/update_com.woltlab.wcf_5.4.php</instruction>
-               
-               <!-- Index updates for `wcf1_tag_to_object`. -->
-               <instruction type="database" run="standalone">acp/database/update_com.woltlab.wcf_5.4_wcf1_tag_to_object_step1.php</instruction>
-               <instruction type="database" run="standalone">acp/database/update_com.woltlab.wcf_5.4_wcf1_tag_to_object_step2.php</instruction>
-               <instruction type="database" run="standalone">acp/database/update_com.woltlab.wcf_5.4_wcf1_tag_to_object_step3.php</instruction>
-               <instruction type="database" run="standalone">acp/database/update_com.woltlab.wcf_5.4_wcf1_tag_to_object_step4.php</instruction>
-               
-               <!-- Cleanup of the filesystem. -->
-               <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_removeFiles.php</instruction>
-               
-               <!-- Misc. PIPs. -->
-               <instruction type="acpMenu" />
-               <instruction type="clipboardAction" />
-               <instruction type="eventListener" />
-               <instruction type="objectTypeDefinition" />
-               <instruction type="objectType" />
-               <instruction type="userGroupOption" />
-               <instruction type="userMenu" />
-               <instruction type="page" />
-               <instruction type="language" />
-               <instruction type="mediaProvider" />
-               <instruction type="userOption" />
-               
-               <!-- Migration of multi-factor authentication. -->
-               <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_migrate_multifactor.php</instruction>
-               
-               <!-- Migration of the rank images -->
-               <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_migrate_rank_images.php</instruction>
-
-               <!-- Update of the Google Fonts -->
-               <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_update_google_font.php</instruction>
-
-               <!-- Creation of WebP cover Photos -->
-               <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_styleCoverPhoto.php</instruction>
-
-               <instruction type="script">acp/update_com.woltlab.wcf_5.4_deleteLanguageItems.php</instruction>
-       </instructions>
-
        <instructions type="update" fromversion="5.4.4">
                <instruction type="acpTemplate">acptemplates_update.tar</instruction>
                <instruction type="file">files_update.tar</instruction>