{"action":"created","issue":{"url":"https://api.github.com/repos/ros-industrial/industrial_ci/issues/42","repository_url":"https://api.github.com/repos/ros-industrial/industrial_ci","labels_url":"https://api.github.com/repos/ros-industrial/industrial_ci/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/ros-industrial/industrial_ci/issues/42/comments","events_url":"https://api.github.com/repos/ros-industrial/industrial_ci/issues/42/events","html_url":"https://github.com/ros-industrial/industrial_ci/pull/42","id":153730031,"number":42,"title":"Update ros.key acquision.","user":{"login":"130s","id":1840401,"avatar_url":"https://avatars.githubusercontent.com/u/1840401?v=3","gravatar_id":"","url":"https://api.github.com/users/130s","html_url":"https://github.com/130s","followers_url":"https://api.github.com/users/130s/followers","following_url":"https://api.github.com/users/130s/following{/other_user}","gists_url":"https://api.github.com/users/130s/gists{/gist_id}","starred_url":"https://api.github.com/users/130s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/130s/subscriptions","organizations_url":"https://api.github.com/users/130s/orgs","repos_url":"https://api.github.com/users/130s/repos","events_url":"https://api.github.com/users/130s/events{/privacy}","received_events_url":"https://api.github.com/users/130s/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-09T08:50:55Z","updated_at":"2016-05-10T00:04:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ros-industrial/industrial_ci/pulls/42","html_url":"https://github.com/ros-industrial/industrial_ci/pull/42","diff_url":"https://github.com/ros-industrial/industrial_ci/pull/42.diff","patch_url":"https://github.com/ros-industrial/industrial_ci/pull/42.patch"},"body":"[How to acquire apt key has changed since Indigo](http://wiki.ros.org/indigo/Installation/Ubuntu#indigo.2BAC8-Installation.2BAC8-Sources.Set_up_your_keys). \r\n\r\nNot sure how relevant this is since the older method has been working so far for Indigo, but Travis today fails (e.g. [this](https://travis-ci.org/130s/moveit_core/jobs/128791932)) at key acquisition. So it's better to update to the latest method."},"comment":{"url":"https://api.github.com/repos/ros-industrial/industrial_ci/issues/comments/218025085","html_url":"https://github.com/ros-industrial/industrial_ci/pull/42#issuecomment-218025085","issue_url":"https://api.github.com/repos/ros-industrial/industrial_ci/issues/42","id":218025085,"user":{"login":"130s","id":1840401,"avatar_url":"https://avatars.githubusercontent.com/u/1840401?v=3","gravatar_id":"","url":"https://api.github.com/users/130s","html_url":"https://github.com/130s","followers_url":"https://api.github.com/users/130s/followers","following_url":"https://api.github.com/users/130s/following{/other_user}","gists_url":"https://api.github.com/users/130s/gists{/gist_id}","starred_url":"https://api.github.com/users/130s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/130s/subscriptions","organizations_url":"https://api.github.com/users/130s/orgs","repos_url":"https://api.github.com/users/130s/repos","events_url":"https://api.github.com/users/130s/events{/privacy}","received_events_url":"https://api.github.com/users/130s/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T00:04:59Z","updated_at":"2016-05-10T00:04:59Z","body":"Great to have a ROS-A guru!\r\n\r\n> I may be a bit conservative, but if we want to move away from the 'old method', perhaps we should use wget https://raw.githubusercontent.com/ros/rosdistro/master/ros.key, as @tfoote wrote in the answer on RA. That is the same key as on the key server, but served over https instead of http, and should almost always work.\r\n> :\r\n> Perhaps a bit of checking would be nice, something like (pseudo):\r\n\r\nSounds reasonable. Based on your comment, I made a change that does:\r\n- Use `ha.pool.sks-keyservers.net` as a primary key source (as recommended in [ROS Indigo installation page](http://wiki.ros.org/indigo/Installation/Ubuntu#indigo.2BAC8-Installation.2BAC8-Sources.Set_up_your_keys))\r\n- If fail, fall back on `https://raw.githubusercontent.com/ros/rosdistro/master/ros.key`\r\n- If neither works then exit the entire script (since there's no way that ROS will be installed (other than building the entire ROS from source, which is out of scope here)).\r\n\r\nCould I ask you to review @gavanderhoorn ?"}}