{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/pulls/comments/48518013","id":48518013,"diff_hunk":"@@ -645,42 +906,46 @@ sub pars_PublishSite\n             if (@files > 0)\n             {\n                 &deployToSite($publishUrl, \"$workingFolder/wwwroot\", $userName, $userPWD, TRUE);\n-            }                \n+            } \n+\t    \n+               \n             my $returnCode = -1;\n             my $database;\n             my $password;\n             # DUMP MYSQL\n             my $retries = 0;\n-            while($returnCode != 0 && $retries < 5)\n+            while($returnCode != 0 && $retries < 1)\n             {\n                 ilog_print(1,\"\\nBacking up database on: $dbHost...\\n\");\n-                if ($DEBUG_MODE) { ilog_print(1,\"\\nmysqldump --single-transaction -h $dbHost -u $dbUser -p'$dbPass' $dbName > $workingFolder/mysqldump.sql\\n\"); }\n+{ ilog_print(1,\"mysqldump --single-transaction -h $dbHost -u $dbUser -p'dbPass' $dbName > workingFolder/mysqldump.sql\\n\\n\"); }","path":"aamt_parse2.pm","position":587,"original_position":587,"commit_id":"709c051412f9ad74662f6f57834d19a5c9cdb6f5","original_commit_id":"709c051412f9ad74662f6f57834d19a5c9cdb6f5","user":{"login":"theadriangreen","id":1900188,"avatar_url":"https://avatars.githubusercontent.com/u/1900188?v=3","gravatar_id":"","url":"https://api.github.com/users/theadriangreen","html_url":"https://github.com/theadriangreen","followers_url":"https://api.github.com/users/theadriangreen/followers","following_url":"https://api.github.com/users/theadriangreen/following{/other_user}","gists_url":"https://api.github.com/users/theadriangreen/gists{/gist_id}","starred_url":"https://api.github.com/users/theadriangreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theadriangreen/subscriptions","organizations_url":"https://api.github.com/users/theadriangreen/orgs","repos_url":"https://api.github.com/users/theadriangreen/repos","events_url":"https://api.github.com/users/theadriangreen/events{/privacy}","received_events_url":"https://api.github.com/users/theadriangreen/received_events","type":"User","site_admin":false},"body":"1. Fix indentation.\r\n2. Shouldn't this be $workingFolder/mysqldupmp.sql?","created_at":"2015-12-29T02:05:13Z","updated_at":"2015-12-29T02:05:13Z","html_url":"https://github.com/Azure/Azure-Apache-Migration-Tool/pull/1#discussion_r48518013","pull_request_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/pulls/comments/48518013"},"html":{"href":"https://github.com/Azure/Azure-Apache-Migration-Tool/pull/1#discussion_r48518013"},"pull_request":{"href":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/pulls/1","id":53818663,"html_url":"https://github.com/Azure/Azure-Apache-Migration-Tool/pull/1","diff_url":"https://github.com/Azure/Azure-Apache-Migration-Tool/pull/1.diff","patch_url":"https://github.com/Azure/Azure-Apache-Migration-Tool/pull/1.patch","issue_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/issues/1","number":1,"state":"open","locked":false,"title":"Mydev","user":{"login":"oldzhu","id":10152667,"avatar_url":"https://avatars.githubusercontent.com/u/10152667?v=3","gravatar_id":"","url":"https://api.github.com/users/oldzhu","html_url":"https://github.com/oldzhu","followers_url":"https://api.github.com/users/oldzhu/followers","following_url":"https://api.github.com/users/oldzhu/following{/other_user}","gists_url":"https://api.github.com/users/oldzhu/gists{/gist_id}","starred_url":"https://api.github.com/users/oldzhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oldzhu/subscriptions","organizations_url":"https://api.github.com/users/oldzhu/orgs","repos_url":"https://api.github.com/users/oldzhu/repos","events_url":"https://api.github.com/users/oldzhu/events{/privacy}","received_events_url":"https://api.github.com/users/oldzhu/received_events","type":"User","site_admin":false},"body":"Hi Adrian,\r\nAs we discussed, I made some changes and please review. Let me know if there is any problem or question.\r\n\r\nmodified file: \r\naamt_parse2.pm\r\n\r\nnew added files:\r\naamt_deploysite.pl,\r\naamt_listsites.pl,\r\nframework.def,\r\nreadphp.def,\r\nwritephp.def,\r\nread_dzuc_settings.php\r\nwrite_wp.php\r\nwrite_joomla.php\r\nwrite_drupal.php\r\nwrite_dzuc.php\r\n","created_at":"2015-12-16T09:46:21Z","updated_at":"2015-12-29T02:05:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0eb421138aaa239520600ba527ca2819765c1377","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/issues/1/comments","statuses_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/statuses/709c051412f9ad74662f6f57834d19a5c9cdb6f5","head":{"label":"oldzhu:mydev","ref":"mydev","sha":"709c051412f9ad74662f6f57834d19a5c9cdb6f5","user":{"login":"oldzhu","id":10152667,"avatar_url":"https://avatars.githubusercontent.com/u/10152667?v=3","gravatar_id":"","url":"https://api.github.com/users/oldzhu","html_url":"https://github.com/oldzhu","followers_url":"https://api.github.com/users/oldzhu/followers","following_url":"https://api.github.com/users/oldzhu/following{/other_user}","gists_url":"https://api.github.com/users/oldzhu/gists{/gist_id}","starred_url":"https://api.github.com/users/oldzhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oldzhu/subscriptions","organizations_url":"https://api.github.com/users/oldzhu/orgs","repos_url":"https://api.github.com/users/oldzhu/repos","events_url":"https://api.github.com/users/oldzhu/events{/privacy}","received_events_url":"https://api.github.com/users/oldzhu/received_events","type":"User","site_admin":false},"repo":{"id":47368809,"name":"Azure-Apache-Migration-Tool","full_name":"oldzhu/Azure-Apache-Migration-Tool","owner":{"login":"oldzhu","id":10152667,"avatar_url":"https://avatars.githubusercontent.com/u/10152667?v=3","gravatar_id":"","url":"https://api.github.com/users/oldzhu","html_url":"https://github.com/oldzhu","followers_url":"https://api.github.com/users/oldzhu/followers","following_url":"https://api.github.com/users/oldzhu/following{/other_user}","gists_url":"https://api.github.com/users/oldzhu/gists{/gist_id}","starred_url":"https://api.github.com/users/oldzhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oldzhu/subscriptions","organizations_url":"https://api.github.com/users/oldzhu/orgs","repos_url":"https://api.github.com/users/oldzhu/repos","events_url":"https://api.github.com/users/oldzhu/events{/privacy}","received_events_url":"https://api.github.com/users/oldzhu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oldzhu/Azure-Apache-Migration-Tool","description":"Azure Apache Migration Tool","fork":true,"url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool","forks_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/forks","keys_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/teams","hooks_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/hooks","issue_events_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/issues/events{/number}","events_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/events","assignees_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/assignees{/user}","branches_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/branches{/branch}","tags_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/tags","blobs_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/git/refs{/sha}","trees_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/statuses/{sha}","languages_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/languages","stargazers_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/stargazers","contributors_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/contributors","subscribers_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/subscribers","subscription_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/subscription","commits_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/commits{/sha}","git_commits_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/git/commits{/sha}","comments_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/comments{/number}","issue_comment_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/issues/comments{/number}","contents_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/contents/{+path}","compare_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/merges","archive_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/downloads","issues_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/issues{/number}","pulls_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/pulls{/number}","milestones_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/milestones{/number}","notifications_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/labels{/name}","releases_url":"https://api.github.com/repos/oldzhu/Azure-Apache-Migration-Tool/releases{/id}","created_at":"2015-12-04T00:02:26Z","updated_at":"2015-12-04T00:02:27Z","pushed_at":"2015-12-16T08:21:18Z","git_url":"git://github.com/oldzhu/Azure-Apache-Migration-Tool.git","ssh_url":"git@github.com:oldzhu/Azure-Apache-Migration-Tool.git","clone_url":"https://github.com/oldzhu/Azure-Apache-Migration-Tool.git","svn_url":"https://github.com/oldzhu/Azure-Apache-Migration-Tool","homepage":"https://www.movemetothecloud.net","size":792,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":true,"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":"Azure:master","ref":"master","sha":"0091c3129e7bf84b63a492cdd3c97cfb634f764a","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":38465456,"name":"Azure-Apache-Migration-Tool","full_name":"Azure/Azure-Apache-Migration-Tool","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/Azure-Apache-Migration-Tool","description":"Azure Apache Migration Tool","fork":false,"url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool","forks_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/forks","keys_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/teams","hooks_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/hooks","issue_events_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/events","assignees_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/tags","blobs_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/languages","stargazers_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/stargazers","contributors_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/contributors","subscribers_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/subscribers","subscription_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/subscription","commits_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/merges","archive_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/downloads","issues_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/labels{/name}","releases_url":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/releases{/id}","created_at":"2015-07-03T01:34:55Z","updated_at":"2015-09-15T18:11:46Z","pushed_at":"2015-12-16T09:46:22Z","git_url":"git://github.com/Azure/Azure-Apache-Migration-Tool.git","ssh_url":"git@github.com:Azure/Azure-Apache-Migration-Tool.git","clone_url":"https://github.com/Azure/Azure-Apache-Migration-Tool.git","svn_url":"https://github.com/Azure/Azure-Apache-Migration-Tool","homepage":"https://www.movemetothecloud.net","size":916,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/pulls/1"},"html":{"href":"https://github.com/Azure/Azure-Apache-Migration-Tool/pull/1"},"issue":{"href":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/issues/1"},"comments":{"href":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/Azure-Apache-Migration-Tool/statuses/709c051412f9ad74662f6f57834d19a5c9cdb6f5"}}}}