{"action":"created","issue":{"url":"https://api.github.com/repos/arduino/Arduino/issues/2850","labels_url":"https://api.github.com/repos/arduino/Arduino/issues/2850/labels{/name}","comments_url":"https://api.github.com/repos/arduino/Arduino/issues/2850/comments","events_url":"https://api.github.com/repos/arduino/Arduino/issues/2850/events","html_url":"https://github.com/arduino/Arduino/pull/2850","id":65261114,"number":2850,"title":"Advise of duplicate libraries after compiling","user":{"login":"PaulStoffregen","id":965463,"avatar_url":"https://avatars.githubusercontent.com/u/965463?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulStoffregen","html_url":"https://github.com/PaulStoffregen","followers_url":"https://api.github.com/users/PaulStoffregen/followers","following_url":"https://api.github.com/users/PaulStoffregen/following{/other_user}","gists_url":"https://api.github.com/users/PaulStoffregen/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulStoffregen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulStoffregen/subscriptions","organizations_url":"https://api.github.com/users/PaulStoffregen/orgs","repos_url":"https://api.github.com/users/PaulStoffregen/repos","events_url":"https://api.github.com/users/PaulStoffregen/events{/privacy}","received_events_url":"https://api.github.com/users/PaulStoffregen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-30T17:30:10Z","updated_at":"2015-04-01T07:31:23Z","closed_at":"2015-04-01T07:31:10Z","pull_request":{"url":"https://api.github.com/repos/arduino/Arduino/pulls/2850","html_url":"https://github.com/arduino/Arduino/pull/2850","diff_url":"https://github.com/arduino/Arduino/pull/2850.diff","patch_url":"https://github.com/arduino/Arduino/pull/2850.patch"},"body":"When 2 or more libraries match to the same #include in the sketch, this prints a helpful message after compiling.  As discussed on issue #2847 and the mail list...\r\n\r\nInternally, this change extends LibrariesIndexer to keep another list of libraries which includes duplicates.  In BaseNoGui, importToLibraryTable is extended to map header names to LibraryList objects, instead of only a single UserLibrary object.  The building of importToLibraryTable is improved to also add the duplicates found by LibrariesIndexer.  Compiler is extended to use the new importToLibraryTable, and take note of any LibraryList is uses with more than 1 library.  After compiling, those are used to print the helpful message."},"comment":{"url":"https://api.github.com/repos/arduino/Arduino/issues/comments/88378372","html_url":"https://github.com/arduino/Arduino/pull/2850#issuecomment-88378372","issue_url":"https://api.github.com/repos/arduino/Arduino/issues/2850","id":88378372,"user":{"login":"ffissore","id":510465,"avatar_url":"https://avatars.githubusercontent.com/u/510465?v=3","gravatar_id":"","url":"https://api.github.com/users/ffissore","html_url":"https://github.com/ffissore","followers_url":"https://api.github.com/users/ffissore/followers","following_url":"https://api.github.com/users/ffissore/following{/other_user}","gists_url":"https://api.github.com/users/ffissore/gists{/gist_id}","starred_url":"https://api.github.com/users/ffissore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffissore/subscriptions","organizations_url":"https://api.github.com/users/ffissore/orgs","repos_url":"https://api.github.com/users/ffissore/repos","events_url":"https://api.github.com/users/ffissore/events{/privacy}","received_events_url":"https://api.github.com/users/ffissore/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T07:31:23Z","updated_at":"2015-04-01T07:31:23Z","body":"Thanks @PaulStoffregen "}}