{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/yosssi/goat/pulls/5","id":58216696,"html_url":"https://github.com/yosssi/goat/pull/5","diff_url":"https://github.com/yosssi/goat/pull/5.diff","patch_url":"https://github.com/yosssi/goat/pull/5.patch","issue_url":"https://api.github.com/repos/yosssi/goat/issues/5","number":5,"state":"open","locked":false,"title":"Added yaml support and directory support. Closes #2 and closes #4","user":{"login":"nithin-bose","id":1546322,"avatar_url":"https://avatars.githubusercontent.com/u/1546322?v=3","gravatar_id":"","url":"https://api.github.com/users/nithin-bose","html_url":"https://github.com/nithin-bose","followers_url":"https://api.github.com/users/nithin-bose/followers","following_url":"https://api.github.com/users/nithin-bose/following{/other_user}","gists_url":"https://api.github.com/users/nithin-bose/gists{/gist_id}","starred_url":"https://api.github.com/users/nithin-bose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nithin-bose/subscriptions","organizations_url":"https://api.github.com/users/nithin-bose/orgs","repos_url":"https://api.github.com/users/nithin-bose/repos","events_url":"https://api.github.com/users/nithin-bose/events{/privacy}","received_events_url":"https://api.github.com/users/nithin-bose/received_events","type":"User","site_admin":false},"body":"Now the goat file can be either in json or yaml.\r\nA key \"directory\" has been added to the watchers so that files with same extension but under different directories can execute a different tasks, if required. \r\n\r\nNone of the current behavior has been changed. The structure of the JSON file remains the same and the new \"directory\" key for watcher is optional so current goat files will continue to work as is.  \r\n\r\nDo let me know if any changes or clarifications are required.  ","created_at":"2016-02-03T23:10:45Z","updated_at":"2016-02-03T23:10:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8f465ef663e717ca4c40c70a64a7bd7802b29d6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yosssi/goat/pulls/5/commits","review_comments_url":"https://api.github.com/repos/yosssi/goat/pulls/5/comments","review_comment_url":"https://api.github.com/repos/yosssi/goat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yosssi/goat/issues/5/comments","statuses_url":"https://api.github.com/repos/yosssi/goat/statuses/59f88a1398fb37a84db1cfeda6663901230b048a","head":{"label":"nithin-bose:master","ref":"master","sha":"59f88a1398fb37a84db1cfeda6663901230b048a","user":{"login":"nithin-bose","id":1546322,"avatar_url":"https://avatars.githubusercontent.com/u/1546322?v=3","gravatar_id":"","url":"https://api.github.com/users/nithin-bose","html_url":"https://github.com/nithin-bose","followers_url":"https://api.github.com/users/nithin-bose/followers","following_url":"https://api.github.com/users/nithin-bose/following{/other_user}","gists_url":"https://api.github.com/users/nithin-bose/gists{/gist_id}","starred_url":"https://api.github.com/users/nithin-bose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nithin-bose/subscriptions","organizations_url":"https://api.github.com/users/nithin-bose/orgs","repos_url":"https://api.github.com/users/nithin-bose/repos","events_url":"https://api.github.com/users/nithin-bose/events{/privacy}","received_events_url":"https://api.github.com/users/nithin-bose/received_events","type":"User","site_admin":false},"repo":{"id":50926166,"name":"goat","full_name":"nithin-bose/goat","owner":{"login":"nithin-bose","id":1546322,"avatar_url":"https://avatars.githubusercontent.com/u/1546322?v=3","gravatar_id":"","url":"https://api.github.com/users/nithin-bose","html_url":"https://github.com/nithin-bose","followers_url":"https://api.github.com/users/nithin-bose/followers","following_url":"https://api.github.com/users/nithin-bose/following{/other_user}","gists_url":"https://api.github.com/users/nithin-bose/gists{/gist_id}","starred_url":"https://api.github.com/users/nithin-bose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nithin-bose/subscriptions","organizations_url":"https://api.github.com/users/nithin-bose/orgs","repos_url":"https://api.github.com/users/nithin-bose/repos","events_url":"https://api.github.com/users/nithin-bose/events{/privacy}","received_events_url":"https://api.github.com/users/nithin-bose/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nithin-bose/goat","description":"File watcher","fork":true,"url":"https://api.github.com/repos/nithin-bose/goat","forks_url":"https://api.github.com/repos/nithin-bose/goat/forks","keys_url":"https://api.github.com/repos/nithin-bose/goat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nithin-bose/goat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nithin-bose/goat/teams","hooks_url":"https://api.github.com/repos/nithin-bose/goat/hooks","issue_events_url":"https://api.github.com/repos/nithin-bose/goat/issues/events{/number}","events_url":"https://api.github.com/repos/nithin-bose/goat/events","assignees_url":"https://api.github.com/repos/nithin-bose/goat/assignees{/user}","branches_url":"https://api.github.com/repos/nithin-bose/goat/branches{/branch}","tags_url":"https://api.github.com/repos/nithin-bose/goat/tags","blobs_url":"https://api.github.com/repos/nithin-bose/goat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nithin-bose/goat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nithin-bose/goat/git/refs{/sha}","trees_url":"https://api.github.com/repos/nithin-bose/goat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nithin-bose/goat/statuses/{sha}","languages_url":"https://api.github.com/repos/nithin-bose/goat/languages","stargazers_url":"https://api.github.com/repos/nithin-bose/goat/stargazers","contributors_url":"https://api.github.com/repos/nithin-bose/goat/contributors","subscribers_url":"https://api.github.com/repos/nithin-bose/goat/subscribers","subscription_url":"https://api.github.com/repos/nithin-bose/goat/subscription","commits_url":"https://api.github.com/repos/nithin-bose/goat/commits{/sha}","git_commits_url":"https://api.github.com/repos/nithin-bose/goat/git/commits{/sha}","comments_url":"https://api.github.com/repos/nithin-bose/goat/comments{/number}","issue_comment_url":"https://api.github.com/repos/nithin-bose/goat/issues/comments{/number}","contents_url":"https://api.github.com/repos/nithin-bose/goat/contents/{+path}","compare_url":"https://api.github.com/repos/nithin-bose/goat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nithin-bose/goat/merges","archive_url":"https://api.github.com/repos/nithin-bose/goat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nithin-bose/goat/downloads","issues_url":"https://api.github.com/repos/nithin-bose/goat/issues{/number}","pulls_url":"https://api.github.com/repos/nithin-bose/goat/pulls{/number}","milestones_url":"https://api.github.com/repos/nithin-bose/goat/milestones{/number}","notifications_url":"https://api.github.com/repos/nithin-bose/goat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nithin-bose/goat/labels{/name}","releases_url":"https://api.github.com/repos/nithin-bose/goat/releases{/id}","deployments_url":"https://api.github.com/repos/nithin-bose/goat/deployments","created_at":"2016-02-02T14:30:36Z","updated_at":"2016-02-02T14:30:37Z","pushed_at":"2016-02-03T23:02:10Z","git_url":"git://github.com/nithin-bose/goat.git","ssh_url":"git@github.com:nithin-bose/goat.git","clone_url":"https://github.com/nithin-bose/goat.git","svn_url":"https://github.com/nithin-bose/goat","homepage":"","size":23,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yosssi:master","ref":"master","sha":"ab339b474fd65c8851eb0f710b45502f2376b1c3","user":{"login":"yosssi","id":1583973,"avatar_url":"https://avatars.githubusercontent.com/u/1583973?v=3","gravatar_id":"","url":"https://api.github.com/users/yosssi","html_url":"https://github.com/yosssi","followers_url":"https://api.github.com/users/yosssi/followers","following_url":"https://api.github.com/users/yosssi/following{/other_user}","gists_url":"https://api.github.com/users/yosssi/gists{/gist_id}","starred_url":"https://api.github.com/users/yosssi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosssi/subscriptions","organizations_url":"https://api.github.com/users/yosssi/orgs","repos_url":"https://api.github.com/users/yosssi/repos","events_url":"https://api.github.com/users/yosssi/events{/privacy}","received_events_url":"https://api.github.com/users/yosssi/received_events","type":"User","site_admin":false},"repo":{"id":17387160,"name":"goat","full_name":"yosssi/goat","owner":{"login":"yosssi","id":1583973,"avatar_url":"https://avatars.githubusercontent.com/u/1583973?v=3","gravatar_id":"","url":"https://api.github.com/users/yosssi","html_url":"https://github.com/yosssi","followers_url":"https://api.github.com/users/yosssi/followers","following_url":"https://api.github.com/users/yosssi/following{/other_user}","gists_url":"https://api.github.com/users/yosssi/gists{/gist_id}","starred_url":"https://api.github.com/users/yosssi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosssi/subscriptions","organizations_url":"https://api.github.com/users/yosssi/orgs","repos_url":"https://api.github.com/users/yosssi/repos","events_url":"https://api.github.com/users/yosssi/events{/privacy}","received_events_url":"https://api.github.com/users/yosssi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yosssi/goat","description":"File watcher","fork":false,"url":"https://api.github.com/repos/yosssi/goat","forks_url":"https://api.github.com/repos/yosssi/goat/forks","keys_url":"https://api.github.com/repos/yosssi/goat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yosssi/goat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yosssi/goat/teams","hooks_url":"https://api.github.com/repos/yosssi/goat/hooks","issue_events_url":"https://api.github.com/repos/yosssi/goat/issues/events{/number}","events_url":"https://api.github.com/repos/yosssi/goat/events","assignees_url":"https://api.github.com/repos/yosssi/goat/assignees{/user}","branches_url":"https://api.github.com/repos/yosssi/goat/branches{/branch}","tags_url":"https://api.github.com/repos/yosssi/goat/tags","blobs_url":"https://api.github.com/repos/yosssi/goat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yosssi/goat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yosssi/goat/git/refs{/sha}","trees_url":"https://api.github.com/repos/yosssi/goat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yosssi/goat/statuses/{sha}","languages_url":"https://api.github.com/repos/yosssi/goat/languages","stargazers_url":"https://api.github.com/repos/yosssi/goat/stargazers","contributors_url":"https://api.github.com/repos/yosssi/goat/contributors","subscribers_url":"https://api.github.com/repos/yosssi/goat/subscribers","subscription_url":"https://api.github.com/repos/yosssi/goat/subscription","commits_url":"https://api.github.com/repos/yosssi/goat/commits{/sha}","git_commits_url":"https://api.github.com/repos/yosssi/goat/git/commits{/sha}","comments_url":"https://api.github.com/repos/yosssi/goat/comments{/number}","issue_comment_url":"https://api.github.com/repos/yosssi/goat/issues/comments{/number}","contents_url":"https://api.github.com/repos/yosssi/goat/contents/{+path}","compare_url":"https://api.github.com/repos/yosssi/goat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yosssi/goat/merges","archive_url":"https://api.github.com/repos/yosssi/goat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yosssi/goat/downloads","issues_url":"https://api.github.com/repos/yosssi/goat/issues{/number}","pulls_url":"https://api.github.com/repos/yosssi/goat/pulls{/number}","milestones_url":"https://api.github.com/repos/yosssi/goat/milestones{/number}","notifications_url":"https://api.github.com/repos/yosssi/goat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yosssi/goat/labels{/name}","releases_url":"https://api.github.com/repos/yosssi/goat/releases{/id}","deployments_url":"https://api.github.com/repos/yosssi/goat/deployments","created_at":"2014-03-04T02:02:03Z","updated_at":"2016-02-02T05:51:48Z","pushed_at":"2016-02-03T23:10:45Z","git_url":"git://github.com/yosssi/goat.git","ssh_url":"git@github.com:yosssi/goat.git","clone_url":"https://github.com/yosssi/goat.git","svn_url":"https://github.com/yosssi/goat","homepage":"","size":17,"stargazers_count":38,"watchers_count":38,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yosssi/goat/pulls/5"},"html":{"href":"https://github.com/yosssi/goat/pull/5"},"issue":{"href":"https://api.github.com/repos/yosssi/goat/issues/5"},"comments":{"href":"https://api.github.com/repos/yosssi/goat/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/yosssi/goat/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/yosssi/goat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yosssi/goat/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/yosssi/goat/statuses/59f88a1398fb37a84db1cfeda6663901230b048a"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":6,"additions":65,"deletions":20,"changed_files":9}}