{"action":"created","issue":{"url":"https://api.github.com/repos/jwiegley/use-package/issues/370","repository_url":"https://api.github.com/repos/jwiegley/use-package","labels_url":"https://api.github.com/repos/jwiegley/use-package/issues/370/labels{/name}","comments_url":"https://api.github.com/repos/jwiegley/use-package/issues/370/comments","events_url":"https://api.github.com/repos/jwiegley/use-package/issues/370/events","html_url":"https://github.com/jwiegley/use-package/pull/370","id":168013288,"number":370,"title":"Allow :ensure installing built-in package distributed also on (m)elpa.","user":{"login":"thierryvolpiatto","id":1533939,"avatar_url":"https://avatars.githubusercontent.com/u/1533939?v=3","gravatar_id":"","url":"https://api.github.com/users/thierryvolpiatto","html_url":"https://github.com/thierryvolpiatto","followers_url":"https://api.github.com/users/thierryvolpiatto/followers","following_url":"https://api.github.com/users/thierryvolpiatto/following{/other_user}","gists_url":"https://api.github.com/users/thierryvolpiatto/gists{/gist_id}","starred_url":"https://api.github.com/users/thierryvolpiatto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thierryvolpiatto/subscriptions","organizations_url":"https://api.github.com/users/thierryvolpiatto/orgs","repos_url":"https://api.github.com/users/thierryvolpiatto/repos","events_url":"https://api.github.com/users/thierryvolpiatto/events{/privacy}","received_events_url":"https://api.github.com/users/thierryvolpiatto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-28T04:48:53Z","updated_at":"2016-09-09T20:12:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jwiegley/use-package/pulls/370","html_url":"https://github.com/jwiegley/use-package/pull/370","diff_url":"https://github.com/jwiegley/use-package/pull/370.diff","patch_url":"https://github.com/jwiegley/use-package/pull/370.patch"},"body":"This commit fix (use-package org :ensure t)\r\norg being a built-in package but also a package distributed on elpa.\r\nWhen a user use :ensure on such a package (already installed) we assume\r\nit is the elpa version he wants to use.\r\n\r\n* use-package.el (use-package-ensure-elpa):\r\nDon't assume a package is installed because it is built-in.\r\nUse the description of the package to ensure we don't try to install\r\nthe built-in one.\r\n\r\nAdd also some declarations to shutup byte compiler."},"comment":{"url":"https://api.github.com/repos/jwiegley/use-package/issues/comments/246026372","html_url":"https://github.com/jwiegley/use-package/pull/370#issuecomment-246026372","issue_url":"https://api.github.com/repos/jwiegley/use-package/issues/370","id":246026372,"user":{"login":"tsdh","id":103854,"avatar_url":"https://avatars.githubusercontent.com/u/103854?v=3","gravatar_id":"","url":"https://api.github.com/users/tsdh","html_url":"https://github.com/tsdh","followers_url":"https://api.github.com/users/tsdh/followers","following_url":"https://api.github.com/users/tsdh/following{/other_user}","gists_url":"https://api.github.com/users/tsdh/gists{/gist_id}","starred_url":"https://api.github.com/users/tsdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsdh/subscriptions","organizations_url":"https://api.github.com/users/tsdh/orgs","repos_url":"https://api.github.com/users/tsdh/repos","events_url":"https://api.github.com/users/tsdh/events{/privacy}","received_events_url":"https://api.github.com/users/tsdh/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T20:12:48Z","updated_at":"2016-09-09T20:12:48Z","body":"Well, IMO :ensure should ensure that a package will be there, and the simplest way to meet that requirement for built-in packages is to do nothing.\r\n\r\nI can see that sometimes you always want to use the ELPA version of a package, but I think that should be realized with a new option or special value of :ensure."}}
{"actor":{"display_login":"tsdh"}}