Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
While simplytest.me works fine when there is a stable version of Drupal core selected, it doesn't work if you use a dev version, e.g. 9.1.x. The error is:
5f0f7606ec0cf6032a57e764# /bin/sh -c composer -n create-project drupal/recommended-project:^9.1 stm --no-install
Creating a "drupal/recommended-project:^9.1" project at "./stm"
[InvalidArgumentException] Could not find package drupal/recommended-project with version ^9.1. create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [] [] []
Command Failed (Tugboat Error 1064): Exit code (1)
This can be fixed for dev versions if the version is changed to include -dev
, e.g.
composer -n create-project drupal/recommended-project:^9.1-dev stm --no-install
so the logic needs to be updated to handle this.
Comment | File | Size | Author |
---|---|---|---|
#3 | simplytest-fix_composer-dev-version-3159427-3.patch | 582 bytes | Kristen Pol |
Comments
Comment #2
Kristen PolFor Drupal 9, this might be fixed with updating
modules/simplytest_tugboat/templates/tugboat_config_9_yml.tpl.php
so:is changed to:
Comment #3
Kristen PolHere's a patch.
Comment #4
Kristen PolComment #5
nerdstein@kristen I think this is in the wrong project :(
I'm going to close this.
Comment #6
Kristen PolFixing project. :)
Comment #7
Kristen PolComment #8
nerdsteinPatch looks great -- uploading to bergste.in right now for manual testing
Comment #9
Kristen PolI tested this on bergste.in for versions 8.9.x, 9.0.x, 9.1.x, 8.9.2, and 9.0.2 and they all installed properly.
Comment #10
Kristen PolComment #12
nerdsteinPushed, deployed
Comment #13
Kristen PolWorks great! Tried 9.1.x with and without a patch. Thanks!