factorial-io / phabalicious

Supports your deployments and every-day devops-tasks
http://docs.phab.io
MIT License
18 stars 3 forks source link

Scaffolding an app which uses inheritsFrom with @ fails #150

Closed mgrsskls closed 3 years ago

mgrsskls commented 3 years ago

When scaffolding an app, which has this:

inheritsFrom:
  - "@/scaffold/drupal-fe/common.yml"

I get the following error:

 …

 [ERROR] Could not get needed data from
         `https://config.factorial.io/scaffold/drupal-fe/%40/scaffold/drupal-fe/common.yml`!

In Scaffolder.php line 152:

  Missing key scaffold in scaffold: The file needs a scaffold-section.
  Missing key assets in scaffold: The file needs a assets-section.
  Missing key questions in scaffold: The file needs a questions-section.
stmh commented 3 years ago

sounds like the base url is missing

stmh commented 3 years ago

if you do not provide a base-url via the cli then the file must contain sth like this:

baseUrl: https://config.factorial.io
mgrsskls commented 3 years ago

sounds like the base url is missing

I ran it with phab app:scaffold https://config.factorial.io/scaffold/drupal-fe/d9.yml --base-url https://config.factorial.io, the scaffold file itself also has baseUrl

stmh commented 3 years ago

thanks for clarification. That sounds indeed like a bug. Will look into

stmh commented 3 years ago

fixed in https://github.com/factorial-io/phabalicious/releases/tag/3.6.4