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

Update composer.json with the new moodlehq/behat-extension tag for 3.5dev

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      In the master branch only:

      Test 0

      1. Skip this step, nothing to do, dear tester, integrators will deal with this. Verify that both phpunit and behat runs are installing and passing ok for master.

      Test 1
      (better use composer >= 1.3, to avoid some time format differences)

      1. Open a terminal and navigate to your moodle root directory.
      2. Run php composer.phar update
      3. Open composer.lock on a text editor.
      4. You SHOULD find
        "name": "moodlehq/behat-extension",
        "version": "v3.35.0",
      5. Back on your terminal, delete the "vendor" folder and "composer.lock"

        rm -rf vendor
        rm composer.lock
        

      6. Run again php composer.phar update
      7. Open composer.lock on a text editor
      8. You SHOULD find
        "name": "moodlehq/behat-extension",
        "version": "v3.35.0",
      Show
      In the master branch only: Test 0 Skip this step, nothing to do, dear tester , integrators will deal with this. Verify that both phpunit and behat runs are installing and passing ok for master. Test 1 (better use composer >= 1.3, to avoid some time format differences) Open a terminal and navigate to your moodle root directory. Run php composer.phar update Open composer.lock on a text editor. You SHOULD find "name": "moodlehq/behat-extension", "version": "v3.35.0", Back on your terminal, delete the " vendor " folder and " composer.lock " rm -rf vendor rm composer.lock Run again php composer.phar update Open composer.lock on a text editor You SHOULD find "name": "moodlehq/behat-extension", "version": "v3.35.0",
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      After releasing XY we should update composer.json in master to point to a new tag (from https://github.com/moodlehq/moodle-behat-extension.git master branch) according to the moodle development version (3.35.0 for Behat 3 and Moodle 3.5dev for example - this issue).

      Detailed process:

      https://docs.moodle.org/dev/Release_process#2_weeks_after

      Verify the new version has been released in packagist (it happens weekly by default or under demand if a package maintainer is asked). Link: https://packagist.org/packages/moodlehq/behat-extension

      To regenerate the composer.lock file, delete it, delete vendor and, using the lower php version supported by the .dev Moodle, run composer update.

      Ensure changes related to the extension are ok in the .lock file. It will come also with updates to many of the dependencies. Run behat tests and phpunit tests to confirm they work ok.

      Note: it's possible to automate it using the packagist hook @ github and surely we'll end doing that. Just let's get used to managing the behat-extension, its branches and tags, using the manual "update" @ packagist. And once we are used... move to automate.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stronk7 Eloy Lafuente (stronk7)
                Reporter:
                stronk7 Eloy Lafuente (stronk7)
                Integrator:
                Jun Pataleta
                Tester:
                David Monllaó
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

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