{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/afrihost/BaseCommandBundle/pulls/6","id":55551730,"html_url":"https://github.com/afrihost/BaseCommandBundle/pull/6","diff_url":"https://github.com/afrihost/BaseCommandBundle/pull/6.diff","patch_url":"https://github.com/afrihost/BaseCommandBundle/pull/6.patch","issue_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/issues/6","number":6,"state":"open","locked":false,"title":"Lockfile storage location configuration","user":{"login":"sarelvdwalt","id":2071493,"avatar_url":"https://avatars.githubusercontent.com/u/2071493?v=3","gravatar_id":"","url":"https://api.github.com/users/sarelvdwalt","html_url":"https://github.com/sarelvdwalt","followers_url":"https://api.github.com/users/sarelvdwalt/followers","following_url":"https://api.github.com/users/sarelvdwalt/following{/other_user}","gists_url":"https://api.github.com/users/sarelvdwalt/gists{/gist_id}","starred_url":"https://api.github.com/users/sarelvdwalt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarelvdwalt/subscriptions","organizations_url":"https://api.github.com/users/sarelvdwalt/orgs","repos_url":"https://api.github.com/users/sarelvdwalt/repos","events_url":"https://api.github.com/users/sarelvdwalt/events{/privacy}","received_events_url":"https://api.github.com/users/sarelvdwalt/received_events","type":"User","site_admin":false},"body":"Configuration works via config.yml using:\r\n```yaml\r\nafrihost_base_command:\r\n    locking:\r\n        lock_file_folder:     some_folder_name\r\n```\r\nNot using a / or ~ in front will assume the folder is relative to the symfony \"app\" root folder. (Folders are auto-created by the LockHandler, if you were wondering)\r\n\r\nNot overriding the config will use the default tmp folder from php.ini (that's the default that LockHandler does)\r\n\r\nIf you want to override the folder just for this command, you may do so in the config function by calling:\r\n```php\r\n$this->setLockFileFolder('some_folder_name');\r\n```\r\n\r\n(On a side-note, I've made all the setters fluent-settings, by putting a `return $this` at the end of each)","created_at":"2016-01-09T21:47:52Z","updated_at":"2016-01-09T21:47:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/pulls/6/commits","review_comments_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/pulls/6/comments","review_comment_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/issues/6/comments","statuses_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/statuses/edcb22225a774cb8d3fcda2249901aabe4db14c3","head":{"label":"sarelvdwalt:feature/lock-handling-folder-config","ref":"feature/lock-handling-folder-config","sha":"edcb22225a774cb8d3fcda2249901aabe4db14c3","user":{"login":"sarelvdwalt","id":2071493,"avatar_url":"https://avatars.githubusercontent.com/u/2071493?v=3","gravatar_id":"","url":"https://api.github.com/users/sarelvdwalt","html_url":"https://github.com/sarelvdwalt","followers_url":"https://api.github.com/users/sarelvdwalt/followers","following_url":"https://api.github.com/users/sarelvdwalt/following{/other_user}","gists_url":"https://api.github.com/users/sarelvdwalt/gists{/gist_id}","starred_url":"https://api.github.com/users/sarelvdwalt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarelvdwalt/subscriptions","organizations_url":"https://api.github.com/users/sarelvdwalt/orgs","repos_url":"https://api.github.com/users/sarelvdwalt/repos","events_url":"https://api.github.com/users/sarelvdwalt/events{/privacy}","received_events_url":"https://api.github.com/users/sarelvdwalt/received_events","type":"User","site_admin":false},"repo":{"id":48434420,"name":"BaseCommandBundle","full_name":"sarelvdwalt/BaseCommandBundle","owner":{"login":"sarelvdwalt","id":2071493,"avatar_url":"https://avatars.githubusercontent.com/u/2071493?v=3","gravatar_id":"","url":"https://api.github.com/users/sarelvdwalt","html_url":"https://github.com/sarelvdwalt","followers_url":"https://api.github.com/users/sarelvdwalt/followers","following_url":"https://api.github.com/users/sarelvdwalt/following{/other_user}","gists_url":"https://api.github.com/users/sarelvdwalt/gists{/gist_id}","starred_url":"https://api.github.com/users/sarelvdwalt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarelvdwalt/subscriptions","organizations_url":"https://api.github.com/users/sarelvdwalt/orgs","repos_url":"https://api.github.com/users/sarelvdwalt/repos","events_url":"https://api.github.com/users/sarelvdwalt/events{/privacy}","received_events_url":"https://api.github.com/users/sarelvdwalt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sarelvdwalt/BaseCommandBundle","description":"Swiss-army-knife extension of Symfony’s ContainerAwareCommand that defines common reusable functionality (such as logging) across commands","fork":true,"url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle","forks_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/forks","keys_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/teams","hooks_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/hooks","issue_events_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/issues/events{/number}","events_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/events","assignees_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/assignees{/user}","branches_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/branches{/branch}","tags_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/tags","blobs_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/languages","stargazers_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/stargazers","contributors_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/contributors","subscribers_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/subscribers","subscription_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/subscription","commits_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/contents/{+path}","compare_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/merges","archive_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/downloads","issues_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/issues{/number}","pulls_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/labels{/name}","releases_url":"https://api.github.com/repos/sarelvdwalt/BaseCommandBundle/releases{/id}","created_at":"2015-12-22T13:49:23Z","updated_at":"2015-12-22T13:49:24Z","pushed_at":"2016-01-09T21:42:04Z","git_url":"git://github.com/sarelvdwalt/BaseCommandBundle.git","ssh_url":"git@github.com:sarelvdwalt/BaseCommandBundle.git","clone_url":"https://github.com/sarelvdwalt/BaseCommandBundle.git","svn_url":"https://github.com/sarelvdwalt/BaseCommandBundle","homepage":"","size":45,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"afrihost:master","ref":"master","sha":"2eb1a2c0d554489afb0f648844cc5018e448e83f","user":{"login":"afrihost","id":15737303,"avatar_url":"https://avatars.githubusercontent.com/u/15737303?v=3","gravatar_id":"","url":"https://api.github.com/users/afrihost","html_url":"https://github.com/afrihost","followers_url":"https://api.github.com/users/afrihost/followers","following_url":"https://api.github.com/users/afrihost/following{/other_user}","gists_url":"https://api.github.com/users/afrihost/gists{/gist_id}","starred_url":"https://api.github.com/users/afrihost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afrihost/subscriptions","organizations_url":"https://api.github.com/users/afrihost/orgs","repos_url":"https://api.github.com/users/afrihost/repos","events_url":"https://api.github.com/users/afrihost/events{/privacy}","received_events_url":"https://api.github.com/users/afrihost/received_events","type":"Organization","site_admin":false},"repo":{"id":47962318,"name":"BaseCommandBundle","full_name":"afrihost/BaseCommandBundle","owner":{"login":"afrihost","id":15737303,"avatar_url":"https://avatars.githubusercontent.com/u/15737303?v=3","gravatar_id":"","url":"https://api.github.com/users/afrihost","html_url":"https://github.com/afrihost","followers_url":"https://api.github.com/users/afrihost/followers","following_url":"https://api.github.com/users/afrihost/following{/other_user}","gists_url":"https://api.github.com/users/afrihost/gists{/gist_id}","starred_url":"https://api.github.com/users/afrihost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afrihost/subscriptions","organizations_url":"https://api.github.com/users/afrihost/orgs","repos_url":"https://api.github.com/users/afrihost/repos","events_url":"https://api.github.com/users/afrihost/events{/privacy}","received_events_url":"https://api.github.com/users/afrihost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/afrihost/BaseCommandBundle","description":"Swiss-army-knife extension of Symfony’s ContainerAwareCommand that defines common reusable functionality (such as logging) across commands","fork":false,"url":"https://api.github.com/repos/afrihost/BaseCommandBundle","forks_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/forks","keys_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/teams","hooks_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/hooks","issue_events_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/issues/events{/number}","events_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/events","assignees_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/assignees{/user}","branches_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/branches{/branch}","tags_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/tags","blobs_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/languages","stargazers_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/stargazers","contributors_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/contributors","subscribers_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/subscribers","subscription_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/subscription","commits_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/contents/{+path}","compare_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/merges","archive_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/downloads","issues_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/issues{/number}","pulls_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/labels{/name}","releases_url":"https://api.github.com/repos/afrihost/BaseCommandBundle/releases{/id}","created_at":"2015-12-14T08:40:47Z","updated_at":"2016-01-09T20:43:31Z","pushed_at":"2016-01-09T21:47:52Z","git_url":"git://github.com/afrihost/BaseCommandBundle.git","ssh_url":"git@github.com:afrihost/BaseCommandBundle.git","clone_url":"https://github.com/afrihost/BaseCommandBundle.git","svn_url":"https://github.com/afrihost/BaseCommandBundle","homepage":"","size":42,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/afrihost/BaseCommandBundle/pulls/6"},"html":{"href":"https://github.com/afrihost/BaseCommandBundle/pull/6"},"issue":{"href":"https://api.github.com/repos/afrihost/BaseCommandBundle/issues/6"},"comments":{"href":"https://api.github.com/repos/afrihost/BaseCommandBundle/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/afrihost/BaseCommandBundle/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/afrihost/BaseCommandBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/afrihost/BaseCommandBundle/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/afrihost/BaseCommandBundle/statuses/edcb22225a774cb8d3fcda2249901aabe4db14c3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":6,"additions":69,"deletions":3,"changed_files":4}}