Open johnsca opened 7 years ago
@mitechie
There are some improvements we could make to the above output, as well. The interface error should indicate which relation endpoint and / or interface name it failed on. The "Processing interface" lines should indicate which relation endpoint / endpoint type they are for, so it's clear why they're being repeated. It would also be helpful for bug reporting, at least, to also report the source directory for the build.
If a directory with the same name as a base or interface layer exists under the
$JUJU_REPOSITORY
path, it will be picked up, even when$LAYER_PATH
or$INTERFACE_PATH
is set and even if there is a matching layer under those paths. We probably shouldn't search$JUJU_REPOSITORY
at all for layers, and if$LAYER_PATH
or$INTERFACE_PATH
are not set, we should default to never using local layers.