{"action":"created","comment":{"url":"https://api.github.com/repos/google/gsa-admin-toolkit/pulls/comments/31430630","id":31430630,"diff_hunk":"@@ -457,6 +457,56 @@ def syncDatabases(self, database_list):\n       except:\n         log.error(\"Unable to sync %s properly\" % database)\n \n+  def pauseCrawl(self):\n+    \"\"\"Pause crawl on the GSA.\n+       Supports only 7.2 and higher.\n+\n+    Args:\n+      None\n+    \"\"\"\n+    self._login()\n+    security_token = self.getSecurityToken('exportAllUrls')\n+    if self.is72:","path":"gsa_admin.py","position":13,"original_position":13,"commit_id":"bd768e17247a6c3bfa65fbaa3830937d8683205e","original_commit_id":"bd768e17247a6c3bfa65fbaa3830937d8683205e","user":{"login":"ondrejnovak","id":10632289,"avatar_url":"https://avatars.githubusercontent.com/u/10632289?v=3","gravatar_id":"","url":"https://api.github.com/users/ondrejnovak","html_url":"https://github.com/ondrejnovak","followers_url":"https://api.github.com/users/ondrejnovak/followers","following_url":"https://api.github.com/users/ondrejnovak/following{/other_user}","gists_url":"https://api.github.com/users/ondrejnovak/gists{/gist_id}","starred_url":"https://api.github.com/users/ondrejnovak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondrejnovak/subscriptions","organizations_url":"https://api.github.com/users/ondrejnovak/orgs","repos_url":"https://api.github.com/users/ondrejnovak/repos","events_url":"https://api.github.com/users/ondrejnovak/events{/privacy}","received_events_url":"https://api.github.com/users/ondrejnovak/received_events","type":"User","site_admin":false},"body":"Why do you go to extra lengths not to support 7.0? As far as I know, if you were to remove the check, it would just work.\r\n","created_at":"2015-06-01T14:34:47Z","updated_at":"2015-06-01T14:34:47Z","html_url":"https://github.com/google/gsa-admin-toolkit/pull/29#discussion_r31430630","pull_request_url":"https://api.github.com/repos/google/gsa-admin-toolkit/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/google/gsa-admin-toolkit/pulls/comments/31430630"},"html":{"href":"https://github.com/google/gsa-admin-toolkit/pull/29#discussion_r31430630"},"pull_request":{"href":"https://api.github.com/repos/google/gsa-admin-toolkit/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/google/gsa-admin-toolkit/pulls/29","id":36583863,"html_url":"https://github.com/google/gsa-admin-toolkit/pull/29","diff_url":"https://github.com/google/gsa-admin-toolkit/pull/29.diff","patch_url":"https://github.com/google/gsa-admin-toolkit/pull/29.patch","issue_url":"https://api.github.com/repos/google/gsa-admin-toolkit/issues/29","number":29,"state":"open","locked":false,"title":"Pause/Resume Crawl functionality added","user":{"login":"host1812","id":2044917,"avatar_url":"https://avatars.githubusercontent.com/u/2044917?v=3","gravatar_id":"","url":"https://api.github.com/users/host1812","html_url":"https://github.com/host1812","followers_url":"https://api.github.com/users/host1812/followers","following_url":"https://api.github.com/users/host1812/following{/other_user}","gists_url":"https://api.github.com/users/host1812/gists{/gist_id}","starred_url":"https://api.github.com/users/host1812/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/host1812/subscriptions","organizations_url":"https://api.github.com/users/host1812/orgs","repos_url":"https://api.github.com/users/host1812/repos","events_url":"https://api.github.com/users/host1812/events{/privacy}","received_events_url":"https://api.github.com/users/host1812/received_events","type":"User","site_admin":false},"body":"New functionality to pause and resume crawl is added.\r\nNew functionality available and tested on 7.2 and 7.4 releases.\r\nError message will be displayed if used on 7.0 release.\r\n\r\nPlease review and merge to google/gsa-admin-toolkit.","created_at":"2015-05-31T15:20:30Z","updated_at":"2015-06-01T14:34:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f0a9a67ec27433d77f14ff75782cb35447dcf8f6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/gsa-admin-toolkit/pulls/29/commits","review_comments_url":"https://api.github.com/repos/google/gsa-admin-toolkit/pulls/29/comments","review_comment_url":"https://api.github.com/repos/google/gsa-admin-toolkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/gsa-admin-toolkit/issues/29/comments","statuses_url":"https://api.github.com/repos/google/gsa-admin-toolkit/statuses/bd768e17247a6c3bfa65fbaa3830937d8683205e","head":{"label":"host1812:master","ref":"master","sha":"bd768e17247a6c3bfa65fbaa3830937d8683205e","user":{"login":"host1812","id":2044917,"avatar_url":"https://avatars.githubusercontent.com/u/2044917?v=3","gravatar_id":"","url":"https://api.github.com/users/host1812","html_url":"https://github.com/host1812","followers_url":"https://api.github.com/users/host1812/followers","following_url":"https://api.github.com/users/host1812/following{/other_user}","gists_url":"https://api.github.com/users/host1812/gists{/gist_id}","starred_url":"https://api.github.com/users/host1812/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/host1812/subscriptions","organizations_url":"https://api.github.com/users/host1812/orgs","repos_url":"https://api.github.com/users/host1812/repos","events_url":"https://api.github.com/users/host1812/events{/privacy}","received_events_url":"https://api.github.com/users/host1812/received_events","type":"User","site_admin":false},"repo":{"id":35140773,"name":"gsa-admin-toolkit","full_name":"host1812/gsa-admin-toolkit","owner":{"login":"host1812","id":2044917,"avatar_url":"https://avatars.githubusercontent.com/u/2044917?v=3","gravatar_id":"","url":"https://api.github.com/users/host1812","html_url":"https://github.com/host1812","followers_url":"https://api.github.com/users/host1812/followers","following_url":"https://api.github.com/users/host1812/following{/other_user}","gists_url":"https://api.github.com/users/host1812/gists{/gist_id}","starred_url":"https://api.github.com/users/host1812/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/host1812/subscriptions","organizations_url":"https://api.github.com/users/host1812/orgs","repos_url":"https://api.github.com/users/host1812/repos","events_url":"https://api.github.com/users/host1812/events{/privacy}","received_events_url":"https://api.github.com/users/host1812/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/host1812/gsa-admin-toolkit","description":"Tools for common Google Search Appliance (GSA) administrative tasks","fork":true,"url":"https://api.github.com/repos/host1812/gsa-admin-toolkit","forks_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/forks","keys_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/teams","hooks_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/hooks","issue_events_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/events","assignees_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/tags","blobs_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/languages","stargazers_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/stargazers","contributors_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/contributors","subscribers_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/subscribers","subscription_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/subscription","commits_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/merges","archive_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/downloads","issues_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/labels{/name}","releases_url":"https://api.github.com/repos/host1812/gsa-admin-toolkit/releases{/id}","created_at":"2015-05-06T05:19:14Z","updated_at":"2015-05-06T05:19:14Z","pushed_at":"2015-05-31T14:50:39Z","git_url":"git://github.com/host1812/gsa-admin-toolkit.git","ssh_url":"git@github.com:host1812/gsa-admin-toolkit.git","clone_url":"https://github.com/host1812/gsa-admin-toolkit.git","svn_url":"https://github.com/host1812/gsa-admin-toolkit","homepage":"","size":1264,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"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":"google:master","ref":"master","sha":"147c121cc30191efb2795f90f3f4e5bbc7823f4d","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":23476024,"name":"gsa-admin-toolkit","full_name":"google/gsa-admin-toolkit","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/gsa-admin-toolkit","description":"Tools for common Google Search Appliance (GSA) administrative tasks","fork":false,"url":"https://api.github.com/repos/google/gsa-admin-toolkit","forks_url":"https://api.github.com/repos/google/gsa-admin-toolkit/forks","keys_url":"https://api.github.com/repos/google/gsa-admin-toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/gsa-admin-toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/gsa-admin-toolkit/teams","hooks_url":"https://api.github.com/repos/google/gsa-admin-toolkit/hooks","issue_events_url":"https://api.github.com/repos/google/gsa-admin-toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/google/gsa-admin-toolkit/events","assignees_url":"https://api.github.com/repos/google/gsa-admin-toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/google/gsa-admin-toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/google/gsa-admin-toolkit/tags","blobs_url":"https://api.github.com/repos/google/gsa-admin-toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/gsa-admin-toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/gsa-admin-toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/gsa-admin-toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/gsa-admin-toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/google/gsa-admin-toolkit/languages","stargazers_url":"https://api.github.com/repos/google/gsa-admin-toolkit/stargazers","contributors_url":"https://api.github.com/repos/google/gsa-admin-toolkit/contributors","subscribers_url":"https://api.github.com/repos/google/gsa-admin-toolkit/subscribers","subscription_url":"https://api.github.com/repos/google/gsa-admin-toolkit/subscription","commits_url":"https://api.github.com/repos/google/gsa-admin-toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/gsa-admin-toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/gsa-admin-toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/gsa-admin-toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/gsa-admin-toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/google/gsa-admin-toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/gsa-admin-toolkit/merges","archive_url":"https://api.github.com/repos/google/gsa-admin-toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/gsa-admin-toolkit/downloads","issues_url":"https://api.github.com/repos/google/gsa-admin-toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/google/gsa-admin-toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/google/gsa-admin-toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/google/gsa-admin-toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/gsa-admin-toolkit/labels{/name}","releases_url":"https://api.github.com/repos/google/gsa-admin-toolkit/releases{/id}","created_at":"2014-08-29T19:55:01Z","updated_at":"2015-04-02T20:17:29Z","pushed_at":"2015-05-31T15:20:30Z","git_url":"git://github.com/google/gsa-admin-toolkit.git","ssh_url":"git@github.com:google/gsa-admin-toolkit.git","clone_url":"https://github.com/google/gsa-admin-toolkit.git","svn_url":"https://github.com/google/gsa-admin-toolkit","homepage":"","size":1264,"stargazers_count":17,"watchers_count":17,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":21,"forks":15,"open_issues":21,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/gsa-admin-toolkit/pulls/29"},"html":{"href":"https://github.com/google/gsa-admin-toolkit/pull/29"},"issue":{"href":"https://api.github.com/repos/google/gsa-admin-toolkit/issues/29"},"comments":{"href":"https://api.github.com/repos/google/gsa-admin-toolkit/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/google/gsa-admin-toolkit/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/google/gsa-admin-toolkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/gsa-admin-toolkit/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/google/gsa-admin-toolkit/statuses/bd768e17247a6c3bfa65fbaa3830937d8683205e"}}}}