Skip to content

duplicate-project-id

Two Projects share an id.

Severity: error · Since: v1.0.0

For the failing example below, archidocs check prints:

shop-admin/project.yaml:1:5 error duplicate-project-id Project id "shop" is already used by shop/project.yaml

A Qualified id, project:id, names one thing across the whole Workspace. If two Projects were both shop, shop:web could mean an Element in either.

shop-admin/project.yaml:

id: shop
name: Shop admin
owner: core

Give one of the Projects a different id.

shop-admin/project.yaml:

id: shop-admin
name: Shop admin
owner: core
  • unknown-project: A project: prefix names no Project.
  • duplicate-id: An Element or Deployment Target id is declared twice in a Project, across files too, whatever its kind or nesting.

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