United-Philanthropy-Forum / km-starter-kit

KM Starter Kit
0 stars 1 forks source link

Adds custom directories to aid in site creation #36

Closed aaronbauman closed 1 year ago

aaronbauman commented 1 year ago

Addresses https://github.com/United-Philanthropy-Forum/km-starter-kit/issues/35

What this PR does:

Before: https://app.circleci.com/pipelines/github/United-Philanthropy-Forum/messageagency-km-test4/4/workflows/d7e93a95-cb62-49b0-8afc-dbd0ef21a330/jobs/12

After: https://app.circleci.com/pipelines/github/United-Philanthropy-Forum/messageagency-km-test4/6/workflows/0bf7b6e9-8381-4c9b-a22b-b419eb99050b/jobs/18

How to test this branch:

Not sure how to test site creation with this branch, because my forked repo is not available to terminus. Running the test command yields this error:

  [InvalidArgumentException]                                                       
  Could not find package aaronbauman/km-starter-kit with version dev-custom-dirs.  

Exception trace:
  at phar:///usr/local/bin/composer2/src/Composer/Command/CreateProjectCommand.php:424
 Composer\Command\CreateProjectCommand->installRootPackage() at phar:///usr/local/bin/composer2/src/Composer/Command/CreateProjectCommand.php:196
 Composer\Command\CreateProjectCommand->installProject() at phar:///usr/local/bin/composer2/src/Composer/Command/CreateProjectCommand.php:171
 Composer\Command\CreateProjectCommand->execute() at phar:///usr/local/bin/composer2/vendor/symfony/console/Command/Command.php:298
 Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer2/vendor/symfony/console/Application.php:1028
 Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer2/vendor/symfony/console/Application.php:299
 Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer2/src/Composer/Console/Application.php:375
 Composer\Console\Application->doRun() at phar:///usr/local/bin/composer2/vendor/symfony/console/Application.php:171
 Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer2/src/Composer/Console/Application.php:139
 Composer\Console\Application->run() at phar:///usr/local/bin/composer2/bin/composer:88
 require() at /usr/local/bin/composer2:29

 [error]  Command `composer create-project --working-dir=/private/var/folders/sd/rvfjy8qs1q3926_6ddjk43tr0000gn/T/local-siteQOnV0v  aaronbauman/km-starter-kit:dev-custom-dirs messageagency-km-test5 -n --stability dev` failed with exit code 1