Public bug reported: Use-case: You are just starting with Charm Layers, made some layers locally (in JUJU_REPOSITORY/layers) referenced them with layer:mylayer and generate the Charm. COMPOSER_PATH is unset
What I expect: Charm compose throws an error saying "I couldn't find the layer remotely and COMPOSER_PATH is unset. Please set COMPOSER_PATH if you are referencing local layers". What I get: Charm gets generated without errors. However, there is no hooks directory, so when deploying the Charm, you get strange errors such as "unit is not assigned to machine". Common use-case and common error for someone who starts using charm layers so the warning should be very informative. ** Affects: charm-tools (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to charm-tools in Ubuntu. https://bugs.launchpad.net/bugs/1504109 Title: Strange generation when COMPOSER_PATH not set To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/charm-tools/+bug/1504109/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs