{"action":"created","issue":{"url":"https://api.github.com/repos/keplerproject/luarocks/issues/499","repository_url":"https://api.github.com/repos/keplerproject/luarocks","labels_url":"https://api.github.com/repos/keplerproject/luarocks/issues/499/labels{/name}","comments_url":"https://api.github.com/repos/keplerproject/luarocks/issues/499/comments","events_url":"https://api.github.com/repos/keplerproject/luarocks/issues/499/events","html_url":"https://github.com/keplerproject/luarocks/pull/499","id":133429908,"number":499,"title":"Show dependency constraints in `luarocks show`","user":{"login":"mpeterv","id":6032370,"avatar_url":"https://avatars.githubusercontent.com/u/6032370?v=3","gravatar_id":"","url":"https://api.github.com/users/mpeterv","html_url":"https://github.com/mpeterv","followers_url":"https://api.github.com/users/mpeterv/followers","following_url":"https://api.github.com/users/mpeterv/following{/other_user}","gists_url":"https://api.github.com/users/mpeterv/gists{/gist_id}","starred_url":"https://api.github.com/users/mpeterv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpeterv/subscriptions","organizations_url":"https://api.github.com/users/mpeterv/orgs","repos_url":"https://api.github.com/users/mpeterv/repos","events_url":"https://api.github.com/users/mpeterv/events{/privacy}","received_events_url":"https://api.github.com/users/mpeterv/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/keplerproject/luarocks/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-13T12:53:51Z","updated_at":"2016-03-21T06:51:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/keplerproject/luarocks/pulls/499","html_url":"https://github.com/keplerproject/luarocks/pull/499","diff_url":"https://github.com/keplerproject/luarocks/pull/499.diff","patch_url":"https://github.com/keplerproject/luarocks/pull/499.patch"},"body":"Currently in \"dependencies\" section `luarocks show` prints names of all dependencies of the rock, including \"deep\" dependencies. I suggest that it should only list direct dependencies (using list from rockspec), and that version constraints should be printed, too. E.g. for sailor instead of\r\n\r\n```\r\nDepends on:\r\n\tlua_cliargs\r\n\txavante\r\n\tlua-term\r\n\tcoxpcall\r\n\tbusted\r\n\tluafilesystem\r\n\trings\r\n\tpenlight\r\n\tdatafile\r\n\tdkjson\r\n\tmediator_lua\r\n\tluassert\r\n\tlbase64\r\n\twsapi\r\n\twsapi-xavante\r\n\tluasocket\r\n\tcopas\r\n\tvalua\r\n\tsay\r\n```\r\n\r\nprint\r\n\r\n```\r\nDepends on:\r\n\tlua >= 5.1, < 5.3\r\n\tdatafile >= 0.1\r\n\tluafilesystem >= 1.6.2\r\n\tvalua >= 0.2.2\r\n\tlbase64 >= 2012080\r\n\tcgilua >= 5.1.4\r\n\txavante >= 2.3\r\n\twsapi-xavante >= 1.6.1\r\n\tbusted >= 2.0.rc9\r\n```"},"comment":{"url":"https://api.github.com/repos/keplerproject/luarocks/issues/comments/199148056","html_url":"https://github.com/keplerproject/luarocks/pull/499#issuecomment-199148056","issue_url":"https://api.github.com/repos/keplerproject/luarocks/issues/499","id":199148056,"user":{"login":"daurnimator","id":127971,"avatar_url":"https://avatars.githubusercontent.com/u/127971?v=3","gravatar_id":"","url":"https://api.github.com/users/daurnimator","html_url":"https://github.com/daurnimator","followers_url":"https://api.github.com/users/daurnimator/followers","following_url":"https://api.github.com/users/daurnimator/following{/other_user}","gists_url":"https://api.github.com/users/daurnimator/gists{/gist_id}","starred_url":"https://api.github.com/users/daurnimator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daurnimator/subscriptions","organizations_url":"https://api.github.com/users/daurnimator/orgs","repos_url":"https://api.github.com/users/daurnimator/repos","events_url":"https://api.github.com/users/daurnimator/events{/privacy}","received_events_url":"https://api.github.com/users/daurnimator/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T06:51:14Z","updated_at":"2016-03-21T06:51:14Z","body":"I like the sound of this.\r\nThough perhaps there should be a flag to turn on \"deep\" dependencies?"}}