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

Show versions on upgrade CLI

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.5
    • 2.3.7, 2.4.3, 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.

      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

        1. Capture.PNG
          129 kB
          Janelle Barcega
        2. MDL-39035.png
          85 kB
          Luca Bösch

            lucaboesch Luca Bösch
            stronk7 Eloy Lafuente (stronk7)
            Mark Johnson Mark Johnson
            David Monllaó David Monllaó
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.