From b2c681125f6acb5b493ba05ef8eb35d37f418727 Mon Sep 17 00:00:00 2001 From: Wim Leers Date: Fri, 1 Sep 2023 18:25:30 +0200 Subject: [PATCH] Make `acli app:new:from:drupal7` default to the latest AMA recommendations on d.o (#1588) * PHP defaults to no user agent. (Drupal.org's) GitLab requires it. So: specify a user agent to make it happy. * Default to using the latest AMA recommendations instead of the hardcoded MVP. --- src/Command/App/NewFromDrupal7Command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Command/App/NewFromDrupal7Command.php b/src/Command/App/NewFromDrupal7Command.php index 047bd1646..ad1dabbc3 100644 --- a/src/Command/App/NewFromDrupal7Command.php +++ b/src/Command/App/NewFromDrupal7Command.php @@ -137,7 +137,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int fclose($config_resource); // Parse recommendations for project builder. - $recommendations_location = __DIR__ . '/../../../config/from_d7_recommendations.json'; + $recommendations_location = "https://git.drupalcode.org/project/acquia_migrate/-/raw/recommendations/recommendations.json"; if ($input->getOption('recommendations') !== NULL) { $raw_recommendations_location = $input->getOption('recommendations'); try {