{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/12891","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/12891/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/12891/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/12891/events","html_url":"https://github.com/JuliaLang/julia/issues/12891","id":104108291,"number":12891,"title":"Should Pkg.clone run Pkg.build?","user":{"login":"jiahao","id":1732,"avatar_url":"https://avatars.githubusercontent.com/u/1732?v=3","gravatar_id":"","url":"https://api.github.com/users/jiahao","html_url":"https://github.com/jiahao","followers_url":"https://api.github.com/users/jiahao/followers","following_url":"https://api.github.com/users/jiahao/following{/other_user}","gists_url":"https://api.github.com/users/jiahao/gists{/gist_id}","starred_url":"https://api.github.com/users/jiahao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiahao/subscriptions","organizations_url":"https://api.github.com/users/jiahao/orgs","repos_url":"https://api.github.com/users/jiahao/repos","events_url":"https://api.github.com/users/jiahao/events{/privacy}","received_events_url":"https://api.github.com/users/jiahao/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/decision","name":"decision","color":"F08000"},{"url":"https://api.github.com/repos/JuliaLang/julia/labels/packages","name":"packages","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-31T18:36:09Z","updated_at":"2015-09-01T06:32:06Z","closed_at":null,"body":"I just noticed that when `Pkg.clone`-ing an unregistered package, `Pkg.build` does not appear to be run automatically. In contrast, `Pkg.add` calls `Pkg.build` to build binary dependencies. \r\n\r\nIs this an inconsistency between `Pkg.add` and `Pkg.clone`? This issue came up when I was trying out an unregistered package that required a binary external dependency and I was confused about why the call to the library it wrapped was failing."},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/136599109","html_url":"https://github.com/JuliaLang/julia/issues/12891#issuecomment-136599109","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/12891","id":136599109,"user":{"login":"jiahao","id":1732,"avatar_url":"https://avatars.githubusercontent.com/u/1732?v=3","gravatar_id":"","url":"https://api.github.com/users/jiahao","html_url":"https://github.com/jiahao","followers_url":"https://api.github.com/users/jiahao/followers","following_url":"https://api.github.com/users/jiahao/following{/other_user}","gists_url":"https://api.github.com/users/jiahao/gists{/gist_id}","starred_url":"https://api.github.com/users/jiahao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiahao/subscriptions","organizations_url":"https://api.github.com/users/jiahao/orgs","repos_url":"https://api.github.com/users/jiahao/repos","events_url":"https://api.github.com/users/jiahao/events{/privacy}","received_events_url":"https://api.github.com/users/jiahao/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T06:32:06Z","updated_at":"2015-09-01T06:32:06Z","body":"I'm not sure how this security discussion is relevant. It's clear that quite a few  developers want the convenience of having `clone` trigger `build`. Ordinary users shouldn't be  `clone`-ing unregistered packages in the first place."}}