{"action":"created","comment":{"url":"https://api.github.com/repos/saltstack/salt/pulls/comments/41583578","id":41583578,"diff_hunk":"@@ -272,6 +272,34 @@ def is_file_ignored(opts, fname):\n     return False\n \n \n+def clear_lock(clear_func, lock_type, remote=None):\n+    '''\n+    Function to allow non-fileserver functions to clear update locks","path":"salt/fileserver/__init__.py","position":6,"original_position":6,"commit_id":"7f4366d42e01ca850aa489592908dfd95aca3c1e","original_commit_id":"7f4366d42e01ca850aa489592908dfd95aca3c1e","user":{"login":"rallytime","id":6547906,"avatar_url":"https://avatars.githubusercontent.com/u/6547906?v=3","gravatar_id":"","url":"https://api.github.com/users/rallytime","html_url":"https://github.com/rallytime","followers_url":"https://api.github.com/users/rallytime/followers","following_url":"https://api.github.com/users/rallytime/following{/other_user}","gists_url":"https://api.github.com/users/rallytime/gists{/gist_id}","starred_url":"https://api.github.com/users/rallytime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rallytime/subscriptions","organizations_url":"https://api.github.com/users/rallytime/orgs","repos_url":"https://api.github.com/users/rallytime/repos","events_url":"https://api.github.com/users/rallytime/events{/privacy}","received_events_url":"https://api.github.com/users/rallytime/received_events","type":"User","site_admin":false},"body":"Versionadded here too?","created_at":"2015-10-08T23:36:52Z","updated_at":"2015-10-08T23:36:52Z","html_url":"https://github.com/saltstack/salt/pull/27802#discussion_r41583578","pull_request_url":"https://api.github.com/repos/saltstack/salt/pulls/27802","_links":{"self":{"href":"https://api.github.com/repos/saltstack/salt/pulls/comments/41583578"},"html":{"href":"https://github.com/saltstack/salt/pull/27802#discussion_r41583578"},"pull_request":{"href":"https://api.github.com/repos/saltstack/salt/pulls/27802"}}},"pull_request":{"url":"https://api.github.com/repos/saltstack/salt/pulls/27802","id":47179949,"html_url":"https://github.com/saltstack/salt/pull/27802","diff_url":"https://github.com/saltstack/salt/pull/27802.diff","patch_url":"https://github.com/saltstack/salt/pull/27802.patch","issue_url":"https://api.github.com/repos/saltstack/salt/issues/27802","number":27802,"state":"open","locked":false,"title":"Correct warning logging when update lock is present for git_pillar/winrepo","user":{"login":"terminalmage","id":328598,"avatar_url":"https://avatars.githubusercontent.com/u/328598?v=3","gravatar_id":"","url":"https://api.github.com/users/terminalmage","html_url":"https://github.com/terminalmage","followers_url":"https://api.github.com/users/terminalmage/followers","following_url":"https://api.github.com/users/terminalmage/following{/other_user}","gists_url":"https://api.github.com/users/terminalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/terminalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terminalmage/subscriptions","organizations_url":"https://api.github.com/users/terminalmage/orgs","repos_url":"https://api.github.com/users/terminalmage/repos","events_url":"https://api.github.com/users/terminalmage/events{/privacy}","received_events_url":"https://api.github.com/users/terminalmage/received_events","type":"User","site_admin":false},"body":"Fixes #27738.","created_at":"2015-10-08T17:08:59Z","updated_at":"2015-10-08T23:36:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"425b9b30799bcb724c555d9dc8a0c44e0e9f938f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/saltstack/salt/pulls/27802/commits","review_comments_url":"https://api.github.com/repos/saltstack/salt/pulls/27802/comments","review_comment_url":"https://api.github.com/repos/saltstack/salt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/27802/comments","statuses_url":"https://api.github.com/repos/saltstack/salt/statuses/7f4366d42e01ca850aa489592908dfd95aca3c1e","head":{"label":"terminalmage:issue27738","ref":"issue27738","sha":"7f4366d42e01ca850aa489592908dfd95aca3c1e","user":{"login":"terminalmage","id":328598,"avatar_url":"https://avatars.githubusercontent.com/u/328598?v=3","gravatar_id":"","url":"https://api.github.com/users/terminalmage","html_url":"https://github.com/terminalmage","followers_url":"https://api.github.com/users/terminalmage/followers","following_url":"https://api.github.com/users/terminalmage/following{/other_user}","gists_url":"https://api.github.com/users/terminalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/terminalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terminalmage/subscriptions","organizations_url":"https://api.github.com/users/terminalmage/orgs","repos_url":"https://api.github.com/users/terminalmage/repos","events_url":"https://api.github.com/users/terminalmage/events{/privacy}","received_events_url":"https://api.github.com/users/terminalmage/received_events","type":"User","site_admin":false},"repo":{"id":3186460,"name":"salt","full_name":"terminalmage/salt","owner":{"login":"terminalmage","id":328598,"avatar_url":"https://avatars.githubusercontent.com/u/328598?v=3","gravatar_id":"","url":"https://api.github.com/users/terminalmage","html_url":"https://github.com/terminalmage","followers_url":"https://api.github.com/users/terminalmage/followers","following_url":"https://api.github.com/users/terminalmage/following{/other_user}","gists_url":"https://api.github.com/users/terminalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/terminalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terminalmage/subscriptions","organizations_url":"https://api.github.com/users/terminalmage/orgs","repos_url":"https://api.github.com/users/terminalmage/repos","events_url":"https://api.github.com/users/terminalmage/events{/privacy}","received_events_url":"https://api.github.com/users/terminalmage/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/terminalmage/salt","description":"Central system and configuration manager ","fork":true,"url":"https://api.github.com/repos/terminalmage/salt","forks_url":"https://api.github.com/repos/terminalmage/salt/forks","keys_url":"https://api.github.com/repos/terminalmage/salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/terminalmage/salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/terminalmage/salt/teams","hooks_url":"https://api.github.com/repos/terminalmage/salt/hooks","issue_events_url":"https://api.github.com/repos/terminalmage/salt/issues/events{/number}","events_url":"https://api.github.com/repos/terminalmage/salt/events","assignees_url":"https://api.github.com/repos/terminalmage/salt/assignees{/user}","branches_url":"https://api.github.com/repos/terminalmage/salt/branches{/branch}","tags_url":"https://api.github.com/repos/terminalmage/salt/tags","blobs_url":"https://api.github.com/repos/terminalmage/salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/terminalmage/salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/terminalmage/salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/terminalmage/salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/terminalmage/salt/statuses/{sha}","languages_url":"https://api.github.com/repos/terminalmage/salt/languages","stargazers_url":"https://api.github.com/repos/terminalmage/salt/stargazers","contributors_url":"https://api.github.com/repos/terminalmage/salt/contributors","subscribers_url":"https://api.github.com/repos/terminalmage/salt/subscribers","subscription_url":"https://api.github.com/repos/terminalmage/salt/subscription","commits_url":"https://api.github.com/repos/terminalmage/salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/terminalmage/salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/terminalmage/salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/terminalmage/salt/issues/comments{/number}","contents_url":"https://api.github.com/repos/terminalmage/salt/contents/{+path}","compare_url":"https://api.github.com/repos/terminalmage/salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/terminalmage/salt/merges","archive_url":"https://api.github.com/repos/terminalmage/salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/terminalmage/salt/downloads","issues_url":"https://api.github.com/repos/terminalmage/salt/issues{/number}","pulls_url":"https://api.github.com/repos/terminalmage/salt/pulls{/number}","milestones_url":"https://api.github.com/repos/terminalmage/salt/milestones{/number}","notifications_url":"https://api.github.com/repos/terminalmage/salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/terminalmage/salt/labels{/name}","releases_url":"https://api.github.com/repos/terminalmage/salt/releases{/id}","created_at":"2012-01-15T22:33:58Z","updated_at":"2015-05-20T21:10:27Z","pushed_at":"2015-10-08T22:32:21Z","git_url":"git://github.com/terminalmage/salt.git","ssh_url":"git@github.com:terminalmage/salt.git","clone_url":"https://github.com/terminalmage/salt.git","svn_url":"https://github.com/terminalmage/salt","homepage":"saltstack.org","size":128201,"stargazers_count":1,"watchers_count":1,"language":null,"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":1,"default_branch":"develop"}},"base":{"label":"saltstack:2015.8","ref":"2015.8","sha":"dd9dba8f594e110ca216acbfbeff73b18ca5c5a6","user":{"login":"saltstack","id":1147473,"avatar_url":"https://avatars.githubusercontent.com/u/1147473?v=3","gravatar_id":"","url":"https://api.github.com/users/saltstack","html_url":"https://github.com/saltstack","followers_url":"https://api.github.com/users/saltstack/followers","following_url":"https://api.github.com/users/saltstack/following{/other_user}","gists_url":"https://api.github.com/users/saltstack/gists{/gist_id}","starred_url":"https://api.github.com/users/saltstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saltstack/subscriptions","organizations_url":"https://api.github.com/users/saltstack/orgs","repos_url":"https://api.github.com/users/saltstack/repos","events_url":"https://api.github.com/users/saltstack/events{/privacy}","received_events_url":"https://api.github.com/users/saltstack/received_events","type":"Organization","site_admin":false},"repo":{"id":1390248,"name":"salt","full_name":"saltstack/salt","owner":{"login":"saltstack","id":1147473,"avatar_url":"https://avatars.githubusercontent.com/u/1147473?v=3","gravatar_id":"","url":"https://api.github.com/users/saltstack","html_url":"https://github.com/saltstack","followers_url":"https://api.github.com/users/saltstack/followers","following_url":"https://api.github.com/users/saltstack/following{/other_user}","gists_url":"https://api.github.com/users/saltstack/gists{/gist_id}","starred_url":"https://api.github.com/users/saltstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saltstack/subscriptions","organizations_url":"https://api.github.com/users/saltstack/orgs","repos_url":"https://api.github.com/users/saltstack/repos","events_url":"https://api.github.com/users/saltstack/events{/privacy}","received_events_url":"https://api.github.com/users/saltstack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/saltstack/salt","description":"Infrastructure automation and management system","fork":false,"url":"https://api.github.com/repos/saltstack/salt","forks_url":"https://api.github.com/repos/saltstack/salt/forks","keys_url":"https://api.github.com/repos/saltstack/salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saltstack/salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saltstack/salt/teams","hooks_url":"https://api.github.com/repos/saltstack/salt/hooks","issue_events_url":"https://api.github.com/repos/saltstack/salt/issues/events{/number}","events_url":"https://api.github.com/repos/saltstack/salt/events","assignees_url":"https://api.github.com/repos/saltstack/salt/assignees{/user}","branches_url":"https://api.github.com/repos/saltstack/salt/branches{/branch}","tags_url":"https://api.github.com/repos/saltstack/salt/tags","blobs_url":"https://api.github.com/repos/saltstack/salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saltstack/salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saltstack/salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/saltstack/salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saltstack/salt/statuses/{sha}","languages_url":"https://api.github.com/repos/saltstack/salt/languages","stargazers_url":"https://api.github.com/repos/saltstack/salt/stargazers","contributors_url":"https://api.github.com/repos/saltstack/salt/contributors","subscribers_url":"https://api.github.com/repos/saltstack/salt/subscribers","subscription_url":"https://api.github.com/repos/saltstack/salt/subscription","commits_url":"https://api.github.com/repos/saltstack/salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/saltstack/salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/saltstack/salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/saltstack/salt/issues/comments{/number}","contents_url":"https://api.github.com/repos/saltstack/salt/contents/{+path}","compare_url":"https://api.github.com/repos/saltstack/salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saltstack/salt/merges","archive_url":"https://api.github.com/repos/saltstack/salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saltstack/salt/downloads","issues_url":"https://api.github.com/repos/saltstack/salt/issues{/number}","pulls_url":"https://api.github.com/repos/saltstack/salt/pulls{/number}","milestones_url":"https://api.github.com/repos/saltstack/salt/milestones{/number}","notifications_url":"https://api.github.com/repos/saltstack/salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saltstack/salt/labels{/name}","releases_url":"https://api.github.com/repos/saltstack/salt/releases{/id}","created_at":"2011-02-20T20:16:56Z","updated_at":"2015-10-08T14:11:51Z","pushed_at":"2015-10-08T23:36:20Z","git_url":"git://github.com/saltstack/salt.git","ssh_url":"git@github.com:saltstack/salt.git","clone_url":"https://github.com/saltstack/salt.git","svn_url":"https://github.com/saltstack/salt","homepage":"saltstack.com","size":251112,"stargazers_count":5716,"watchers_count":5716,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2444,"mirror_url":null,"open_issues_count":2986,"forks":2444,"open_issues":2986,"watchers":5716,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/saltstack/salt/pulls/27802"},"html":{"href":"https://github.com/saltstack/salt/pull/27802"},"issue":{"href":"https://api.github.com/repos/saltstack/salt/issues/27802"},"comments":{"href":"https://api.github.com/repos/saltstack/salt/issues/27802/comments"},"review_comments":{"href":"https://api.github.com/repos/saltstack/salt/pulls/27802/comments"},"review_comment":{"href":"https://api.github.com/repos/saltstack/salt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/saltstack/salt/pulls/27802/commits"},"statuses":{"href":"https://api.github.com/repos/saltstack/salt/statuses/7f4366d42e01ca850aa489592908dfd95aca3c1e"}}}}