Local plugins not found in alternative snap dir

Bug #1827095 reported by Claudio Matsuoka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Medium
Claudio Matsuoka

Bug Description

If an alternative location such as build-aux/snap is used to store the snapcraft yaml file, local plugins fail to load from build-aux/snap/plugins. Instead, snapcraft keeps loading them from the standard snap directory location (snap/plugins).

To reproduce, create a project using a local plugin and use build-aux/snap instead of snap to store the yaml files and the local plugins directory. The build will fail with:
```
Using 'build-aux/snap/snapcraft.yaml': Project assets will be searched for from the 'build-aux/snap' directory.
Searching for local plugin for local
Failed to load plugin: unknown plugin: 'local'
```

Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Changed in snapcraft:
milestone: none → 3.5
assignee: nobody → Claudio Matsuoka (cmatsuoka)
importance: Undecided → High
status: New → Fix Committed
importance: High → Medium
Changed in snapcraft:
status: Fix Committed → Fix Released
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.