{"action":"created","issue":{"url":"https://api.github.com/repos/rebar/rebar3/issues/933","labels_url":"https://api.github.com/repos/rebar/rebar3/issues/933/labels{/name}","comments_url":"https://api.github.com/repos/rebar/rebar3/issues/933/comments","events_url":"https://api.github.com/repos/rebar/rebar3/issues/933/events","html_url":"https://github.com/rebar/rebar3/issues/933","id":118231299,"number":933,"title":"Plugins: duplicate provider entries in help","user":{"login":"oubiwann","id":894251,"avatar_url":"https://avatars.githubusercontent.com/u/894251?v=3","gravatar_id":"","url":"https://api.github.com/users/oubiwann","html_url":"https://github.com/oubiwann","followers_url":"https://api.github.com/users/oubiwann/followers","following_url":"https://api.github.com/users/oubiwann/following{/other_user}","gists_url":"https://api.github.com/users/oubiwann/gists{/gist_id}","starred_url":"https://api.github.com/users/oubiwann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oubiwann/subscriptions","organizations_url":"https://api.github.com/users/oubiwann/orgs","repos_url":"https://api.github.com/users/oubiwann/repos","events_url":"https://api.github.com/users/oubiwann/events{/privacy}","received_events_url":"https://api.github.com/users/oubiwann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rebar/rebar3/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-22T00:59:35Z","updated_at":"2015-11-22T02:50:06Z","closed_at":null,"body":"I've written a series of LFE plugins for ``rebar3`` -- the compiler plugin is written Erlang, but all the others are written in LFE and require the LFE compiler plugin. Each plugin therefore has a provider hook entry in its ``rebar.config``.\r\n\r\nI have another project which includes all the plugins together ([ltool](https://github.com/lfe-rebar3/ltool)). When I run help for ltool, I get this:\r\n\r\n```bash\r\n$ rebar3 help lfe\r\n===> Skipping lfe (from {git,\"git://github.com/rvirding/lfe.git\",\r\n                                    {tag,\"v0.10.0\"}}) as an app of the same name has already been fetched\r\n===> Skipping lfe (from {git,\"git://github.com/rvirding/lfe.git\",\r\n                                    {tag,\"v0.10.0\"}}) as an app of the same name has already been fetched\r\n\r\nlfe <task>:\r\n  compile        The LFE rebar3 compiler plugin\r\n  compile        The LFE rebar3 compiler plugin\r\n  compile        The LFE rebar3 compiler plugin\r\n  compile        The LFE rebar3 compiler plugin\r\n  compile        The LFE rebar3 compiler plugin\r\n  repl           The LFE rebar3 LFE REPL plugin.\r\n  version        The LFE rebar3 version plugin.\r\n```\r\n\r\nI suspect that the multiple ``compile``s are showing up because of the multiple provider hook declarations (but that may be incorrect ...). I've tried removing the provider hook from each plugins' ``rebar.config``, but then the plugin doesn't get compiled and isn't recognized (though the ``compile`` lfe task entries are reduced to just one).\r\n\r\nIs this a bug? \r\n\r\nIf not, what is the proper way to setup plugins so this doesn't occur?"},"comment":{"url":"https://api.github.com/repos/rebar/rebar3/issues/comments/158703434","html_url":"https://github.com/rebar/rebar3/issues/933#issuecomment-158703434","issue_url":"https://api.github.com/repos/rebar/rebar3/issues/933","id":158703434,"user":{"login":"oubiwann","id":894251,"avatar_url":"https://avatars.githubusercontent.com/u/894251?v=3","gravatar_id":"","url":"https://api.github.com/users/oubiwann","html_url":"https://github.com/oubiwann","followers_url":"https://api.github.com/users/oubiwann/followers","following_url":"https://api.github.com/users/oubiwann/following{/other_user}","gists_url":"https://api.github.com/users/oubiwann/gists{/gist_id}","starred_url":"https://api.github.com/users/oubiwann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oubiwann/subscriptions","organizations_url":"https://api.github.com/users/oubiwann/orgs","repos_url":"https://api.github.com/users/oubiwann/repos","events_url":"https://api.github.com/users/oubiwann/events{/privacy}","received_events_url":"https://api.github.com/users/oubiwann/received_events","type":"User","site_admin":false},"created_at":"2015-11-22T02:50:06Z","updated_at":"2015-11-22T02:50:06Z","body":"Good to know :-) I'll tweak the bug title to be a bit more general ..."}}