{"action":"created","comment":{"url":"https://api.github.com/repos/urdarinda/proxy_management/pulls/comments/165842355","pull_request_review_id":93843112,"id":165842355,"diff_hunk":"@@ -55,6 +55,50 @@ then\n               #rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org\n               #rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm\n               #yum --enablerepo=elrepo-kernel -y install kernel-ml\n+              \n+              echo \"Auto-Configure mount options? (Y/n)\"\n+              read -r option\n+              if ! [[ $option =~ N|n ]]; then     \n+                     while [[ true ]]; do\n+                     \n+                            echo -n \"Names of abs. cache dirs (eg: /cache1 /cache2)\"\n+                            read -r cache_dir\n+              \n+                            # if $cache_dir empty\n+                            if [[ -z $cache_dir  ]]; then\n+                                   # Following will select all the directories having \"/cache\" in them\n+                                   cache_dir=\"/cache\"\n+                                   echo \"$(tput bold)WARNING$(tput sgr0): Using /cache* as cache directory\"\n+                            fi\n+              \n+              \n+                            # Stores name of partitions(space seperated) on which caches are present\n+                            cache_prt=''\n+                            for j in $cache_dir; do   \n+                                   # Partition on which cache is mounted, sed pipe replaces \"/\" with \"\\/\"\n+                                   cache_prt=$cache_prt\" \"$(mount | grep $j | awk '{print $1}')\n+                            done\n+              \n+              \n+                            echo \"Cache dir are : $(tput bold)$cache_dir$(tput sgr0)\"\n+                            echo \"Respective partitions are :\"\n+                            echo $(tput bold) $cache_prt $(tput sgr0)\n+                            \n+              \n+                            echo -n \"Continue (Y/n)\"\n+                            read -r confirm\n+                            if ! [[ $confirm =~ N|n ]] ; then\n+                                   break;\n+                            fi\n+                     done\n+              \n+                     # escaping the \"/\" with \"\\/\"\n+                     cache_prt=$(echo $cache_prt | sed 's:/:\\\\/:g')","path":"install.sh","position":42,"original_position":42,"commit_id":"a29b5d1282e5d22e6337886ca533b765f61de809","original_commit_id":"a29b5d1282e5d22e6337886ca533b765f61de809","user":{"login":"urdarinda","id":9137405,"avatar_url":"https://avatars3.githubusercontent.com/u/9137405?v=4","gravatar_id":"","url":"https://api.github.com/users/urdarinda","html_url":"https://github.com/urdarinda","followers_url":"https://api.github.com/users/urdarinda/followers","following_url":"https://api.github.com/users/urdarinda/following{/other_user}","gists_url":"https://api.github.com/users/urdarinda/gists{/gist_id}","starred_url":"https://api.github.com/users/urdarinda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urdarinda/subscriptions","organizations_url":"https://api.github.com/users/urdarinda/orgs","repos_url":"https://api.github.com/users/urdarinda/repos","events_url":"https://api.github.com/users/urdarinda/events{/privacy}","received_events_url":"https://api.github.com/users/urdarinda/received_events","type":"User","site_admin":false},"body":"use the proper options\r\nnoatime,data=writeback","created_at":"2018-02-04T12:07:58Z","updated_at":"2018-02-04T12:07:58Z","html_url":"https://github.com/urdarinda/proxy_management/pull/9#discussion_r165842355","pull_request_url":"https://api.github.com/repos/urdarinda/proxy_management/pulls/9","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/urdarinda/proxy_management/pulls/comments/165842355"},"html":{"href":"https://github.com/urdarinda/proxy_management/pull/9#discussion_r165842355"},"pull_request":{"href":"https://api.github.com/repos/urdarinda/proxy_management/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/urdarinda/proxy_management/pulls/9","id":166999786,"html_url":"https://github.com/urdarinda/proxy_management/pull/9","diff_url":"https://github.com/urdarinda/proxy_management/pull/9.diff","patch_url":"https://github.com/urdarinda/proxy_management/pull/9.patch","issue_url":"https://api.github.com/repos/urdarinda/proxy_management/issues/9","number":9,"state":"open","locked":false,"title":"Added Auto-Configure Mount options for multiple cache partitions","user":{"login":"packetChor","id":23742442,"avatar_url":"https://avatars3.githubusercontent.com/u/23742442?v=4","gravatar_id":"","url":"https://api.github.com/users/packetChor","html_url":"https://github.com/packetChor","followers_url":"https://api.github.com/users/packetChor/followers","following_url":"https://api.github.com/users/packetChor/following{/other_user}","gists_url":"https://api.github.com/users/packetChor/gists{/gist_id}","starred_url":"https://api.github.com/users/packetChor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/packetChor/subscriptions","organizations_url":"https://api.github.com/users/packetChor/orgs","repos_url":"https://api.github.com/users/packetChor/repos","events_url":"https://api.github.com/users/packetChor/events{/privacy}","received_events_url":"https://api.github.com/users/packetChor/received_events","type":"User","site_admin":false},"body":"Please examine for bugs","created_at":"2018-02-04T08:06:52Z","updated_at":"2018-02-04T12:07:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"26b27abbb21722d66b0fbb430d7eceb0b979169f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/urdarinda/proxy_management/pulls/9/commits","review_comments_url":"https://api.github.com/repos/urdarinda/proxy_management/pulls/9/comments","review_comment_url":"https://api.github.com/repos/urdarinda/proxy_management/pulls/comments{/number}","comments_url":"https://api.github.com/repos/urdarinda/proxy_management/issues/9/comments","statuses_url":"https://api.github.com/repos/urdarinda/proxy_management/statuses/a29b5d1282e5d22e6337886ca533b765f61de809","head":{"label":"packetChor:master","ref":"master","sha":"a29b5d1282e5d22e6337886ca533b765f61de809","user":{"login":"packetChor","id":23742442,"avatar_url":"https://avatars3.githubusercontent.com/u/23742442?v=4","gravatar_id":"","url":"https://api.github.com/users/packetChor","html_url":"https://github.com/packetChor","followers_url":"https://api.github.com/users/packetChor/followers","following_url":"https://api.github.com/users/packetChor/following{/other_user}","gists_url":"https://api.github.com/users/packetChor/gists{/gist_id}","starred_url":"https://api.github.com/users/packetChor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/packetChor/subscriptions","organizations_url":"https://api.github.com/users/packetChor/orgs","repos_url":"https://api.github.com/users/packetChor/repos","events_url":"https://api.github.com/users/packetChor/events{/privacy}","received_events_url":"https://api.github.com/users/packetChor/received_events","type":"User","site_admin":false},"repo":{"id":110539018,"name":"proxy_management","full_name":"packetChor/proxy_management","owner":{"login":"packetChor","id":23742442,"avatar_url":"https://avatars3.githubusercontent.com/u/23742442?v=4","gravatar_id":"","url":"https://api.github.com/users/packetChor","html_url":"https://github.com/packetChor","followers_url":"https://api.github.com/users/packetChor/followers","following_url":"https://api.github.com/users/packetChor/following{/other_user}","gists_url":"https://api.github.com/users/packetChor/gists{/gist_id}","starred_url":"https://api.github.com/users/packetChor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/packetChor/subscriptions","organizations_url":"https://api.github.com/users/packetChor/orgs","repos_url":"https://api.github.com/users/packetChor/repos","events_url":"https://api.github.com/users/packetChor/events{/privacy}","received_events_url":"https://api.github.com/users/packetChor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/packetChor/proxy_management","description":"Contains scipts to manage a new squid proxy server","fork":true,"url":"https://api.github.com/repos/packetChor/proxy_management","forks_url":"https://api.github.com/repos/packetChor/proxy_management/forks","keys_url":"https://api.github.com/repos/packetChor/proxy_management/keys{/key_id}","collaborators_url":"https://api.github.com/repos/packetChor/proxy_management/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/packetChor/proxy_management/teams","hooks_url":"https://api.github.com/repos/packetChor/proxy_management/hooks","issue_events_url":"https://api.github.com/repos/packetChor/proxy_management/issues/events{/number}","events_url":"https://api.github.com/repos/packetChor/proxy_management/events","assignees_url":"https://api.github.com/repos/packetChor/proxy_management/assignees{/user}","branches_url":"https://api.github.com/repos/packetChor/proxy_management/branches{/branch}","tags_url":"https://api.github.com/repos/packetChor/proxy_management/tags","blobs_url":"https://api.github.com/repos/packetChor/proxy_management/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/packetChor/proxy_management/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/packetChor/proxy_management/git/refs{/sha}","trees_url":"https://api.github.com/repos/packetChor/proxy_management/git/trees{/sha}","statuses_url":"https://api.github.com/repos/packetChor/proxy_management/statuses/{sha}","languages_url":"https://api.github.com/repos/packetChor/proxy_management/languages","stargazers_url":"https://api.github.com/repos/packetChor/proxy_management/stargazers","contributors_url":"https://api.github.com/repos/packetChor/proxy_management/contributors","subscribers_url":"https://api.github.com/repos/packetChor/proxy_management/subscribers","subscription_url":"https://api.github.com/repos/packetChor/proxy_management/subscription","commits_url":"https://api.github.com/repos/packetChor/proxy_management/commits{/sha}","git_commits_url":"https://api.github.com/repos/packetChor/proxy_management/git/commits{/sha}","comments_url":"https://api.github.com/repos/packetChor/proxy_management/comments{/number}","issue_comment_url":"https://api.github.com/repos/packetChor/proxy_management/issues/comments{/number}","contents_url":"https://api.github.com/repos/packetChor/proxy_management/contents/{+path}","compare_url":"https://api.github.com/repos/packetChor/proxy_management/compare/{base}...{head}","merges_url":"https://api.github.com/repos/packetChor/proxy_management/merges","archive_url":"https://api.github.com/repos/packetChor/proxy_management/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/packetChor/proxy_management/downloads","issues_url":"https://api.github.com/repos/packetChor/proxy_management/issues{/number}","pulls_url":"https://api.github.com/repos/packetChor/proxy_management/pulls{/number}","milestones_url":"https://api.github.com/repos/packetChor/proxy_management/milestones{/number}","notifications_url":"https://api.github.com/repos/packetChor/proxy_management/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/packetChor/proxy_management/labels{/name}","releases_url":"https://api.github.com/repos/packetChor/proxy_management/releases{/id}","deployments_url":"https://api.github.com/repos/packetChor/proxy_management/deployments","created_at":"2017-11-13T11:18:30Z","updated_at":"2017-11-13T11:18:32Z","pushed_at":"2018-02-04T08:04:08Z","git_url":"git://github.com/packetChor/proxy_management.git","ssh_url":"git@github.com:packetChor/proxy_management.git","clone_url":"https://github.com/packetChor/proxy_management.git","svn_url":"https://github.com/packetChor/proxy_management","homepage":null,"size":10752,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"urdarinda:master","ref":"master","sha":"98f27722621bc24e57f7d1cea8ba3b20e54a8983","user":{"login":"urdarinda","id":9137405,"avatar_url":"https://avatars3.githubusercontent.com/u/9137405?v=4","gravatar_id":"","url":"https://api.github.com/users/urdarinda","html_url":"https://github.com/urdarinda","followers_url":"https://api.github.com/users/urdarinda/followers","following_url":"https://api.github.com/users/urdarinda/following{/other_user}","gists_url":"https://api.github.com/users/urdarinda/gists{/gist_id}","starred_url":"https://api.github.com/users/urdarinda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urdarinda/subscriptions","organizations_url":"https://api.github.com/users/urdarinda/orgs","repos_url":"https://api.github.com/users/urdarinda/repos","events_url":"https://api.github.com/users/urdarinda/events{/privacy}","received_events_url":"https://api.github.com/users/urdarinda/received_events","type":"User","site_admin":false},"repo":{"id":80900869,"name":"proxy_management","full_name":"urdarinda/proxy_management","owner":{"login":"urdarinda","id":9137405,"avatar_url":"https://avatars3.githubusercontent.com/u/9137405?v=4","gravatar_id":"","url":"https://api.github.com/users/urdarinda","html_url":"https://github.com/urdarinda","followers_url":"https://api.github.com/users/urdarinda/followers","following_url":"https://api.github.com/users/urdarinda/following{/other_user}","gists_url":"https://api.github.com/users/urdarinda/gists{/gist_id}","starred_url":"https://api.github.com/users/urdarinda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urdarinda/subscriptions","organizations_url":"https://api.github.com/users/urdarinda/orgs","repos_url":"https://api.github.com/users/urdarinda/repos","events_url":"https://api.github.com/users/urdarinda/events{/privacy}","received_events_url":"https://api.github.com/users/urdarinda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/urdarinda/proxy_management","description":"Contains scipts to manage a new squid proxy server","fork":false,"url":"https://api.github.com/repos/urdarinda/proxy_management","forks_url":"https://api.github.com/repos/urdarinda/proxy_management/forks","keys_url":"https://api.github.com/repos/urdarinda/proxy_management/keys{/key_id}","collaborators_url":"https://api.github.com/repos/urdarinda/proxy_management/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/urdarinda/proxy_management/teams","hooks_url":"https://api.github.com/repos/urdarinda/proxy_management/hooks","issue_events_url":"https://api.github.com/repos/urdarinda/proxy_management/issues/events{/number}","events_url":"https://api.github.com/repos/urdarinda/proxy_management/events","assignees_url":"https://api.github.com/repos/urdarinda/proxy_management/assignees{/user}","branches_url":"https://api.github.com/repos/urdarinda/proxy_management/branches{/branch}","tags_url":"https://api.github.com/repos/urdarinda/proxy_management/tags","blobs_url":"https://api.github.com/repos/urdarinda/proxy_management/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/urdarinda/proxy_management/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/urdarinda/proxy_management/git/refs{/sha}","trees_url":"https://api.github.com/repos/urdarinda/proxy_management/git/trees{/sha}","statuses_url":"https://api.github.com/repos/urdarinda/proxy_management/statuses/{sha}","languages_url":"https://api.github.com/repos/urdarinda/proxy_management/languages","stargazers_url":"https://api.github.com/repos/urdarinda/proxy_management/stargazers","contributors_url":"https://api.github.com/repos/urdarinda/proxy_management/contributors","subscribers_url":"https://api.github.com/repos/urdarinda/proxy_management/subscribers","subscription_url":"https://api.github.com/repos/urdarinda/proxy_management/subscription","commits_url":"https://api.github.com/repos/urdarinda/proxy_management/commits{/sha}","git_commits_url":"https://api.github.com/repos/urdarinda/proxy_management/git/commits{/sha}","comments_url":"https://api.github.com/repos/urdarinda/proxy_management/comments{/number}","issue_comment_url":"https://api.github.com/repos/urdarinda/proxy_management/issues/comments{/number}","contents_url":"https://api.github.com/repos/urdarinda/proxy_management/contents/{+path}","compare_url":"https://api.github.com/repos/urdarinda/proxy_management/compare/{base}...{head}","merges_url":"https://api.github.com/repos/urdarinda/proxy_management/merges","archive_url":"https://api.github.com/repos/urdarinda/proxy_management/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/urdarinda/proxy_management/downloads","issues_url":"https://api.github.com/repos/urdarinda/proxy_management/issues{/number}","pulls_url":"https://api.github.com/repos/urdarinda/proxy_management/pulls{/number}","milestones_url":"https://api.github.com/repos/urdarinda/proxy_management/milestones{/number}","notifications_url":"https://api.github.com/repos/urdarinda/proxy_management/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/urdarinda/proxy_management/labels{/name}","releases_url":"https://api.github.com/repos/urdarinda/proxy_management/releases{/id}","deployments_url":"https://api.github.com/repos/urdarinda/proxy_management/deployments","created_at":"2017-02-04T07:02:19Z","updated_at":"2017-11-13T11:16:12Z","pushed_at":"2018-02-04T08:06:53Z","git_url":"git://github.com/urdarinda/proxy_management.git","ssh_url":"git@github.com:urdarinda/proxy_management.git","clone_url":"https://github.com/urdarinda/proxy_management.git","svn_url":"https://github.com/urdarinda/proxy_management","homepage":null,"size":10749,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/urdarinda/proxy_management/pulls/9"},"html":{"href":"https://github.com/urdarinda/proxy_management/pull/9"},"issue":{"href":"https://api.github.com/repos/urdarinda/proxy_management/issues/9"},"comments":{"href":"https://api.github.com/repos/urdarinda/proxy_management/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/urdarinda/proxy_management/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/urdarinda/proxy_management/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/urdarinda/proxy_management/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/urdarinda/proxy_management/statuses/a29b5d1282e5d22e6337886ca533b765f61de809"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"urdarinda"}}