{"action":"created","comment":{"url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/pulls/comments/205417089","pull_request_review_id":140680142,"id":205417089,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTQxNzA4OQ==","diff_hunk":"@@ -16,21 +16,39 @@ class VersionChecker\n       #\n       attr_accessor :status\n \n+      #\n+      # boolean attribute to disbale version checker\n+      #\n+      attr_accessor :check_enabled\n+\n       def initialize\n         @status = nil\n+        @check_enabled = true\n+\n+        check = ENV['VAGRANT_OPENSTACK_VERSION_CKECK']\n+        @check_enabled = false if check && check.upcase == 'DISABLED'\n       end\n \n       #\n       # Check the latest version from rubygem and set the status\n       #\n       def check\n+        return :latest unless @check_enabled\n         return @status unless @status.nil?\n-        latest  = Gem.latest_spec_for('vagrant-openstack-provider').version.version\n+\n+        begin\n+          latest = Gem.latest_spec_for('vagrant-openstack-provider').version.version\n+        rescue\n+          # If for any reason the version of the latest pulished","path":"source/lib/vagrant-openstack-provider/version_checker.rb","position":28,"original_position":28,"commit_id":"dc7a730e52d1a24c876ebde1a7537908608b6442","original_commit_id":"dc7a730e52d1a24c876ebde1a7537908608b6442","user":{"login":"ekohl","id":155810,"node_id":"MDQ6VXNlcjE1NTgxMA==","avatar_url":"https://avatars0.githubusercontent.com/u/155810?v=4","gravatar_id":"","url":"https://api.github.com/users/ekohl","html_url":"https://github.com/ekohl","followers_url":"https://api.github.com/users/ekohl/followers","following_url":"https://api.github.com/users/ekohl/following{/other_user}","gists_url":"https://api.github.com/users/ekohl/gists{/gist_id}","starred_url":"https://api.github.com/users/ekohl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekohl/subscriptions","organizations_url":"https://api.github.com/users/ekohl/orgs","repos_url":"https://api.github.com/users/ekohl/repos","events_url":"https://api.github.com/users/ekohl/events{/privacy}","received_events_url":"https://api.github.com/users/ekohl/received_events","type":"User","site_admin":false},"body":"Perhaps you want a debug message that it failed.","created_at":"2018-07-26T11:10:06Z","updated_at":"2018-07-26T11:10:29Z","html_url":"https://github.com/ggiamarchi/vagrant-openstack-provider/pull/365#discussion_r205417089","pull_request_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/pulls/365","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/pulls/comments/205417089"},"html":{"href":"https://github.com/ggiamarchi/vagrant-openstack-provider/pull/365#discussion_r205417089"},"pull_request":{"href":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/pulls/365"}}},"pull_request":{"url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/pulls/365","id":203586828,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzNTg2ODI4","html_url":"https://github.com/ggiamarchi/vagrant-openstack-provider/pull/365","diff_url":"https://github.com/ggiamarchi/vagrant-openstack-provider/pull/365.diff","patch_url":"https://github.com/ggiamarchi/vagrant-openstack-provider/pull/365.patch","issue_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/issues/365","number":365,"state":"closed","locked":false,"title":"Version checker improvements","user":{"login":"ggiamarchi","id":1434745,"node_id":"MDQ6VXNlcjE0MzQ3NDU=","avatar_url":"https://avatars2.githubusercontent.com/u/1434745?v=4","gravatar_id":"","url":"https://api.github.com/users/ggiamarchi","html_url":"https://github.com/ggiamarchi","followers_url":"https://api.github.com/users/ggiamarchi/followers","following_url":"https://api.github.com/users/ggiamarchi/following{/other_user}","gists_url":"https://api.github.com/users/ggiamarchi/gists{/gist_id}","starred_url":"https://api.github.com/users/ggiamarchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggiamarchi/subscriptions","organizations_url":"https://api.github.com/users/ggiamarchi/orgs","repos_url":"https://api.github.com/users/ggiamarchi/repos","events_url":"https://api.github.com/users/ggiamarchi/events{/privacy}","received_events_url":"https://api.github.com/users/ggiamarchi/received_events","type":"User","site_admin":false},"body":"Version checker improvements\r\n\r\n* Version checker can now be disabled\r\n* Version checker does not print anymore on stdout. It prints on stderr instead\r\n* In case of error when latest version number is fetched it does not\r\n  trigger an error anymore. It's now best effort\r\n\r\nTo disable version check\r\n\r\n```bash\r\n$ VAGRANT_OPENSTACK_VERSION_CKECK=DISABLED vagrant ... \r\n```\r\n\r\nsee #358 ","created_at":"2018-07-24T16:33:32Z","updated_at":"2018-07-26T11:10:29Z","closed_at":"2018-07-26T11:09:11Z","merged_at":"2018-07-26T11:09:11Z","merge_commit_sha":"0d27c6143783392812ec82d6c3568b5f0f662a82","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/pulls/365/commits","review_comments_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/pulls/365/comments","review_comment_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/issues/365/comments","statuses_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/statuses/dc7a730e52d1a24c876ebde1a7537908608b6442","head":{"label":"ggiamarchi:version-checker-update","ref":"version-checker-update","sha":"dc7a730e52d1a24c876ebde1a7537908608b6442","user":{"login":"ggiamarchi","id":1434745,"node_id":"MDQ6VXNlcjE0MzQ3NDU=","avatar_url":"https://avatars2.githubusercontent.com/u/1434745?v=4","gravatar_id":"","url":"https://api.github.com/users/ggiamarchi","html_url":"https://github.com/ggiamarchi","followers_url":"https://api.github.com/users/ggiamarchi/followers","following_url":"https://api.github.com/users/ggiamarchi/following{/other_user}","gists_url":"https://api.github.com/users/ggiamarchi/gists{/gist_id}","starred_url":"https://api.github.com/users/ggiamarchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggiamarchi/subscriptions","organizations_url":"https://api.github.com/users/ggiamarchi/orgs","repos_url":"https://api.github.com/users/ggiamarchi/repos","events_url":"https://api.github.com/users/ggiamarchi/events{/privacy}","received_events_url":"https://api.github.com/users/ggiamarchi/received_events","type":"User","site_admin":false},"repo":{"id":17218183,"node_id":"MDEwOlJlcG9zaXRvcnkxNzIxODE4Mw==","name":"vagrant-openstack-provider","full_name":"ggiamarchi/vagrant-openstack-provider","owner":{"login":"ggiamarchi","id":1434745,"node_id":"MDQ6VXNlcjE0MzQ3NDU=","avatar_url":"https://avatars2.githubusercontent.com/u/1434745?v=4","gravatar_id":"","url":"https://api.github.com/users/ggiamarchi","html_url":"https://github.com/ggiamarchi","followers_url":"https://api.github.com/users/ggiamarchi/followers","following_url":"https://api.github.com/users/ggiamarchi/following{/other_user}","gists_url":"https://api.github.com/users/ggiamarchi/gists{/gist_id}","starred_url":"https://api.github.com/users/ggiamarchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggiamarchi/subscriptions","organizations_url":"https://api.github.com/users/ggiamarchi/orgs","repos_url":"https://api.github.com/users/ggiamarchi/repos","events_url":"https://api.github.com/users/ggiamarchi/events{/privacy}","received_events_url":"https://api.github.com/users/ggiamarchi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ggiamarchi/vagrant-openstack-provider","description":"Use Vagrant to manage OpenStack Cloud instances.","fork":false,"url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider","forks_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/forks","keys_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/teams","hooks_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/hooks","issue_events_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/issues/events{/number}","events_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/events","assignees_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/assignees{/user}","branches_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/branches{/branch}","tags_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/tags","blobs_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/git/refs{/sha}","trees_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/statuses/{sha}","languages_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/languages","stargazers_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/stargazers","contributors_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/contributors","subscribers_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/subscribers","subscription_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/subscription","commits_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/commits{/sha}","git_commits_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/git/commits{/sha}","comments_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/comments{/number}","issue_comment_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/issues/comments{/number}","contents_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/contents/{+path}","compare_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/merges","archive_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/downloads","issues_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/issues{/number}","pulls_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/pulls{/number}","milestones_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/milestones{/number}","notifications_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/labels{/name}","releases_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/releases{/id}","deployments_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/deployments","created_at":"2014-02-26T17:05:30Z","updated_at":"2018-07-26T11:09:13Z","pushed_at":"2018-07-26T11:09:13Z","git_url":"git://github.com/ggiamarchi/vagrant-openstack-provider.git","ssh_url":"git@github.com:ggiamarchi/vagrant-openstack-provider.git","clone_url":"https://github.com/ggiamarchi/vagrant-openstack-provider.git","svn_url":"https://github.com/ggiamarchi/vagrant-openstack-provider","homepage":"","size":1089,"stargazers_count":202,"watchers_count":202,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":93,"mirror_url":null,"archived":false,"open_issues_count":68,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":93,"open_issues":68,"watchers":202,"default_branch":"master"}},"base":{"label":"ggiamarchi:master","ref":"master","sha":"e0124143b912fd4381515301a92e4141cf5222dc","user":{"login":"ggiamarchi","id":1434745,"node_id":"MDQ6VXNlcjE0MzQ3NDU=","avatar_url":"https://avatars2.githubusercontent.com/u/1434745?v=4","gravatar_id":"","url":"https://api.github.com/users/ggiamarchi","html_url":"https://github.com/ggiamarchi","followers_url":"https://api.github.com/users/ggiamarchi/followers","following_url":"https://api.github.com/users/ggiamarchi/following{/other_user}","gists_url":"https://api.github.com/users/ggiamarchi/gists{/gist_id}","starred_url":"https://api.github.com/users/ggiamarchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggiamarchi/subscriptions","organizations_url":"https://api.github.com/users/ggiamarchi/orgs","repos_url":"https://api.github.com/users/ggiamarchi/repos","events_url":"https://api.github.com/users/ggiamarchi/events{/privacy}","received_events_url":"https://api.github.com/users/ggiamarchi/received_events","type":"User","site_admin":false},"repo":{"id":17218183,"node_id":"MDEwOlJlcG9zaXRvcnkxNzIxODE4Mw==","name":"vagrant-openstack-provider","full_name":"ggiamarchi/vagrant-openstack-provider","owner":{"login":"ggiamarchi","id":1434745,"node_id":"MDQ6VXNlcjE0MzQ3NDU=","avatar_url":"https://avatars2.githubusercontent.com/u/1434745?v=4","gravatar_id":"","url":"https://api.github.com/users/ggiamarchi","html_url":"https://github.com/ggiamarchi","followers_url":"https://api.github.com/users/ggiamarchi/followers","following_url":"https://api.github.com/users/ggiamarchi/following{/other_user}","gists_url":"https://api.github.com/users/ggiamarchi/gists{/gist_id}","starred_url":"https://api.github.com/users/ggiamarchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggiamarchi/subscriptions","organizations_url":"https://api.github.com/users/ggiamarchi/orgs","repos_url":"https://api.github.com/users/ggiamarchi/repos","events_url":"https://api.github.com/users/ggiamarchi/events{/privacy}","received_events_url":"https://api.github.com/users/ggiamarchi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ggiamarchi/vagrant-openstack-provider","description":"Use Vagrant to manage OpenStack Cloud instances.","fork":false,"url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider","forks_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/forks","keys_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/teams","hooks_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/hooks","issue_events_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/issues/events{/number}","events_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/events","assignees_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/assignees{/user}","branches_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/branches{/branch}","tags_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/tags","blobs_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/git/refs{/sha}","trees_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/statuses/{sha}","languages_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/languages","stargazers_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/stargazers","contributors_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/contributors","subscribers_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/subscribers","subscription_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/subscription","commits_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/commits{/sha}","git_commits_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/git/commits{/sha}","comments_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/comments{/number}","issue_comment_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/issues/comments{/number}","contents_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/contents/{+path}","compare_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/merges","archive_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/downloads","issues_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/issues{/number}","pulls_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/pulls{/number}","milestones_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/milestones{/number}","notifications_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/labels{/name}","releases_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/releases{/id}","deployments_url":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/deployments","created_at":"2014-02-26T17:05:30Z","updated_at":"2018-07-26T11:09:13Z","pushed_at":"2018-07-26T11:09:13Z","git_url":"git://github.com/ggiamarchi/vagrant-openstack-provider.git","ssh_url":"git@github.com:ggiamarchi/vagrant-openstack-provider.git","clone_url":"https://github.com/ggiamarchi/vagrant-openstack-provider.git","svn_url":"https://github.com/ggiamarchi/vagrant-openstack-provider","homepage":"","size":1089,"stargazers_count":202,"watchers_count":202,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":93,"mirror_url":null,"archived":false,"open_issues_count":68,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":93,"open_issues":68,"watchers":202,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/pulls/365"},"html":{"href":"https://github.com/ggiamarchi/vagrant-openstack-provider/pull/365"},"issue":{"href":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/issues/365"},"comments":{"href":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/issues/365/comments"},"review_comments":{"href":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/pulls/365/comments"},"review_comment":{"href":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/pulls/365/commits"},"statuses":{"href":"https://api.github.com/repos/ggiamarchi/vagrant-openstack-provider/statuses/dc7a730e52d1a24c876ebde1a7537908608b6442"}},"author_association":"OWNER"}}
{"actor":{"display_login":"ekohl"}}