{"action":"created","comment":{"url":"https://api.github.com/repos/pulselocker/elasticsearch/pulls/comments/27622460","id":27622460,"diff_hunk":"@@ -38,10 +40,19 @@ SYNOPSIS\n     ./es.sh remove_all_indexes\n     ./es.sh reinstall_index <index>\n     ./es.sh reinstall_all_indexes\n+    ./es.sh publish_index <index>\n+    ./es.sh publish_all_indexes\n+    ./es.sh unpublish_index <index>\n+    ./es.sh unpublish_all_indexes\n+    ./es.sh republish_index <index>\n+    ./es.sh republish_all_indexes\n+\n \n DESCRIPTION\n-    Installs, removes, or reinstalls either a specific index or all indexes.\n+    Installs, removes, reinstalls, publishes, unpublishes, and republishes either a specific index\n+    or all indexes.\n     Reinstalling is equivalent to removing then installing.\n+    Republishing is equivalent to unpublishing then publishing.","path":"scripts/indexes.sh","position":28,"original_position":28,"commit_id":"5256dabb6f62ac90f31433297801525d66b47ae0","original_commit_id":"5256dabb6f62ac90f31433297801525d66b47ae0","user":{"login":"NatalieWolfe","id":466761,"avatar_url":"https://avatars.githubusercontent.com/u/466761?v=3","gravatar_id":"","url":"https://api.github.com/users/NatalieWolfe","html_url":"https://github.com/NatalieWolfe","followers_url":"https://api.github.com/users/NatalieWolfe/followers","following_url":"https://api.github.com/users/NatalieWolfe/following{/other_user}","gists_url":"https://api.github.com/users/NatalieWolfe/gists{/gist_id}","starred_url":"https://api.github.com/users/NatalieWolfe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NatalieWolfe/subscriptions","organizations_url":"https://api.github.com/users/NatalieWolfe/orgs","repos_url":"https://api.github.com/users/NatalieWolfe/repos","events_url":"https://api.github.com/users/NatalieWolfe/events{/privacy}","received_events_url":"https://api.github.com/users/NatalieWolfe/received_events","type":"User","site_admin":false},"body":"Manually wrap at 80 columns for terminal output. The \"Reinstalling\" line was not a new paragraph, just manually wrapped at the 80th column.","created_at":"2015-04-01T23:35:50Z","updated_at":"2015-04-01T23:35:50Z","html_url":"https://github.com/pulselocker/elasticsearch/pull/24#discussion_r27622460","pull_request_url":"https://api.github.com/repos/pulselocker/elasticsearch/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/pulselocker/elasticsearch/pulls/comments/27622460"},"html":{"href":"https://github.com/pulselocker/elasticsearch/pull/24#discussion_r27622460"},"pull_request":{"href":"https://api.github.com/repos/pulselocker/elasticsearch/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/pulselocker/elasticsearch/pulls/24","id":32471214,"html_url":"https://github.com/pulselocker/elasticsearch/pull/24","diff_url":"https://github.com/pulselocker/elasticsearch/pull/24.diff","patch_url":"https://github.com/pulselocker/elasticsearch/pull/24.patch","issue_url":"https://api.github.com/repos/pulselocker/elasticsearch/issues/24","number":24,"state":"open","locked":false,"title":"adding publishing to ES scripts","user":{"login":"dkimdkimdkim","id":1606756,"avatar_url":"https://avatars.githubusercontent.com/u/1606756?v=3","gravatar_id":"","url":"https://api.github.com/users/dkimdkimdkim","html_url":"https://github.com/dkimdkimdkim","followers_url":"https://api.github.com/users/dkimdkimdkim/followers","following_url":"https://api.github.com/users/dkimdkimdkim/following{/other_user}","gists_url":"https://api.github.com/users/dkimdkimdkim/gists{/gist_id}","starred_url":"https://api.github.com/users/dkimdkimdkim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkimdkimdkim/subscriptions","organizations_url":"https://api.github.com/users/dkimdkimdkim/orgs","repos_url":"https://api.github.com/users/dkimdkimdkim/repos","events_url":"https://api.github.com/users/dkimdkimdkim/events{/privacy}","received_events_url":"https://api.github.com/users/dkimdkimdkim/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-01T23:32:26Z","updated_at":"2015-04-01T23:35:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a1fac75dbb5c0c5b103158862f5f967511df1dbb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pulselocker/elasticsearch/pulls/24/commits","review_comments_url":"https://api.github.com/repos/pulselocker/elasticsearch/pulls/24/comments","review_comment_url":"https://api.github.com/repos/pulselocker/elasticsearch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pulselocker/elasticsearch/issues/24/comments","statuses_url":"https://api.github.com/repos/pulselocker/elasticsearch/statuses/5256dabb6f62ac90f31433297801525d66b47ae0","head":{"label":"pulselocker:publish","ref":"publish","sha":"5256dabb6f62ac90f31433297801525d66b47ae0","user":{"login":"pulselocker","id":1197642,"avatar_url":"https://avatars.githubusercontent.com/u/1197642?v=3","gravatar_id":"","url":"https://api.github.com/users/pulselocker","html_url":"https://github.com/pulselocker","followers_url":"https://api.github.com/users/pulselocker/followers","following_url":"https://api.github.com/users/pulselocker/following{/other_user}","gists_url":"https://api.github.com/users/pulselocker/gists{/gist_id}","starred_url":"https://api.github.com/users/pulselocker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulselocker/subscriptions","organizations_url":"https://api.github.com/users/pulselocker/orgs","repos_url":"https://api.github.com/users/pulselocker/repos","events_url":"https://api.github.com/users/pulselocker/events{/privacy}","received_events_url":"https://api.github.com/users/pulselocker/received_events","type":"Organization","site_admin":false},"repo":{"id":20979686,"name":"elasticsearch","full_name":"pulselocker/elasticsearch","owner":{"login":"pulselocker","id":1197642,"avatar_url":"https://avatars.githubusercontent.com/u/1197642?v=3","gravatar_id":"","url":"https://api.github.com/users/pulselocker","html_url":"https://github.com/pulselocker","followers_url":"https://api.github.com/users/pulselocker/followers","following_url":"https://api.github.com/users/pulselocker/following{/other_user}","gists_url":"https://api.github.com/users/pulselocker/gists{/gist_id}","starred_url":"https://api.github.com/users/pulselocker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulselocker/subscriptions","organizations_url":"https://api.github.com/users/pulselocker/orgs","repos_url":"https://api.github.com/users/pulselocker/repos","events_url":"https://api.github.com/users/pulselocker/events{/privacy}","received_events_url":"https://api.github.com/users/pulselocker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pulselocker/elasticsearch","description":"Repository of ElasticSearch recipes.","fork":false,"url":"https://api.github.com/repos/pulselocker/elasticsearch","forks_url":"https://api.github.com/repos/pulselocker/elasticsearch/forks","keys_url":"https://api.github.com/repos/pulselocker/elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pulselocker/elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pulselocker/elasticsearch/teams","hooks_url":"https://api.github.com/repos/pulselocker/elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/pulselocker/elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/pulselocker/elasticsearch/events","assignees_url":"https://api.github.com/repos/pulselocker/elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/pulselocker/elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/pulselocker/elasticsearch/tags","blobs_url":"https://api.github.com/repos/pulselocker/elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pulselocker/elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pulselocker/elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/pulselocker/elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pulselocker/elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/pulselocker/elasticsearch/languages","stargazers_url":"https://api.github.com/repos/pulselocker/elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/pulselocker/elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/pulselocker/elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/pulselocker/elasticsearch/subscription","commits_url":"https://api.github.com/repos/pulselocker/elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/pulselocker/elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/pulselocker/elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/pulselocker/elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/pulselocker/elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/pulselocker/elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pulselocker/elasticsearch/merges","archive_url":"https://api.github.com/repos/pulselocker/elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pulselocker/elasticsearch/downloads","issues_url":"https://api.github.com/repos/pulselocker/elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/pulselocker/elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/pulselocker/elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/pulselocker/elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pulselocker/elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/pulselocker/elasticsearch/releases{/id}","created_at":"2014-06-18T22:07:09Z","updated_at":"2015-04-01T21:35:34Z","pushed_at":"2015-04-01T23:32:27Z","git_url":"git://github.com/pulselocker/elasticsearch.git","ssh_url":"git@github.com:pulselocker/elasticsearch.git","clone_url":"https://github.com/pulselocker/elasticsearch.git","svn_url":"https://github.com/pulselocker/elasticsearch","homepage":null,"size":867,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"pulselocker:master","ref":"master","sha":"5511b00eacbf67e6df055bf46da14803fd617acf","user":{"login":"pulselocker","id":1197642,"avatar_url":"https://avatars.githubusercontent.com/u/1197642?v=3","gravatar_id":"","url":"https://api.github.com/users/pulselocker","html_url":"https://github.com/pulselocker","followers_url":"https://api.github.com/users/pulselocker/followers","following_url":"https://api.github.com/users/pulselocker/following{/other_user}","gists_url":"https://api.github.com/users/pulselocker/gists{/gist_id}","starred_url":"https://api.github.com/users/pulselocker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulselocker/subscriptions","organizations_url":"https://api.github.com/users/pulselocker/orgs","repos_url":"https://api.github.com/users/pulselocker/repos","events_url":"https://api.github.com/users/pulselocker/events{/privacy}","received_events_url":"https://api.github.com/users/pulselocker/received_events","type":"Organization","site_admin":false},"repo":{"id":20979686,"name":"elasticsearch","full_name":"pulselocker/elasticsearch","owner":{"login":"pulselocker","id":1197642,"avatar_url":"https://avatars.githubusercontent.com/u/1197642?v=3","gravatar_id":"","url":"https://api.github.com/users/pulselocker","html_url":"https://github.com/pulselocker","followers_url":"https://api.github.com/users/pulselocker/followers","following_url":"https://api.github.com/users/pulselocker/following{/other_user}","gists_url":"https://api.github.com/users/pulselocker/gists{/gist_id}","starred_url":"https://api.github.com/users/pulselocker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulselocker/subscriptions","organizations_url":"https://api.github.com/users/pulselocker/orgs","repos_url":"https://api.github.com/users/pulselocker/repos","events_url":"https://api.github.com/users/pulselocker/events{/privacy}","received_events_url":"https://api.github.com/users/pulselocker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pulselocker/elasticsearch","description":"Repository of ElasticSearch recipes.","fork":false,"url":"https://api.github.com/repos/pulselocker/elasticsearch","forks_url":"https://api.github.com/repos/pulselocker/elasticsearch/forks","keys_url":"https://api.github.com/repos/pulselocker/elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pulselocker/elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pulselocker/elasticsearch/teams","hooks_url":"https://api.github.com/repos/pulselocker/elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/pulselocker/elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/pulselocker/elasticsearch/events","assignees_url":"https://api.github.com/repos/pulselocker/elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/pulselocker/elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/pulselocker/elasticsearch/tags","blobs_url":"https://api.github.com/repos/pulselocker/elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pulselocker/elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pulselocker/elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/pulselocker/elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pulselocker/elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/pulselocker/elasticsearch/languages","stargazers_url":"https://api.github.com/repos/pulselocker/elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/pulselocker/elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/pulselocker/elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/pulselocker/elasticsearch/subscription","commits_url":"https://api.github.com/repos/pulselocker/elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/pulselocker/elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/pulselocker/elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/pulselocker/elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/pulselocker/elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/pulselocker/elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pulselocker/elasticsearch/merges","archive_url":"https://api.github.com/repos/pulselocker/elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pulselocker/elasticsearch/downloads","issues_url":"https://api.github.com/repos/pulselocker/elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/pulselocker/elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/pulselocker/elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/pulselocker/elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pulselocker/elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/pulselocker/elasticsearch/releases{/id}","created_at":"2014-06-18T22:07:09Z","updated_at":"2015-04-01T21:35:34Z","pushed_at":"2015-04-01T23:32:27Z","git_url":"git://github.com/pulselocker/elasticsearch.git","ssh_url":"git@github.com:pulselocker/elasticsearch.git","clone_url":"https://github.com/pulselocker/elasticsearch.git","svn_url":"https://github.com/pulselocker/elasticsearch","homepage":null,"size":867,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pulselocker/elasticsearch/pulls/24"},"html":{"href":"https://github.com/pulselocker/elasticsearch/pull/24"},"issue":{"href":"https://api.github.com/repos/pulselocker/elasticsearch/issues/24"},"comments":{"href":"https://api.github.com/repos/pulselocker/elasticsearch/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/pulselocker/elasticsearch/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/pulselocker/elasticsearch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pulselocker/elasticsearch/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/pulselocker/elasticsearch/statuses/5256dabb6f62ac90f31433297801525d66b47ae0"}}}}