{"action":"created","issue":{"url":"https://api.github.com/repos/Jguer/yay/issues/46","repository_url":"https://api.github.com/repos/Jguer/yay","labels_url":"https://api.github.com/repos/Jguer/yay/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/Jguer/yay/issues/46/comments","events_url":"https://api.github.com/repos/Jguer/yay/issues/46/events","html_url":"https://github.com/Jguer/yay/issues/46","id":255557238,"number":46,"title":"Handle `--needed` cliarg","user":{"login":"muesli","id":146378,"avatar_url":"https://avatars2.githubusercontent.com/u/146378?v=4","gravatar_id":"","url":"https://api.github.com/users/muesli","html_url":"https://github.com/muesli","followers_url":"https://api.github.com/users/muesli/followers","following_url":"https://api.github.com/users/muesli/following{/other_user}","gists_url":"https://api.github.com/users/muesli/gists{/gist_id}","starred_url":"https://api.github.com/users/muesli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muesli/subscriptions","organizations_url":"https://api.github.com/users/muesli/orgs","repos_url":"https://api.github.com/users/muesli/repos","events_url":"https://api.github.com/users/muesli/events{/privacy}","received_events_url":"https://api.github.com/users/muesli/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-06T10:35:25Z","updated_at":"2018-04-17T22:18:56Z","closed_at":"2018-02-20T21:25:30Z","author_association":"NONE","body":"It would be handy if yay respected `--needed` for AUR-based packages, too."},"comment":{"url":"https://api.github.com/repos/Jguer/yay/issues/comments/382173662","html_url":"https://github.com/Jguer/yay/issues/46#issuecomment-382173662","issue_url":"https://api.github.com/repos/Jguer/yay/issues/46","id":382173662,"user":{"login":"Morganamilo","id":16593899,"avatar_url":"https://avatars2.githubusercontent.com/u/16593899?v=4","gravatar_id":"","url":"https://api.github.com/users/Morganamilo","html_url":"https://github.com/Morganamilo","followers_url":"https://api.github.com/users/Morganamilo/followers","following_url":"https://api.github.com/users/Morganamilo/following{/other_user}","gists_url":"https://api.github.com/users/Morganamilo/gists{/gist_id}","starred_url":"https://api.github.com/users/Morganamilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morganamilo/subscriptions","organizations_url":"https://api.github.com/users/Morganamilo/orgs","repos_url":"https://api.github.com/users/Morganamilo/repos","events_url":"https://api.github.com/users/Morganamilo/events{/privacy}","received_events_url":"https://api.github.com/users/Morganamilo/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T22:18:56Z","updated_at":"2018-04-17T22:18:56Z","author_association":"COLLABORATOR","body":"Are you sure its building? Yay splits the install up into two parts: download `sources=()` and  build+install. So what Yay is probably doing is downloading the sources, not building and reinstalling the built package.\r\n\r\nI agree it shouldn't really be doing this. We need the `sources=()` so that the pkgbuild may correctly execute the `pkgver()` function. Ideally I would like a \"download sources only if there's a pkgver() function\" but makepkg doesn't provide this.\r\n\r\nA little hacky but we could grep the pkgbuild for a `pkgver()` function and skip the download, or maybe a better way is to source it instead.\r\n\r\nMost packages don't contain a `pkgver()` so I get this is pretty wasteful, I'll think about a decent solution to this. "}}
{"actor":{"display_login":"Morganamilo"}}