Skip to content

The adopt_info field should be checked to reference a valid part. #926

@lengau

Description

@lengau

Bug Description

Right now the adopt-info field accepts any string, whether it's a part in the project or not.

To Reproduce

Use testcraft to build the file below.

part yaml

name: minimal-valid-project
parts: {}
version: "0.0"
adopt-info: my-part
platforms:
  amd64:
    build-on: [amd64]
    build-for: [amd64]

Relevant log output

n/a

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions