Skip to content

Commit

Permalink
Make acli app:new:from:drupal7 default to the latest AMA recommenda…
Browse files Browse the repository at this point in the history
…tions 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.
  • Loading branch information
wimleers authored Sep 1, 2023
1 parent ad46983 commit b2c6811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/App/NewFromDrupal7Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b2c6811

Please sign in to comment.