← Back to issue list

x- plugin convention is confusing

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1597603
Type
issue
State
open
Author
~niemeyer
Labels
custom-plugin
Created
2016-06-30 04:55:20.815947+00:00
Updated
2017-03-04 19:25:50.529353+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

It took me a while to understand that despite having the plugin named as x-foo.py in the plugin repository, it gets loaded as "foo" and must be referenced as such in snapcraft.yaml: % snapcraft snap Loaded local plugin for foo Searching for local plugin for x-foo Issue while loading plugin: unknown plugin: x-foo That seems to remove the point of having the x- prefix, which is to disambiguate local plugins from remote one. The local file name matters little. Doesn't that mean, for example, that if I use a remote part that happens to use a "foo" plugin, it will pick my local x-foo.py file instead of attempting to load a "foo" plugin from snapcraft itself?

Evaluation history

No evaluation history available.