{"action":"closed","number":59,"pull_request":{"url":"https://api.github.com/repos/alphagov/local-links-manager/pulls/59","id":82218631,"html_url":"https://github.com/alphagov/local-links-manager/pull/59","diff_url":"https://github.com/alphagov/local-links-manager/pull/59.diff","patch_url":"https://github.com/alphagov/local-links-manager/pull/59.patch","issue_url":"https://api.github.com/repos/alphagov/local-links-manager/issues/59","number":59,"state":"closed","locked":false,"title":"Manually unlock locked rake tasks","user":{"login":"klssmith","id":12881990,"avatar_url":"https://avatars.githubusercontent.com/u/12881990?v=3","gravatar_id":"","url":"https://api.github.com/users/klssmith","html_url":"https://github.com/klssmith","followers_url":"https://api.github.com/users/klssmith/followers","following_url":"https://api.github.com/users/klssmith/following{/other_user}","gists_url":"https://api.github.com/users/klssmith/gists{/gist_id}","starred_url":"https://api.github.com/users/klssmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klssmith/subscriptions","organizations_url":"https://api.github.com/users/klssmith/orgs","repos_url":"https://api.github.com/users/klssmith/repos","events_url":"https://api.github.com/users/klssmith/events{/privacy}","received_events_url":"https://api.github.com/users/klssmith/received_events","type":"User","site_admin":false},"body":"There have been instances where rake tasks have not completed for\r\nfor some reason leaving the Distributed Lock for that task in\r\nplace. It is then necessary to wait for the lifetime of the lock\r\nto end before being able to run task again.\r\n\r\nThis rake task adds the ability for the lock to be removed for the\r\ngiven task passed in.\r\n\r\n`Rails.env` was removed from the key as it was felt to be\r\nsuperfluous since all rake tasks run in the same environment.\r\n\r\n[Trello card](https://trello.com/c/OtTKMe3H/465-enable-unlocking-of-scheduled-tasks-2-pair-with-katie-pls)","created_at":"2016-08-22T16:08:27Z","updated_at":"2016-08-23T10:59:04Z","closed_at":"2016-08-23T10:59:04Z","merged_at":"2016-08-23T10:59:04Z","merge_commit_sha":"f82585d4bfc6e5dfe16ff57302652103477c9a50","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/local-links-manager/pulls/59/commits","review_comments_url":"https://api.github.com/repos/alphagov/local-links-manager/pulls/59/comments","review_comment_url":"https://api.github.com/repos/alphagov/local-links-manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/local-links-manager/issues/59/comments","statuses_url":"https://api.github.com/repos/alphagov/local-links-manager/statuses/d4270a33cd254f0dab4f3f850cc1c3d4432023dd","head":{"label":"alphagov:enable-task-unlocking","ref":"enable-task-unlocking","sha":"d4270a33cd254f0dab4f3f850cc1c3d4432023dd","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":53059137,"name":"local-links-manager","full_name":"alphagov/local-links-manager","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/local-links-manager","description":"Manages local links from local authorities on GOV.UK.","fork":false,"url":"https://api.github.com/repos/alphagov/local-links-manager","forks_url":"https://api.github.com/repos/alphagov/local-links-manager/forks","keys_url":"https://api.github.com/repos/alphagov/local-links-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/local-links-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/local-links-manager/teams","hooks_url":"https://api.github.com/repos/alphagov/local-links-manager/hooks","issue_events_url":"https://api.github.com/repos/alphagov/local-links-manager/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/local-links-manager/events","assignees_url":"https://api.github.com/repos/alphagov/local-links-manager/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/local-links-manager/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/local-links-manager/tags","blobs_url":"https://api.github.com/repos/alphagov/local-links-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/local-links-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/local-links-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/local-links-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/local-links-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/local-links-manager/languages","stargazers_url":"https://api.github.com/repos/alphagov/local-links-manager/stargazers","contributors_url":"https://api.github.com/repos/alphagov/local-links-manager/contributors","subscribers_url":"https://api.github.com/repos/alphagov/local-links-manager/subscribers","subscription_url":"https://api.github.com/repos/alphagov/local-links-manager/subscription","commits_url":"https://api.github.com/repos/alphagov/local-links-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/local-links-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/local-links-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/local-links-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/local-links-manager/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/local-links-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/local-links-manager/merges","archive_url":"https://api.github.com/repos/alphagov/local-links-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/local-links-manager/downloads","issues_url":"https://api.github.com/repos/alphagov/local-links-manager/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/local-links-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/local-links-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/local-links-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/local-links-manager/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/local-links-manager/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/local-links-manager/deployments","created_at":"2016-03-03T15:00:55Z","updated_at":"2016-07-09T16:54:02Z","pushed_at":"2016-08-23T10:59:04Z","git_url":"git://github.com/alphagov/local-links-manager.git","ssh_url":"git@github.com:alphagov/local-links-manager.git","clone_url":"https://github.com/alphagov/local-links-manager.git","svn_url":"https://github.com/alphagov/local-links-manager","homepage":null,"size":603,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":5,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"1a5338aa0373171464e7eead277c8efa9116aa8e","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":53059137,"name":"local-links-manager","full_name":"alphagov/local-links-manager","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/local-links-manager","description":"Manages local links from local authorities on GOV.UK.","fork":false,"url":"https://api.github.com/repos/alphagov/local-links-manager","forks_url":"https://api.github.com/repos/alphagov/local-links-manager/forks","keys_url":"https://api.github.com/repos/alphagov/local-links-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/local-links-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/local-links-manager/teams","hooks_url":"https://api.github.com/repos/alphagov/local-links-manager/hooks","issue_events_url":"https://api.github.com/repos/alphagov/local-links-manager/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/local-links-manager/events","assignees_url":"https://api.github.com/repos/alphagov/local-links-manager/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/local-links-manager/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/local-links-manager/tags","blobs_url":"https://api.github.com/repos/alphagov/local-links-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/local-links-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/local-links-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/local-links-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/local-links-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/local-links-manager/languages","stargazers_url":"https://api.github.com/repos/alphagov/local-links-manager/stargazers","contributors_url":"https://api.github.com/repos/alphagov/local-links-manager/contributors","subscribers_url":"https://api.github.com/repos/alphagov/local-links-manager/subscribers","subscription_url":"https://api.github.com/repos/alphagov/local-links-manager/subscription","commits_url":"https://api.github.com/repos/alphagov/local-links-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/local-links-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/local-links-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/local-links-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/local-links-manager/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/local-links-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/local-links-manager/merges","archive_url":"https://api.github.com/repos/alphagov/local-links-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/local-links-manager/downloads","issues_url":"https://api.github.com/repos/alphagov/local-links-manager/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/local-links-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/local-links-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/local-links-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/local-links-manager/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/local-links-manager/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/local-links-manager/deployments","created_at":"2016-03-03T15:00:55Z","updated_at":"2016-07-09T16:54:02Z","pushed_at":"2016-08-23T10:59:04Z","git_url":"git://github.com/alphagov/local-links-manager.git","ssh_url":"git@github.com:alphagov/local-links-manager.git","clone_url":"https://github.com/alphagov/local-links-manager.git","svn_url":"https://github.com/alphagov/local-links-manager","homepage":null,"size":603,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/local-links-manager/pulls/59"},"html":{"href":"https://github.com/alphagov/local-links-manager/pull/59"},"issue":{"href":"https://api.github.com/repos/alphagov/local-links-manager/issues/59"},"comments":{"href":"https://api.github.com/repos/alphagov/local-links-manager/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/local-links-manager/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/local-links-manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/local-links-manager/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/local-links-manager/statuses/d4270a33cd254f0dab4f3f850cc1c3d4432023dd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"h-lame","id":608,"avatar_url":"https://avatars.githubusercontent.com/u/608?v=3","gravatar_id":"","url":"https://api.github.com/users/h-lame","html_url":"https://github.com/h-lame","followers_url":"https://api.github.com/users/h-lame/followers","following_url":"https://api.github.com/users/h-lame/following{/other_user}","gists_url":"https://api.github.com/users/h-lame/gists{/gist_id}","starred_url":"https://api.github.com/users/h-lame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h-lame/subscriptions","organizations_url":"https://api.github.com/users/h-lame/orgs","repos_url":"https://api.github.com/users/h-lame/repos","events_url":"https://api.github.com/users/h-lame/events{/privacy}","received_events_url":"https://api.github.com/users/h-lame/received_events","type":"User","site_admin":false},"comments":2,"review_comments":3,"commits":1,"additions":35,"deletions":5,"changed_files":2}}
{"actor":{"display_login":"h-lame"}}