Skip to content

snapcraft schemas does not take into account patforms for core24 #4652

Open
@solsticedhiver

Description

@solsticedhiver

Area with issue?

JSON Schema

✔️ Expected Behavior

When using core24 as base, there is no architectures directive allowed because the corresponding name is platforms, with a new syntax.

Have a look at https://snapcraft.io/docs/architectures#core24

❌ Actual Behavior

When using s scnapcraft with core24 as base, platforms is shown as an error, while it should not

JSON, YAML, or TOML file that does not work.

name: somesoft
base: core24
version: '0.6.1'
# [...]
grade: devel
confinement: strict
platforms:
  amd64:
    build-on: [amd64]
    build-for: [amd64]
parts:
# [...]

IDE or code editor.

None

Are you making a PR for this?

No, someone else must create the PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedissue:bugReport errors or unexpected behavior (auto-generated by issue forms)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions