{"action":"created","comment":{"url":"https://api.github.com/repos/ros-infrastructure/rosdep/pulls/comments/23425441","id":23425441,"diff_hunk":"@@ -54,6 +55,13 @@ def register_debian(context):\n     context.set_default_os_installer_key(OS_DEBIAN, APT_INSTALLER)\n     context.set_os_version_type(OS_DEBIAN, OsDetect.get_codename)\n     \n+def register_linaro(context):\n+    # Linaro is an alias for Ubuntu. If linaro is detected and it's not set as an override force ubuntu.\n+    (os_name, os_version) = context.get_os_name_and_version()\n+    if os_name == OS_LINARO and not context.os_override:\n+        print(\"rosdep detected OS: [%s] aliasing it to: [%s]\" % (OS_LINARO, OS_UBUNTU))","path":"src/rosdep2/platforms/debian.py","position":25,"original_position":25,"commit_id":"db9f64331a83c4593a8e8ab01a16ffab8e13c5fa","original_commit_id":"db9f64331a83c4593a8e8ab01a16ffab8e13c5fa","user":{"login":"wjwwood","id":100427,"avatar_url":"https://avatars.githubusercontent.com/u/100427?v=3","gravatar_id":"","url":"https://api.github.com/users/wjwwood","html_url":"https://github.com/wjwwood","followers_url":"https://api.github.com/users/wjwwood/followers","following_url":"https://api.github.com/users/wjwwood/following{/other_user}","gists_url":"https://api.github.com/users/wjwwood/gists{/gist_id}","starred_url":"https://api.github.com/users/wjwwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjwwood/subscriptions","organizations_url":"https://api.github.com/users/wjwwood/orgs","repos_url":"https://api.github.com/users/wjwwood/repos","events_url":"https://api.github.com/users/wjwwood/events{/privacy}","received_events_url":"https://api.github.com/users/wjwwood/received_events","type":"User","site_admin":false},"body":"If it always prints, I would at least put it to stderr. I agree that it should be visible though.","created_at":"2015-01-23T01:11:39Z","updated_at":"2015-01-23T01:11:39Z","html_url":"https://github.com/ros-infrastructure/rosdep/pull/370#discussion_r23425441","pull_request_url":"https://api.github.com/repos/ros-infrastructure/rosdep/pulls/370","_links":{"self":{"href":"https://api.github.com/repos/ros-infrastructure/rosdep/pulls/comments/23425441"},"html":{"href":"https://github.com/ros-infrastructure/rosdep/pull/370#discussion_r23425441"},"pull_request":{"href":"https://api.github.com/repos/ros-infrastructure/rosdep/pulls/370"}}},"pull_request":{"url":"https://api.github.com/repos/ros-infrastructure/rosdep/pulls/370","id":27890923,"html_url":"https://github.com/ros-infrastructure/rosdep/pull/370","diff_url":"https://github.com/ros-infrastructure/rosdep/pull/370.diff","patch_url":"https://github.com/ros-infrastructure/rosdep/pull/370.patch","issue_url":"https://api.github.com/repos/ros-infrastructure/rosdep/issues/370","number":370,"state":"open","locked":false,"title":"Linaro support","user":{"login":"tfoote","id":447804,"avatar_url":"https://avatars.githubusercontent.com/u/447804?v=3","gravatar_id":"","url":"https://api.github.com/users/tfoote","html_url":"https://github.com/tfoote","followers_url":"https://api.github.com/users/tfoote/followers","following_url":"https://api.github.com/users/tfoote/following{/other_user}","gists_url":"https://api.github.com/users/tfoote/gists{/gist_id}","starred_url":"https://api.github.com/users/tfoote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfoote/subscriptions","organizations_url":"https://api.github.com/users/tfoote/orgs","repos_url":"https://api.github.com/users/tfoote/repos","events_url":"https://api.github.com/users/tfoote/events{/privacy}","received_events_url":"https://api.github.com/users/tfoote/received_events","type":"User","site_admin":false},"body":"Add an alias for linaro to ubuntu. It will only trigger if the OS is not overridden. (This does not resolve: #10 it only works with --os overrides)\r\n\r\nThis looks like a potential solution for #272 and similar issues #366 \r\n\r\n","created_at":"2015-01-23T00:12:46Z","updated_at":"2015-01-23T01:11:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"213c45e3ce097c05eaa566a7b4dca7edc5590ee7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ros-infrastructure/rosdep/pulls/370/commits","review_comments_url":"https://api.github.com/repos/ros-infrastructure/rosdep/pulls/370/comments","review_comment_url":"https://api.github.com/repos/ros-infrastructure/rosdep/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ros-infrastructure/rosdep/issues/370/comments","statuses_url":"https://api.github.com/repos/ros-infrastructure/rosdep/statuses/db9f64331a83c4593a8e8ab01a16ffab8e13c5fa","head":{"label":"ros-infrastructure:linaro_support","ref":"linaro_support","sha":"db9f64331a83c4593a8e8ab01a16ffab8e13c5fa","user":{"login":"ros-infrastructure","id":2328632,"avatar_url":"https://avatars.githubusercontent.com/u/2328632?v=3","gravatar_id":"","url":"https://api.github.com/users/ros-infrastructure","html_url":"https://github.com/ros-infrastructure","followers_url":"https://api.github.com/users/ros-infrastructure/followers","following_url":"https://api.github.com/users/ros-infrastructure/following{/other_user}","gists_url":"https://api.github.com/users/ros-infrastructure/gists{/gist_id}","starred_url":"https://api.github.com/users/ros-infrastructure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ros-infrastructure/subscriptions","organizations_url":"https://api.github.com/users/ros-infrastructure/orgs","repos_url":"https://api.github.com/users/ros-infrastructure/repos","events_url":"https://api.github.com/users/ros-infrastructure/events{/privacy}","received_events_url":"https://api.github.com/users/ros-infrastructure/received_events","type":"Organization","site_admin":false},"repo":{"id":3934530,"name":"rosdep","full_name":"ros-infrastructure/rosdep","owner":{"login":"ros-infrastructure","id":2328632,"avatar_url":"https://avatars.githubusercontent.com/u/2328632?v=3","gravatar_id":"","url":"https://api.github.com/users/ros-infrastructure","html_url":"https://github.com/ros-infrastructure","followers_url":"https://api.github.com/users/ros-infrastructure/followers","following_url":"https://api.github.com/users/ros-infrastructure/following{/other_user}","gists_url":"https://api.github.com/users/ros-infrastructure/gists{/gist_id}","starred_url":"https://api.github.com/users/ros-infrastructure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ros-infrastructure/subscriptions","organizations_url":"https://api.github.com/users/ros-infrastructure/orgs","repos_url":"https://api.github.com/users/ros-infrastructure/repos","events_url":"https://api.github.com/users/ros-infrastructure/events{/privacy}","received_events_url":"https://api.github.com/users/ros-infrastructure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ros-infrastructure/rosdep","description":"rosdep multi-package manager system dependency tool","fork":false,"url":"https://api.github.com/repos/ros-infrastructure/rosdep","forks_url":"https://api.github.com/repos/ros-infrastructure/rosdep/forks","keys_url":"https://api.github.com/repos/ros-infrastructure/rosdep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ros-infrastructure/rosdep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ros-infrastructure/rosdep/teams","hooks_url":"https://api.github.com/repos/ros-infrastructure/rosdep/hooks","issue_events_url":"https://api.github.com/repos/ros-infrastructure/rosdep/issues/events{/number}","events_url":"https://api.github.com/repos/ros-infrastructure/rosdep/events","assignees_url":"https://api.github.com/repos/ros-infrastructure/rosdep/assignees{/user}","branches_url":"https://api.github.com/repos/ros-infrastructure/rosdep/branches{/branch}","tags_url":"https://api.github.com/repos/ros-infrastructure/rosdep/tags","blobs_url":"https://api.github.com/repos/ros-infrastructure/rosdep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ros-infrastructure/rosdep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ros-infrastructure/rosdep/git/refs{/sha}","trees_url":"https://api.github.com/repos/ros-infrastructure/rosdep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ros-infrastructure/rosdep/statuses/{sha}","languages_url":"https://api.github.com/repos/ros-infrastructure/rosdep/languages","stargazers_url":"https://api.github.com/repos/ros-infrastructure/rosdep/stargazers","contributors_url":"https://api.github.com/repos/ros-infrastructure/rosdep/contributors","subscribers_url":"https://api.github.com/repos/ros-infrastructure/rosdep/subscribers","subscription_url":"https://api.github.com/repos/ros-infrastructure/rosdep/subscription","commits_url":"https://api.github.com/repos/ros-infrastructure/rosdep/commits{/sha}","git_commits_url":"https://api.github.com/repos/ros-infrastructure/rosdep/git/commits{/sha}","comments_url":"https://api.github.com/repos/ros-infrastructure/rosdep/comments{/number}","issue_comment_url":"https://api.github.com/repos/ros-infrastructure/rosdep/issues/comments/{number}","contents_url":"https://api.github.com/repos/ros-infrastructure/rosdep/contents/{+path}","compare_url":"https://api.github.com/repos/ros-infrastructure/rosdep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ros-infrastructure/rosdep/merges","archive_url":"https://api.github.com/repos/ros-infrastructure/rosdep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ros-infrastructure/rosdep/downloads","issues_url":"https://api.github.com/repos/ros-infrastructure/rosdep/issues{/number}","pulls_url":"https://api.github.com/repos/ros-infrastructure/rosdep/pulls{/number}","milestones_url":"https://api.github.com/repos/ros-infrastructure/rosdep/milestones{/number}","notifications_url":"https://api.github.com/repos/ros-infrastructure/rosdep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ros-infrastructure/rosdep/labels{/name}","releases_url":"https://api.github.com/repos/ros-infrastructure/rosdep/releases{/id}","created_at":"2012-04-05T00:00:53Z","updated_at":"2014-12-08T18:51:15Z","pushed_at":"2015-01-23T00:23:46Z","git_url":"git://github.com/ros-infrastructure/rosdep.git","ssh_url":"git@github.com:ros-infrastructure/rosdep.git","clone_url":"https://github.com/ros-infrastructure/rosdep.git","svn_url":"https://github.com/ros-infrastructure/rosdep","homepage":"http://ros.org/wiki/rosdep","size":2375,"stargazers_count":17,"watchers_count":17,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":53,"forks":31,"open_issues":53,"watchers":17,"default_branch":"master"}},"base":{"label":"ros-infrastructure:master","ref":"master","sha":"13a9b2095a3c68b18d94fd6db58bbac48a336361","user":{"login":"ros-infrastructure","id":2328632,"avatar_url":"https://avatars.githubusercontent.com/u/2328632?v=3","gravatar_id":"","url":"https://api.github.com/users/ros-infrastructure","html_url":"https://github.com/ros-infrastructure","followers_url":"https://api.github.com/users/ros-infrastructure/followers","following_url":"https://api.github.com/users/ros-infrastructure/following{/other_user}","gists_url":"https://api.github.com/users/ros-infrastructure/gists{/gist_id}","starred_url":"https://api.github.com/users/ros-infrastructure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ros-infrastructure/subscriptions","organizations_url":"https://api.github.com/users/ros-infrastructure/orgs","repos_url":"https://api.github.com/users/ros-infrastructure/repos","events_url":"https://api.github.com/users/ros-infrastructure/events{/privacy}","received_events_url":"https://api.github.com/users/ros-infrastructure/received_events","type":"Organization","site_admin":false},"repo":{"id":3934530,"name":"rosdep","full_name":"ros-infrastructure/rosdep","owner":{"login":"ros-infrastructure","id":2328632,"avatar_url":"https://avatars.githubusercontent.com/u/2328632?v=3","gravatar_id":"","url":"https://api.github.com/users/ros-infrastructure","html_url":"https://github.com/ros-infrastructure","followers_url":"https://api.github.com/users/ros-infrastructure/followers","following_url":"https://api.github.com/users/ros-infrastructure/following{/other_user}","gists_url":"https://api.github.com/users/ros-infrastructure/gists{/gist_id}","starred_url":"https://api.github.com/users/ros-infrastructure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ros-infrastructure/subscriptions","organizations_url":"https://api.github.com/users/ros-infrastructure/orgs","repos_url":"https://api.github.com/users/ros-infrastructure/repos","events_url":"https://api.github.com/users/ros-infrastructure/events{/privacy}","received_events_url":"https://api.github.com/users/ros-infrastructure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ros-infrastructure/rosdep","description":"rosdep multi-package manager system dependency tool","fork":false,"url":"https://api.github.com/repos/ros-infrastructure/rosdep","forks_url":"https://api.github.com/repos/ros-infrastructure/rosdep/forks","keys_url":"https://api.github.com/repos/ros-infrastructure/rosdep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ros-infrastructure/rosdep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ros-infrastructure/rosdep/teams","hooks_url":"https://api.github.com/repos/ros-infrastructure/rosdep/hooks","issue_events_url":"https://api.github.com/repos/ros-infrastructure/rosdep/issues/events{/number}","events_url":"https://api.github.com/repos/ros-infrastructure/rosdep/events","assignees_url":"https://api.github.com/repos/ros-infrastructure/rosdep/assignees{/user}","branches_url":"https://api.github.com/repos/ros-infrastructure/rosdep/branches{/branch}","tags_url":"https://api.github.com/repos/ros-infrastructure/rosdep/tags","blobs_url":"https://api.github.com/repos/ros-infrastructure/rosdep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ros-infrastructure/rosdep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ros-infrastructure/rosdep/git/refs{/sha}","trees_url":"https://api.github.com/repos/ros-infrastructure/rosdep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ros-infrastructure/rosdep/statuses/{sha}","languages_url":"https://api.github.com/repos/ros-infrastructure/rosdep/languages","stargazers_url":"https://api.github.com/repos/ros-infrastructure/rosdep/stargazers","contributors_url":"https://api.github.com/repos/ros-infrastructure/rosdep/contributors","subscribers_url":"https://api.github.com/repos/ros-infrastructure/rosdep/subscribers","subscription_url":"https://api.github.com/repos/ros-infrastructure/rosdep/subscription","commits_url":"https://api.github.com/repos/ros-infrastructure/rosdep/commits{/sha}","git_commits_url":"https://api.github.com/repos/ros-infrastructure/rosdep/git/commits{/sha}","comments_url":"https://api.github.com/repos/ros-infrastructure/rosdep/comments{/number}","issue_comment_url":"https://api.github.com/repos/ros-infrastructure/rosdep/issues/comments/{number}","contents_url":"https://api.github.com/repos/ros-infrastructure/rosdep/contents/{+path}","compare_url":"https://api.github.com/repos/ros-infrastructure/rosdep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ros-infrastructure/rosdep/merges","archive_url":"https://api.github.com/repos/ros-infrastructure/rosdep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ros-infrastructure/rosdep/downloads","issues_url":"https://api.github.com/repos/ros-infrastructure/rosdep/issues{/number}","pulls_url":"https://api.github.com/repos/ros-infrastructure/rosdep/pulls{/number}","milestones_url":"https://api.github.com/repos/ros-infrastructure/rosdep/milestones{/number}","notifications_url":"https://api.github.com/repos/ros-infrastructure/rosdep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ros-infrastructure/rosdep/labels{/name}","releases_url":"https://api.github.com/repos/ros-infrastructure/rosdep/releases{/id}","created_at":"2012-04-05T00:00:53Z","updated_at":"2014-12-08T18:51:15Z","pushed_at":"2015-01-23T00:23:46Z","git_url":"git://github.com/ros-infrastructure/rosdep.git","ssh_url":"git@github.com:ros-infrastructure/rosdep.git","clone_url":"https://github.com/ros-infrastructure/rosdep.git","svn_url":"https://github.com/ros-infrastructure/rosdep","homepage":"http://ros.org/wiki/rosdep","size":2375,"stargazers_count":17,"watchers_count":17,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":53,"forks":31,"open_issues":53,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ros-infrastructure/rosdep/pulls/370"},"html":{"href":"https://github.com/ros-infrastructure/rosdep/pull/370"},"issue":{"href":"https://api.github.com/repos/ros-infrastructure/rosdep/issues/370"},"comments":{"href":"https://api.github.com/repos/ros-infrastructure/rosdep/issues/370/comments"},"review_comments":{"href":"https://api.github.com/repos/ros-infrastructure/rosdep/pulls/370/comments"},"review_comment":{"href":"https://api.github.com/repos/ros-infrastructure/rosdep/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ros-infrastructure/rosdep/pulls/370/commits"},"statuses":{"href":"https://api.github.com/repos/ros-infrastructure/rosdep/statuses/db9f64331a83c4593a8e8ab01a16ffab8e13c5fa"}}}}