{"action":"created","comment":{"url":"https://api.github.com/repos/arduino/Arduino/pulls/comments/89320814","pull_request_review_id":9853633,"id":89320814,"diff_hunk":"@@ -33,12 +33,19 @@\n \n public class ConsoleProgressListener implements ProgressListener {\n   private String lastStatus = \"\";\n+  private double lastProgress = 0.0;\n \n   @Override\n   public void onProgress(Progress progress) {\n-    if (!lastStatus.equals(progress.getStatus())) {\n+    // Reduce verbosity when running in console\n+    String s = progress.getStatus().replaceAll(\"[0-9]\", \"\");\n+    double p = progress.getProgress();","path":"arduino-core/src/cc/arduino/contributions/ConsoleProgressListener.java","position":11,"original_position":11,"commit_id":"65da7c3fa16ffdc06b3d859c3a73b61964877c31","original_commit_id":"65da7c3fa16ffdc06b3d859c3a73b61964877c31","user":{"login":"matthijskooijman","id":194491,"avatar_url":"https://avatars.githubusercontent.com/u/194491?v=3","gravatar_id":"","url":"https://api.github.com/users/matthijskooijman","html_url":"https://github.com/matthijskooijman","followers_url":"https://api.github.com/users/matthijskooijman/followers","following_url":"https://api.github.com/users/matthijskooijman/following{/other_user}","gists_url":"https://api.github.com/users/matthijskooijman/gists{/gist_id}","starred_url":"https://api.github.com/users/matthijskooijman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthijskooijman/subscriptions","organizations_url":"https://api.github.com/users/matthijskooijman/orgs","repos_url":"https://api.github.com/users/matthijskooijman/repos","events_url":"https://api.github.com/users/matthijskooijman/events{/privacy}","received_events_url":"https://api.github.com/users/matthijskooijman/received_events","type":"User","site_admin":false},"body":"This seems like a bit of a convoluted way to reduce verbosity here, but I'm not familiar enough with this Progress stuff to offer a better suggestion.","created_at":"2016-11-23T14:01:05Z","updated_at":"2016-11-23T14:04:29Z","html_url":"https://github.com/arduino/Arduino/pull/5578#discussion_r89320814","pull_request_url":"https://api.github.com/repos/arduino/Arduino/pulls/5578","_links":{"self":{"href":"https://api.github.com/repos/arduino/Arduino/pulls/comments/89320814"},"html":{"href":"https://github.com/arduino/Arduino/pull/5578#discussion_r89320814"},"pull_request":{"href":"https://api.github.com/repos/arduino/Arduino/pulls/5578"}}},"pull_request":{"url":"https://api.github.com/repos/arduino/Arduino/pulls/5578","id":92631752,"html_url":"https://github.com/arduino/Arduino/pull/5578","diff_url":"https://github.com/arduino/Arduino/pull/5578.diff","patch_url":"https://github.com/arduino/Arduino/pull/5578.patch","issue_url":"https://api.github.com/repos/arduino/Arduino/issues/5578","number":5578,"state":"open","locked":false,"title":"Linux: Removed X11 requirement when running in command line mode","user":{"login":"cmaglie","id":423515,"avatar_url":"https://avatars.githubusercontent.com/u/423515?v=3","gravatar_id":"","url":"https://api.github.com/users/cmaglie","html_url":"https://github.com/cmaglie","followers_url":"https://api.github.com/users/cmaglie/followers","following_url":"https://api.github.com/users/cmaglie/following{/other_user}","gists_url":"https://api.github.com/users/cmaglie/gists{/gist_id}","starred_url":"https://api.github.com/users/cmaglie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmaglie/subscriptions","organizations_url":"https://api.github.com/users/cmaglie/orgs","repos_url":"https://api.github.com/users/cmaglie/repos","events_url":"https://api.github.com/users/cmaglie/events{/privacy}","received_events_url":"https://api.github.com/users/cmaglie/received_events","type":"User","site_admin":false},"body":"Fix #1981 \r\n\r\nThis PR complete the work started in #2328 by me and @bitron and use also some refactorings made by @matthijskooijman on Editor and CommandLineParser.\r\n\r\nThe graphics elements are now created only when the IDE runs in GUI mode, this allowed to significantly reduce startup time (on my system I measured 25% less, from 1.750s to 1.350s).\r\n","created_at":"2016-11-07T17:53:11Z","updated_at":"2016-11-23T14:04:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e6e2264483a101fdbb9217fc33ecbd5a42ecb91b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/arduino/Arduino/pulls/5578/commits","review_comments_url":"https://api.github.com/repos/arduino/Arduino/pulls/5578/comments","review_comment_url":"https://api.github.com/repos/arduino/Arduino/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arduino/Arduino/issues/5578/comments","statuses_url":"https://api.github.com/repos/arduino/Arduino/statuses/65da7c3fa16ffdc06b3d859c3a73b61964877c31","head":{"label":"cmaglie:x11-fix","ref":"x11-fix","sha":"65da7c3fa16ffdc06b3d859c3a73b61964877c31","user":{"login":"cmaglie","id":423515,"avatar_url":"https://avatars.githubusercontent.com/u/423515?v=3","gravatar_id":"","url":"https://api.github.com/users/cmaglie","html_url":"https://github.com/cmaglie","followers_url":"https://api.github.com/users/cmaglie/followers","following_url":"https://api.github.com/users/cmaglie/following{/other_user}","gists_url":"https://api.github.com/users/cmaglie/gists{/gist_id}","starred_url":"https://api.github.com/users/cmaglie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmaglie/subscriptions","organizations_url":"https://api.github.com/users/cmaglie/orgs","repos_url":"https://api.github.com/users/cmaglie/repos","events_url":"https://api.github.com/users/cmaglie/events{/privacy}","received_events_url":"https://api.github.com/users/cmaglie/received_events","type":"User","site_admin":false},"repo":{"id":954404,"name":"Arduino","full_name":"cmaglie/Arduino","owner":{"login":"cmaglie","id":423515,"avatar_url":"https://avatars.githubusercontent.com/u/423515?v=3","gravatar_id":"","url":"https://api.github.com/users/cmaglie","html_url":"https://github.com/cmaglie","followers_url":"https://api.github.com/users/cmaglie/followers","following_url":"https://api.github.com/users/cmaglie/following{/other_user}","gists_url":"https://api.github.com/users/cmaglie/gists{/gist_id}","starred_url":"https://api.github.com/users/cmaglie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmaglie/subscriptions","organizations_url":"https://api.github.com/users/cmaglie/orgs","repos_url":"https://api.github.com/users/cmaglie/repos","events_url":"https://api.github.com/users/cmaglie/events{/privacy}","received_events_url":"https://api.github.com/users/cmaglie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cmaglie/Arduino","description":"open-source electronics prototyping platform","fork":true,"url":"https://api.github.com/repos/cmaglie/Arduino","forks_url":"https://api.github.com/repos/cmaglie/Arduino/forks","keys_url":"https://api.github.com/repos/cmaglie/Arduino/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmaglie/Arduino/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmaglie/Arduino/teams","hooks_url":"https://api.github.com/repos/cmaglie/Arduino/hooks","issue_events_url":"https://api.github.com/repos/cmaglie/Arduino/issues/events{/number}","events_url":"https://api.github.com/repos/cmaglie/Arduino/events","assignees_url":"https://api.github.com/repos/cmaglie/Arduino/assignees{/user}","branches_url":"https://api.github.com/repos/cmaglie/Arduino/branches{/branch}","tags_url":"https://api.github.com/repos/cmaglie/Arduino/tags","blobs_url":"https://api.github.com/repos/cmaglie/Arduino/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmaglie/Arduino/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmaglie/Arduino/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmaglie/Arduino/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmaglie/Arduino/statuses/{sha}","languages_url":"https://api.github.com/repos/cmaglie/Arduino/languages","stargazers_url":"https://api.github.com/repos/cmaglie/Arduino/stargazers","contributors_url":"https://api.github.com/repos/cmaglie/Arduino/contributors","subscribers_url":"https://api.github.com/repos/cmaglie/Arduino/subscribers","subscription_url":"https://api.github.com/repos/cmaglie/Arduino/subscription","commits_url":"https://api.github.com/repos/cmaglie/Arduino/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmaglie/Arduino/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmaglie/Arduino/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmaglie/Arduino/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmaglie/Arduino/contents/{+path}","compare_url":"https://api.github.com/repos/cmaglie/Arduino/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmaglie/Arduino/merges","archive_url":"https://api.github.com/repos/cmaglie/Arduino/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmaglie/Arduino/downloads","issues_url":"https://api.github.com/repos/cmaglie/Arduino/issues{/number}","pulls_url":"https://api.github.com/repos/cmaglie/Arduino/pulls{/number}","milestones_url":"https://api.github.com/repos/cmaglie/Arduino/milestones{/number}","notifications_url":"https://api.github.com/repos/cmaglie/Arduino/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmaglie/Arduino/labels{/name}","releases_url":"https://api.github.com/repos/cmaglie/Arduino/releases{/id}","deployments_url":"https://api.github.com/repos/cmaglie/Arduino/deployments","created_at":"2010-10-01T14:44:01Z","updated_at":"2016-09-08T23:05:29Z","pushed_at":"2016-11-21T16:33:22Z","git_url":"git://github.com/cmaglie/Arduino.git","ssh_url":"git@github.com:cmaglie/Arduino.git","clone_url":"https://github.com/cmaglie/Arduino.git","svn_url":"https://github.com/cmaglie/Arduino","homepage":"http://www.arduino.cc/","size":1275404,"stargazers_count":13,"watchers_count":13,"language":"HTML","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":13,"default_branch":"master"}},"base":{"label":"arduino:master","ref":"master","sha":"650840381f20166661a898e39818cee0afd41c47","user":{"login":"arduino","id":379109,"avatar_url":"https://avatars.githubusercontent.com/u/379109?v=3","gravatar_id":"","url":"https://api.github.com/users/arduino","html_url":"https://github.com/arduino","followers_url":"https://api.github.com/users/arduino/followers","following_url":"https://api.github.com/users/arduino/following{/other_user}","gists_url":"https://api.github.com/users/arduino/gists{/gist_id}","starred_url":"https://api.github.com/users/arduino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arduino/subscriptions","organizations_url":"https://api.github.com/users/arduino/orgs","repos_url":"https://api.github.com/users/arduino/repos","events_url":"https://api.github.com/users/arduino/events{/privacy}","received_events_url":"https://api.github.com/users/arduino/received_events","type":"Organization","site_admin":false},"repo":{"id":919161,"name":"Arduino","full_name":"arduino/Arduino","owner":{"login":"arduino","id":379109,"avatar_url":"https://avatars.githubusercontent.com/u/379109?v=3","gravatar_id":"","url":"https://api.github.com/users/arduino","html_url":"https://github.com/arduino","followers_url":"https://api.github.com/users/arduino/followers","following_url":"https://api.github.com/users/arduino/following{/other_user}","gists_url":"https://api.github.com/users/arduino/gists{/gist_id}","starred_url":"https://api.github.com/users/arduino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arduino/subscriptions","organizations_url":"https://api.github.com/users/arduino/orgs","repos_url":"https://api.github.com/users/arduino/repos","events_url":"https://api.github.com/users/arduino/events{/privacy}","received_events_url":"https://api.github.com/users/arduino/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/arduino/Arduino","description":"open-source electronics prototyping platform","fork":false,"url":"https://api.github.com/repos/arduino/Arduino","forks_url":"https://api.github.com/repos/arduino/Arduino/forks","keys_url":"https://api.github.com/repos/arduino/Arduino/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arduino/Arduino/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arduino/Arduino/teams","hooks_url":"https://api.github.com/repos/arduino/Arduino/hooks","issue_events_url":"https://api.github.com/repos/arduino/Arduino/issues/events{/number}","events_url":"https://api.github.com/repos/arduino/Arduino/events","assignees_url":"https://api.github.com/repos/arduino/Arduino/assignees{/user}","branches_url":"https://api.github.com/repos/arduino/Arduino/branches{/branch}","tags_url":"https://api.github.com/repos/arduino/Arduino/tags","blobs_url":"https://api.github.com/repos/arduino/Arduino/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arduino/Arduino/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arduino/Arduino/git/refs{/sha}","trees_url":"https://api.github.com/repos/arduino/Arduino/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arduino/Arduino/statuses/{sha}","languages_url":"https://api.github.com/repos/arduino/Arduino/languages","stargazers_url":"https://api.github.com/repos/arduino/Arduino/stargazers","contributors_url":"https://api.github.com/repos/arduino/Arduino/contributors","subscribers_url":"https://api.github.com/repos/arduino/Arduino/subscribers","subscription_url":"https://api.github.com/repos/arduino/Arduino/subscription","commits_url":"https://api.github.com/repos/arduino/Arduino/commits{/sha}","git_commits_url":"https://api.github.com/repos/arduino/Arduino/git/commits{/sha}","comments_url":"https://api.github.com/repos/arduino/Arduino/comments{/number}","issue_comment_url":"https://api.github.com/repos/arduino/Arduino/issues/comments{/number}","contents_url":"https://api.github.com/repos/arduino/Arduino/contents/{+path}","compare_url":"https://api.github.com/repos/arduino/Arduino/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arduino/Arduino/merges","archive_url":"https://api.github.com/repos/arduino/Arduino/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arduino/Arduino/downloads","issues_url":"https://api.github.com/repos/arduino/Arduino/issues{/number}","pulls_url":"https://api.github.com/repos/arduino/Arduino/pulls{/number}","milestones_url":"https://api.github.com/repos/arduino/Arduino/milestones{/number}","notifications_url":"https://api.github.com/repos/arduino/Arduino/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arduino/Arduino/labels{/name}","releases_url":"https://api.github.com/repos/arduino/Arduino/releases{/id}","deployments_url":"https://api.github.com/repos/arduino/Arduino/deployments","created_at":"2010-09-17T19:10:36Z","updated_at":"2016-11-23T10:55:13Z","pushed_at":"2016-11-23T13:59:26Z","git_url":"git://github.com/arduino/Arduino.git","ssh_url":"git@github.com:arduino/Arduino.git","clone_url":"https://github.com/arduino/Arduino.git","svn_url":"https://github.com/arduino/Arduino","homepage":"http://www.arduino.cc/","size":2843335,"stargazers_count":6098,"watchers_count":6098,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4941,"mirror_url":null,"open_issues_count":813,"forks":4941,"open_issues":813,"watchers":6098,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arduino/Arduino/pulls/5578"},"html":{"href":"https://github.com/arduino/Arduino/pull/5578"},"issue":{"href":"https://api.github.com/repos/arduino/Arduino/issues/5578"},"comments":{"href":"https://api.github.com/repos/arduino/Arduino/issues/5578/comments"},"review_comments":{"href":"https://api.github.com/repos/arduino/Arduino/pulls/5578/comments"},"review_comment":{"href":"https://api.github.com/repos/arduino/Arduino/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arduino/Arduino/pulls/5578/commits"},"statuses":{"href":"https://api.github.com/repos/arduino/Arduino/statuses/65da7c3fa16ffdc06b3d859c3a73b61964877c31"}}}}
{"actor":{"display_login":"matthijskooijman"}}