It is not possible to use global build-snaps

Bug #1718823 reported by Leo Arias
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

We can define build-packages globally in the snapcraft.yaml. This means that the build-packages are not for a part in particular, but for all of them.

With build-snaps we can't define them globally. We can only define them inside a part.

To reproduce, try to build the following yaml:

name: build-package
version: '0.1'
summary: install a build-package
description: Install a build-package.

build-snaps: ['hello']

    plugin: nil

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

Agreed. This needs to change in the schema to allow for it in the first place, but then the grammar already exists to handle it. We just need to add it to the `GlobalGrammarProcessor`.

Changed in snapcraft:
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.