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

Bump backup internal version and release information for 4.2 branch

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.2
    • 4.2
    • Backup
    • MOODLE_402_STABLE
    • MOODLE_402_STABLE
    • Hide

      Manual (master branch):

      1. Perform 1 backup of any course.
      2. Download the resulting .mbz file.
      3. Rename the file to add the .tgz suffix
      4. Uncompress the file

        tar -zxf path/to/moodle_backup.mbz.tgz
        

      5. Look to the "moodle_backup.xml" file"
      6. TEST: Verify these contents are in the <information> tag:

        <backup_version>2022112800</backup_version>
        <backup_release>4.2</backup_release>
        

      Automatic:

      1. The version checker job in the CI servers pass perfectly both for master and the just created stable branch.
      Show
      Manual (master branch): Perform 1 backup of any course. Download the resulting .mbz file. Rename the file to add the .tgz suffix Uncompress the file tar -zxf path/to/moodle_backup.mbz.tgz Look to the "moodle_backup.xml" file" TEST: Verify these contents are in the <information> tag: <backup_version>2022112800</backup_version> <backup_release>4.2</backup_release> Automatic: The version checker job in the CI servers pass perfectly both for master and the just created stable branch.

    Description

      We use to update the internal backup version and release on majors. While it's not used along the process, that information is included on each backup and has helped in the past to detect inconsistencies caused by codebase partially updated and other problems.

      Since Moodle 2.4 we are checking version & release with the CI versions checker so this is a task that we should perform always immediately after a major release (hence has been included in the Release process).

      Summary:

      1) Both in the new stable branch and in master (file backup/backup.class.php):

      • VERSION must match main $version (10 digits).
      • RELEASE must match main $release (X.Y format).
        (provide all the needed changes to achieve this)

      Side note: this is one of the allowed differences between the just created branch and master over the on-sync period.

      Attachments

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              jpataleta Jun Pataleta
              Nobody Nobody
              Jun Pataleta Jun Pataleta
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                24/Apr/23

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 53 minutes
                  53m