Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-41086

rework detection if upgrade necessary

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.6
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      Hide

      1/ try fresh install
      2/ try upgrade is triggered from frontpage when you bump up main version and/or some plugins
      3/ try upgrade from 2.4 and 2.5
      4/ init phpunit and execute tests
      5/ init bahat and execute tests
      6/ try deleting some directory from /mod/ - you should be now taken to upgrade after removing any plugin, some plugin types such as activities and blocks show you the missing plugins

      Show
      1/ try fresh install 2/ try upgrade is triggered from frontpage when you bump up main version and/or some plugins 3/ try upgrade from 2.4 and 2.5 4/ init phpunit and execute tests 5/ init bahat and execute tests 6/ try deleting some directory from /mod/ - you should be now taken to upgrade after removing any plugin, some plugin types such as activities and blocks show you the missing plugins
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w33_MDL-41086_m26_upgradecheck

      Description

      At present we test only a few plugin types, but it is both inefficient and unreliable. We could use the same version hashes like in phpunit and behat to make it relatively fast and reliable.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              skodak Petr Skoda
              Integrator:
              Sam Hemelryk
              Tester:
              Rajesh Taneja
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13