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

Show versions on upgrade CLI

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.7, 2.4.3, 3.5
    • Fix Version/s: 3.5
    • Component/s: Installation
    • Labels:
    • Testing Instructions:
      Hide
      • Increase the version number in version.php with an incremental change, e.g. from $version = 2018032900.00; to $version = 2018032900.01;
      • As admin, in command line, run php admin/cli/upgrade.php
      • Cross-check that after the successful update there is a message as Eloy suggested.

      Show
      Increase the version number in version.php with an incremental change, e.g. from $version = 2018032900.00; to $version = 2018032900.01; As admin, in command line, run php admin/cli/upgrade.php Cross-check that after the successful update there is a message as Eloy suggested.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-39035-master

      Description

      Using the admin/cli/upgrade script, if there is no upgrade to perform, it ends with:

      No upgrade needed for the installed version 2.5beta (Build: 20130405) (2013040500). Thanks for coming anyway!
      

      Instead, when a upgrade happens, no information about versions is shown:

      Command line upgrade completed successfully.
      

      It would be great to show the from/to versions there, with something like:

      Upgrade from 2.5dev (Build: abcdefghij) (yyyyyyyyyyy) to 2.8.3+ (Build: abcdefghij) (yyyyyyyyyyy) completed successfully.
      

      Ciao

        Attachments

        1. Capture.PNG
          Capture.PNG
          129 kB
        2. MDL-39035.png
          MDL-39035.png
          85 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/18

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m