Skip to content

nested-project

A project.yaml sits inside another Project’s folder.

Severity: error · Since: v1.0.0

For the failing example below, archidocs check prints:

shop/legacy/project.yaml:1:1 error nested-project Project folder shop/legacy is inside Project "shop" (shop); Projects can't nest

A Project is one Team’s folder: it namespaces the ids declared in it and gives them a default Owner. A Project inside another would put its files in two Teams’ folders at once.

shop/legacy/project.yaml:

id: legacy
name: Legacy
owner: core

Move the inner Project’s folder out of the outer Project’s folder.

legacy/project.yaml:

id: legacy
name: Legacy
owner: core

shop/legacy/project.yaml: removed.

Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.