{"action":"created","comment":{"url":"https://api.github.com/repos/jamiew/git-friendly/pulls/comments/89953376","pull_request_review_id":10480171,"id":89953376,"diff_hunk":"@@ -10,6 +10,10 @@\n color_error=\"$(tput sgr 0 1)$(tput setaf 1)\"\n color_reset=\"$(tput sgr0)\"\n \n+# Store current working dir for later use\n+current_dir=\"$(pwd)\"\n+echo \"$curent_dir\"","path":"pull","position":6,"original_position":6,"commit_id":"3ca69bd67e7406474a7721e0c0ff95beca16a6bd","original_commit_id":"3ca69bd67e7406474a7721e0c0ff95beca16a6bd","user":{"login":"sapegin","id":70067,"avatar_url":"https://avatars.githubusercontent.com/u/70067?v=3","gravatar_id":"","url":"https://api.github.com/users/sapegin","html_url":"https://github.com/sapegin","followers_url":"https://api.github.com/users/sapegin/followers","following_url":"https://api.github.com/users/sapegin/following{/other_user}","gists_url":"https://api.github.com/users/sapegin/gists{/gist_id}","starred_url":"https://api.github.com/users/sapegin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sapegin/subscriptions","organizations_url":"https://api.github.com/users/sapegin/orgs","repos_url":"https://api.github.com/users/sapegin/repos","events_url":"https://api.github.com/users/sapegin/events{/privacy}","received_events_url":"https://api.github.com/users/sapegin/received_events","type":"User","site_admin":false},"body":"Is this echo intentional?","created_at":"2016-11-29T07:31:17Z","updated_at":"2016-11-29T07:31:17Z","html_url":"https://github.com/jamiew/git-friendly/pull/44#discussion_r89953376","pull_request_url":"https://api.github.com/repos/jamiew/git-friendly/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/jamiew/git-friendly/pulls/comments/89953376"},"html":{"href":"https://github.com/jamiew/git-friendly/pull/44#discussion_r89953376"},"pull_request":{"href":"https://api.github.com/repos/jamiew/git-friendly/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/jamiew/git-friendly/pulls/44","id":95036903,"html_url":"https://github.com/jamiew/git-friendly/pull/44","diff_url":"https://github.com/jamiew/git-friendly/pull/44.diff","patch_url":"https://github.com/jamiew/git-friendly/pull/44.patch","issue_url":"https://api.github.com/repos/jamiew/git-friendly/issues/44","number":44,"state":"open","locked":false,"title":"feature/conditional-install","user":{"login":"bezoerb","id":1697800,"avatar_url":"https://avatars.githubusercontent.com/u/1697800?v=3","gravatar_id":"","url":"https://api.github.com/users/bezoerb","html_url":"https://github.com/bezoerb","followers_url":"https://api.github.com/users/bezoerb/followers","following_url":"https://api.github.com/users/bezoerb/following{/other_user}","gists_url":"https://api.github.com/users/bezoerb/gists{/gist_id}","starred_url":"https://api.github.com/users/bezoerb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bezoerb/subscriptions","organizations_url":"https://api.github.com/users/bezoerb/orgs","repos_url":"https://api.github.com/users/bezoerb/repos","events_url":"https://api.github.com/users/bezoerb/events{/privacy}","received_events_url":"https://api.github.com/users/bezoerb/received_events","type":"User","site_admin":false},"body":"With this PR the `pull` cmd only installs packages if the corresponding manifest file changes.\r\nE.g. `yarn install` is only executed when `yarn.lock` file changes.\r\n\r\nAdditionally i've added some logik to `cd` to the manifest file directory so it also works if we do a pull in some nested directory.\r\n\r\nAnd i've added composer to the install checks.  ","created_at":"2016-11-23T16:30:35Z","updated_at":"2016-11-29T07:31:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2ad96226aa6d07d991fc2ed60377c283e370f08","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jamiew/git-friendly/pulls/44/commits","review_comments_url":"https://api.github.com/repos/jamiew/git-friendly/pulls/44/comments","review_comment_url":"https://api.github.com/repos/jamiew/git-friendly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jamiew/git-friendly/issues/44/comments","statuses_url":"https://api.github.com/repos/jamiew/git-friendly/statuses/3ca69bd67e7406474a7721e0c0ff95beca16a6bd","head":{"label":"bezoerb:feature/conditional-install","ref":"feature/conditional-install","sha":"3ca69bd67e7406474a7721e0c0ff95beca16a6bd","user":{"login":"bezoerb","id":1697800,"avatar_url":"https://avatars.githubusercontent.com/u/1697800?v=3","gravatar_id":"","url":"https://api.github.com/users/bezoerb","html_url":"https://github.com/bezoerb","followers_url":"https://api.github.com/users/bezoerb/followers","following_url":"https://api.github.com/users/bezoerb/following{/other_user}","gists_url":"https://api.github.com/users/bezoerb/gists{/gist_id}","starred_url":"https://api.github.com/users/bezoerb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bezoerb/subscriptions","organizations_url":"https://api.github.com/users/bezoerb/orgs","repos_url":"https://api.github.com/users/bezoerb/repos","events_url":"https://api.github.com/users/bezoerb/events{/privacy}","received_events_url":"https://api.github.com/users/bezoerb/received_events","type":"User","site_admin":false},"repo":{"id":74584045,"name":"git-friendly","full_name":"bezoerb/git-friendly","owner":{"login":"bezoerb","id":1697800,"avatar_url":"https://avatars.githubusercontent.com/u/1697800?v=3","gravatar_id":"","url":"https://api.github.com/users/bezoerb","html_url":"https://github.com/bezoerb","followers_url":"https://api.github.com/users/bezoerb/followers","following_url":"https://api.github.com/users/bezoerb/following{/other_user}","gists_url":"https://api.github.com/users/bezoerb/gists{/gist_id}","starred_url":"https://api.github.com/users/bezoerb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bezoerb/subscriptions","organizations_url":"https://api.github.com/users/bezoerb/orgs","repos_url":"https://api.github.com/users/bezoerb/repos","events_url":"https://api.github.com/users/bezoerb/events{/privacy}","received_events_url":"https://api.github.com/users/bezoerb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bezoerb/git-friendly","description":"Pimp your git workflow. Just type pull, branch, merge, push","fork":true,"url":"https://api.github.com/repos/bezoerb/git-friendly","forks_url":"https://api.github.com/repos/bezoerb/git-friendly/forks","keys_url":"https://api.github.com/repos/bezoerb/git-friendly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bezoerb/git-friendly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bezoerb/git-friendly/teams","hooks_url":"https://api.github.com/repos/bezoerb/git-friendly/hooks","issue_events_url":"https://api.github.com/repos/bezoerb/git-friendly/issues/events{/number}","events_url":"https://api.github.com/repos/bezoerb/git-friendly/events","assignees_url":"https://api.github.com/repos/bezoerb/git-friendly/assignees{/user}","branches_url":"https://api.github.com/repos/bezoerb/git-friendly/branches{/branch}","tags_url":"https://api.github.com/repos/bezoerb/git-friendly/tags","blobs_url":"https://api.github.com/repos/bezoerb/git-friendly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bezoerb/git-friendly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bezoerb/git-friendly/git/refs{/sha}","trees_url":"https://api.github.com/repos/bezoerb/git-friendly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bezoerb/git-friendly/statuses/{sha}","languages_url":"https://api.github.com/repos/bezoerb/git-friendly/languages","stargazers_url":"https://api.github.com/repos/bezoerb/git-friendly/stargazers","contributors_url":"https://api.github.com/repos/bezoerb/git-friendly/contributors","subscribers_url":"https://api.github.com/repos/bezoerb/git-friendly/subscribers","subscription_url":"https://api.github.com/repos/bezoerb/git-friendly/subscription","commits_url":"https://api.github.com/repos/bezoerb/git-friendly/commits{/sha}","git_commits_url":"https://api.github.com/repos/bezoerb/git-friendly/git/commits{/sha}","comments_url":"https://api.github.com/repos/bezoerb/git-friendly/comments{/number}","issue_comment_url":"https://api.github.com/repos/bezoerb/git-friendly/issues/comments{/number}","contents_url":"https://api.github.com/repos/bezoerb/git-friendly/contents/{+path}","compare_url":"https://api.github.com/repos/bezoerb/git-friendly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bezoerb/git-friendly/merges","archive_url":"https://api.github.com/repos/bezoerb/git-friendly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bezoerb/git-friendly/downloads","issues_url":"https://api.github.com/repos/bezoerb/git-friendly/issues{/number}","pulls_url":"https://api.github.com/repos/bezoerb/git-friendly/pulls{/number}","milestones_url":"https://api.github.com/repos/bezoerb/git-friendly/milestones{/number}","notifications_url":"https://api.github.com/repos/bezoerb/git-friendly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bezoerb/git-friendly/labels{/name}","releases_url":"https://api.github.com/repos/bezoerb/git-friendly/releases{/id}","deployments_url":"https://api.github.com/repos/bezoerb/git-friendly/deployments","created_at":"2016-11-23T14:26:16Z","updated_at":"2016-11-23T14:26:17Z","pushed_at":"2016-11-29T06:59:02Z","git_url":"git://github.com/bezoerb/git-friendly.git","ssh_url":"git@github.com:bezoerb/git-friendly.git","clone_url":"https://github.com/bezoerb/git-friendly.git","svn_url":"https://github.com/bezoerb/git-friendly","homepage":"http://github.com/jamiew/git-friendly","size":66,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"jamiew:master","ref":"master","sha":"395440b8ac43721c57158f58bb28168eb6e94396","user":{"login":"jamiew","id":1903,"avatar_url":"https://avatars.githubusercontent.com/u/1903?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiew","html_url":"https://github.com/jamiew","followers_url":"https://api.github.com/users/jamiew/followers","following_url":"https://api.github.com/users/jamiew/following{/other_user}","gists_url":"https://api.github.com/users/jamiew/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiew/subscriptions","organizations_url":"https://api.github.com/users/jamiew/orgs","repos_url":"https://api.github.com/users/jamiew/repos","events_url":"https://api.github.com/users/jamiew/events{/privacy}","received_events_url":"https://api.github.com/users/jamiew/received_events","type":"User","site_admin":false},"repo":{"id":1289893,"name":"git-friendly","full_name":"jamiew/git-friendly","owner":{"login":"jamiew","id":1903,"avatar_url":"https://avatars.githubusercontent.com/u/1903?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiew","html_url":"https://github.com/jamiew","followers_url":"https://api.github.com/users/jamiew/followers","following_url":"https://api.github.com/users/jamiew/following{/other_user}","gists_url":"https://api.github.com/users/jamiew/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiew/subscriptions","organizations_url":"https://api.github.com/users/jamiew/orgs","repos_url":"https://api.github.com/users/jamiew/repos","events_url":"https://api.github.com/users/jamiew/events{/privacy}","received_events_url":"https://api.github.com/users/jamiew/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jamiew/git-friendly","description":"Pimp your git workflow. Just type pull, branch, merge, push","fork":false,"url":"https://api.github.com/repos/jamiew/git-friendly","forks_url":"https://api.github.com/repos/jamiew/git-friendly/forks","keys_url":"https://api.github.com/repos/jamiew/git-friendly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamiew/git-friendly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamiew/git-friendly/teams","hooks_url":"https://api.github.com/repos/jamiew/git-friendly/hooks","issue_events_url":"https://api.github.com/repos/jamiew/git-friendly/issues/events{/number}","events_url":"https://api.github.com/repos/jamiew/git-friendly/events","assignees_url":"https://api.github.com/repos/jamiew/git-friendly/assignees{/user}","branches_url":"https://api.github.com/repos/jamiew/git-friendly/branches{/branch}","tags_url":"https://api.github.com/repos/jamiew/git-friendly/tags","blobs_url":"https://api.github.com/repos/jamiew/git-friendly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamiew/git-friendly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamiew/git-friendly/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamiew/git-friendly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamiew/git-friendly/statuses/{sha}","languages_url":"https://api.github.com/repos/jamiew/git-friendly/languages","stargazers_url":"https://api.github.com/repos/jamiew/git-friendly/stargazers","contributors_url":"https://api.github.com/repos/jamiew/git-friendly/contributors","subscribers_url":"https://api.github.com/repos/jamiew/git-friendly/subscribers","subscription_url":"https://api.github.com/repos/jamiew/git-friendly/subscription","commits_url":"https://api.github.com/repos/jamiew/git-friendly/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamiew/git-friendly/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamiew/git-friendly/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamiew/git-friendly/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamiew/git-friendly/contents/{+path}","compare_url":"https://api.github.com/repos/jamiew/git-friendly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamiew/git-friendly/merges","archive_url":"https://api.github.com/repos/jamiew/git-friendly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamiew/git-friendly/downloads","issues_url":"https://api.github.com/repos/jamiew/git-friendly/issues{/number}","pulls_url":"https://api.github.com/repos/jamiew/git-friendly/pulls{/number}","milestones_url":"https://api.github.com/repos/jamiew/git-friendly/milestones{/number}","notifications_url":"https://api.github.com/repos/jamiew/git-friendly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamiew/git-friendly/labels{/name}","releases_url":"https://api.github.com/repos/jamiew/git-friendly/releases{/id}","deployments_url":"https://api.github.com/repos/jamiew/git-friendly/deployments","created_at":"2011-01-25T00:56:07Z","updated_at":"2016-11-28T00:44:01Z","pushed_at":"2016-11-29T06:59:02Z","git_url":"git://github.com/jamiew/git-friendly.git","ssh_url":"git@github.com:jamiew/git-friendly.git","clone_url":"https://github.com/jamiew/git-friendly.git","svn_url":"https://github.com/jamiew/git-friendly","homepage":"http://github.com/jamiew/git-friendly","size":69,"stargazers_count":281,"watchers_count":281,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":6,"forks":27,"open_issues":6,"watchers":281,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jamiew/git-friendly/pulls/44"},"html":{"href":"https://github.com/jamiew/git-friendly/pull/44"},"issue":{"href":"https://api.github.com/repos/jamiew/git-friendly/issues/44"},"comments":{"href":"https://api.github.com/repos/jamiew/git-friendly/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/jamiew/git-friendly/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/jamiew/git-friendly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jamiew/git-friendly/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/jamiew/git-friendly/statuses/3ca69bd67e7406474a7721e0c0ff95beca16a6bd"}}}}
{"actor":{"display_login":"sapegin"}}