{"action":"created","issue":{"url":"https://api.github.com/repos/lambci/lambci/issues/66","repository_url":"https://api.github.com/repos/lambci/lambci","labels_url":"https://api.github.com/repos/lambci/lambci/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/lambci/lambci/issues/66/comments","events_url":"https://api.github.com/repos/lambci/lambci/issues/66/events","html_url":"https://github.com/lambci/lambci/issues/66","id":197101224,"number":66,"title":"Support languages as first-class property","user":{"login":"deitch","id":282526,"avatar_url":"https://avatars.githubusercontent.com/u/282526?v=3","gravatar_id":"","url":"https://api.github.com/users/deitch","html_url":"https://github.com/deitch","followers_url":"https://api.github.com/users/deitch/followers","following_url":"https://api.github.com/users/deitch/following{/other_user}","gists_url":"https://api.github.com/users/deitch/gists{/gist_id}","starred_url":"https://api.github.com/users/deitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deitch/subscriptions","organizations_url":"https://api.github.com/users/deitch/orgs","repos_url":"https://api.github.com/users/deitch/repos","events_url":"https://api.github.com/users/deitch/events{/privacy}","received_events_url":"https://api.github.com/users/deitch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-22T06:03:21Z","updated_at":"2016-12-22T16:58:41Z","closed_at":"2016-12-22T16:34:25Z","body":"Can lambci support languages as a first-class property? Instead of:\r\n\r\n```json\r\n{\r\n  \"cmd\": \". ~/init/java 1.7 && mvn install -B -V && mvn test\"\r\n}\r\n```\r\n\r\nWe would do:\r\n\r\n```json\r\n{\r\n  \"language\": \"java:1.7\",\r\n  \"cmd\": \"mvn install -B -V && mvn test\"\r\n}\r\n```\r\n\r\nOf course, it is just running `~/init/java 1.7` and then whatever is in `cmd`, but it is a cleaner interface, simplifies `cmd`, and makes it easier to understand. We also can support multiple languages by doing \r\n\r\n```json\r\n{\r\n  \"language\": [\"java:1.7\",\"node:7.2.1\"],\r\n}\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lambci/lambci/issues/comments/268842645","html_url":"https://github.com/lambci/lambci/issues/66#issuecomment-268842645","issue_url":"https://api.github.com/repos/lambci/lambci/issues/66","id":268842645,"user":{"login":"deitch","id":282526,"avatar_url":"https://avatars.githubusercontent.com/u/282526?v=3","gravatar_id":"","url":"https://api.github.com/users/deitch","html_url":"https://github.com/deitch","followers_url":"https://api.github.com/users/deitch/followers","following_url":"https://api.github.com/users/deitch/following{/other_user}","gists_url":"https://api.github.com/users/deitch/gists{/gist_id}","starred_url":"https://api.github.com/users/deitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deitch/subscriptions","organizations_url":"https://api.github.com/users/deitch/orgs","repos_url":"https://api.github.com/users/deitch/repos","events_url":"https://api.github.com/users/deitch/events{/privacy}","received_events_url":"https://api.github.com/users/deitch/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T16:58:41Z","updated_at":"2016-12-22T16:58:41Z","body":"> Well I'd haggle with you on this one too\r\n\r\n\"You've got to haggle!\" https://www.youtube.com/watch?v=1xpzyk8Uo3E :-)\r\n\r\n"}}
{"actor":{"display_login":"deitch"}}