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

Show versions on upgrade CLI

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.7, 2.4.3, 3.5
    • 3.5
    • Installation
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_35_STABLE
    • MOODLE_35_STABLE
    • MDL-39035-master
    • 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.

    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

            lucaboesch Luca Bösch
            stronk7 Eloy Lafuente (stronk7)
            Mark Johnson Mark Johnson
            David Monllaó David Monllaó
            Janelle Barcega Janelle Barcega
            Matteo Scaramuccia, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              17/May/18

              Time Tracking

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