{"action":"created","comment":{"url":"https://api.github.com/repos/Vauxoo/runbot-addons/pulls/comments/138758009","pull_request_review_id":62597748,"id":138758009,"diff_hunk":"@@ -4,11 +4,40 @@\n # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).\n \n import re\n+import os\n \n import subprocess\n import requests\n \n from openerp import fields, models, api, tools\n+try:\n+    from functools import lru_cache\n+except ImportError:\n+    from backports.functools_lru_cache import lru_cache","path":"runbot_travis2docker/models/runbot_branch.py","position":null,"original_position":13,"commit_id":"1fc1261707c567398ad2bfa304cc30c750b376b4","original_commit_id":"5457b249cd4de49e214c977c600da435400e084c","user":{"login":"JesusZapata","id":1387970,"avatar_url":"https://avatars2.githubusercontent.com/u/1387970?v=4","gravatar_id":"","url":"https://api.github.com/users/JesusZapata","html_url":"https://github.com/JesusZapata","followers_url":"https://api.github.com/users/JesusZapata/followers","following_url":"https://api.github.com/users/JesusZapata/following{/other_user}","gists_url":"https://api.github.com/users/JesusZapata/gists{/gist_id}","starred_url":"https://api.github.com/users/JesusZapata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JesusZapata/subscriptions","organizations_url":"https://api.github.com/users/JesusZapata/orgs","repos_url":"https://api.github.com/users/JesusZapata/repos","events_url":"https://api.github.com/users/JesusZapata/events{/privacy}","received_events_url":"https://api.github.com/users/JesusZapata/received_events","type":"User","site_admin":false},"body":"@moylop260 \r\nGood point, I refactor the code to put the method \"_ssh_keyscan\" inside the class \"runbot.branch\"","created_at":"2017-09-13T22:39:06Z","updated_at":"2017-09-13T22:39:07Z","html_url":"https://github.com/Vauxoo/runbot-addons/pull/141#discussion_r138758009","pull_request_url":"https://api.github.com/repos/Vauxoo/runbot-addons/pulls/141","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Vauxoo/runbot-addons/pulls/comments/138758009"},"html":{"href":"https://github.com/Vauxoo/runbot-addons/pull/141#discussion_r138758009"},"pull_request":{"href":"https://api.github.com/repos/Vauxoo/runbot-addons/pulls/141"}},"in_reply_to_id":138747654},"pull_request":{"url":"https://api.github.com/repos/Vauxoo/runbot-addons/pulls/141","id":140835039,"html_url":"https://github.com/Vauxoo/runbot-addons/pull/141","diff_url":"https://github.com/Vauxoo/runbot-addons/pull/141.diff","patch_url":"https://github.com/Vauxoo/runbot-addons/pull/141.patch","issue_url":"https://api.github.com/repos/Vauxoo/runbot-addons/issues/141","number":141,"state":"open","locked":false,"title":"[FIX] runbot_travis2docker: Adding new function _ssh_keyscan to run the ssh-keyscan over the weblate-ssh server","user":{"login":"JesusZapata","id":1387970,"avatar_url":"https://avatars2.githubusercontent.com/u/1387970?v=4","gravatar_id":"","url":"https://api.github.com/users/JesusZapata","html_url":"https://github.com/JesusZapata","followers_url":"https://api.github.com/users/JesusZapata/followers","following_url":"https://api.github.com/users/JesusZapata/following{/other_user}","gists_url":"https://api.github.com/users/JesusZapata/gists{/gist_id}","starred_url":"https://api.github.com/users/JesusZapata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JesusZapata/subscriptions","organizations_url":"https://api.github.com/users/JesusZapata/orgs","repos_url":"https://api.github.com/users/JesusZapata/repos","events_url":"https://api.github.com/users/JesusZapata/events{/privacy}","received_events_url":"https://api.github.com/users/JesusZapata/received_events","type":"User","site_admin":false},"body":"When is it used the command `git fetch` over the ssh the command need a console to answer the follow question\r\n\r\n`Are you sure you want to continue connecting (yes/no)? `\r\n\r\nWith the command `ssh-keyscan` get the key a Weblate ssh server and skip the previous question","created_at":"2017-09-13T14:05:55Z","updated_at":"2017-09-13T22:39:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"067b9b6ed3f2e43e512c01cc07fb71befd683be1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Vauxoo/runbot-addons/pulls/141/commits","review_comments_url":"https://api.github.com/repos/Vauxoo/runbot-addons/pulls/141/comments","review_comment_url":"https://api.github.com/repos/Vauxoo/runbot-addons/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Vauxoo/runbot-addons/issues/141/comments","statuses_url":"https://api.github.com/repos/Vauxoo/runbot-addons/statuses/1fc1261707c567398ad2bfa304cc30c750b376b4","head":{"label":"vauxoo-dev:9.0-ssh-keyscan-jesuszapata","ref":"9.0-ssh-keyscan-jesuszapata","sha":"1fc1261707c567398ad2bfa304cc30c750b376b4","user":{"login":"vauxoo-dev","id":7662790,"avatar_url":"https://avatars2.githubusercontent.com/u/7662790?v=4","gravatar_id":"","url":"https://api.github.com/users/vauxoo-dev","html_url":"https://github.com/vauxoo-dev","followers_url":"https://api.github.com/users/vauxoo-dev/followers","following_url":"https://api.github.com/users/vauxoo-dev/following{/other_user}","gists_url":"https://api.github.com/users/vauxoo-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/vauxoo-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vauxoo-dev/subscriptions","organizations_url":"https://api.github.com/users/vauxoo-dev/orgs","repos_url":"https://api.github.com/users/vauxoo-dev/repos","events_url":"https://api.github.com/users/vauxoo-dev/events{/privacy}","received_events_url":"https://api.github.com/users/vauxoo-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":22970969,"name":"runbot-addons","full_name":"vauxoo-dev/runbot-addons","owner":{"login":"vauxoo-dev","id":7662790,"avatar_url":"https://avatars2.githubusercontent.com/u/7662790?v=4","gravatar_id":"","url":"https://api.github.com/users/vauxoo-dev","html_url":"https://github.com/vauxoo-dev","followers_url":"https://api.github.com/users/vauxoo-dev/followers","following_url":"https://api.github.com/users/vauxoo-dev/following{/other_user}","gists_url":"https://api.github.com/users/vauxoo-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/vauxoo-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vauxoo-dev/subscriptions","organizations_url":"https://api.github.com/users/vauxoo-dev/orgs","repos_url":"https://api.github.com/users/vauxoo-dev/repos","events_url":"https://api.github.com/users/vauxoo-dev/events{/privacy}","received_events_url":"https://api.github.com/users/vauxoo-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vauxoo-dev/runbot-addons","description":"Runbot Custom Features to be used by community.","fork":true,"url":"https://api.github.com/repos/vauxoo-dev/runbot-addons","forks_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/forks","keys_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/teams","hooks_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/hooks","issue_events_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/issues/events{/number}","events_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/events","assignees_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/assignees{/user}","branches_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/branches{/branch}","tags_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/tags","blobs_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/git/refs{/sha}","trees_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/statuses/{sha}","languages_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/languages","stargazers_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/stargazers","contributors_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/contributors","subscribers_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/subscribers","subscription_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/subscription","commits_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/commits{/sha}","git_commits_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/git/commits{/sha}","comments_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/comments{/number}","issue_comment_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/issues/comments{/number}","contents_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/contents/{+path}","compare_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/merges","archive_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/downloads","issues_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/issues{/number}","pulls_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/pulls{/number}","milestones_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/milestones{/number}","notifications_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/labels{/name}","releases_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/releases{/id}","deployments_url":"https://api.github.com/repos/vauxoo-dev/runbot-addons/deployments","created_at":"2014-08-14T22:43:43Z","updated_at":"2014-07-25T22:30:54Z","pushed_at":"2017-09-13T22:36:42Z","git_url":"git://github.com/vauxoo-dev/runbot-addons.git","ssh_url":"git@github.com:vauxoo-dev/runbot-addons.git","clone_url":"https://github.com/vauxoo-dev/runbot-addons.git","svn_url":"https://github.com/vauxoo-dev/runbot-addons","homepage":"","size":905,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"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":"Vauxoo:9.0","ref":"9.0","sha":"87e96ee33ab4c7edd4c2b38928bb358777a173b5","user":{"login":"Vauxoo","id":5997834,"avatar_url":"https://avatars0.githubusercontent.com/u/5997834?v=4","gravatar_id":"","url":"https://api.github.com/users/Vauxoo","html_url":"https://github.com/Vauxoo","followers_url":"https://api.github.com/users/Vauxoo/followers","following_url":"https://api.github.com/users/Vauxoo/following{/other_user}","gists_url":"https://api.github.com/users/Vauxoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Vauxoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vauxoo/subscriptions","organizations_url":"https://api.github.com/users/Vauxoo/orgs","repos_url":"https://api.github.com/users/Vauxoo/repos","events_url":"https://api.github.com/users/Vauxoo/events{/privacy}","received_events_url":"https://api.github.com/users/Vauxoo/received_events","type":"Organization","site_admin":false},"repo":{"id":22969628,"name":"runbot-addons","full_name":"Vauxoo/runbot-addons","owner":{"login":"Vauxoo","id":5997834,"avatar_url":"https://avatars0.githubusercontent.com/u/5997834?v=4","gravatar_id":"","url":"https://api.github.com/users/Vauxoo","html_url":"https://github.com/Vauxoo","followers_url":"https://api.github.com/users/Vauxoo/followers","following_url":"https://api.github.com/users/Vauxoo/following{/other_user}","gists_url":"https://api.github.com/users/Vauxoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Vauxoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vauxoo/subscriptions","organizations_url":"https://api.github.com/users/Vauxoo/orgs","repos_url":"https://api.github.com/users/Vauxoo/repos","events_url":"https://api.github.com/users/Vauxoo/events{/privacy}","received_events_url":"https://api.github.com/users/Vauxoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Vauxoo/runbot-addons","description":"Runbot Custom Features to be used by community.","fork":true,"url":"https://api.github.com/repos/Vauxoo/runbot-addons","forks_url":"https://api.github.com/repos/Vauxoo/runbot-addons/forks","keys_url":"https://api.github.com/repos/Vauxoo/runbot-addons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vauxoo/runbot-addons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vauxoo/runbot-addons/teams","hooks_url":"https://api.github.com/repos/Vauxoo/runbot-addons/hooks","issue_events_url":"https://api.github.com/repos/Vauxoo/runbot-addons/issues/events{/number}","events_url":"https://api.github.com/repos/Vauxoo/runbot-addons/events","assignees_url":"https://api.github.com/repos/Vauxoo/runbot-addons/assignees{/user}","branches_url":"https://api.github.com/repos/Vauxoo/runbot-addons/branches{/branch}","tags_url":"https://api.github.com/repos/Vauxoo/runbot-addons/tags","blobs_url":"https://api.github.com/repos/Vauxoo/runbot-addons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vauxoo/runbot-addons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vauxoo/runbot-addons/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vauxoo/runbot-addons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vauxoo/runbot-addons/statuses/{sha}","languages_url":"https://api.github.com/repos/Vauxoo/runbot-addons/languages","stargazers_url":"https://api.github.com/repos/Vauxoo/runbot-addons/stargazers","contributors_url":"https://api.github.com/repos/Vauxoo/runbot-addons/contributors","subscribers_url":"https://api.github.com/repos/Vauxoo/runbot-addons/subscribers","subscription_url":"https://api.github.com/repos/Vauxoo/runbot-addons/subscription","commits_url":"https://api.github.com/repos/Vauxoo/runbot-addons/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vauxoo/runbot-addons/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vauxoo/runbot-addons/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vauxoo/runbot-addons/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vauxoo/runbot-addons/contents/{+path}","compare_url":"https://api.github.com/repos/Vauxoo/runbot-addons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vauxoo/runbot-addons/merges","archive_url":"https://api.github.com/repos/Vauxoo/runbot-addons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vauxoo/runbot-addons/downloads","issues_url":"https://api.github.com/repos/Vauxoo/runbot-addons/issues{/number}","pulls_url":"https://api.github.com/repos/Vauxoo/runbot-addons/pulls{/number}","milestones_url":"https://api.github.com/repos/Vauxoo/runbot-addons/milestones{/number}","notifications_url":"https://api.github.com/repos/Vauxoo/runbot-addons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vauxoo/runbot-addons/labels{/name}","releases_url":"https://api.github.com/repos/Vauxoo/runbot-addons/releases{/id}","deployments_url":"https://api.github.com/repos/Vauxoo/runbot-addons/deployments","created_at":"2014-08-14T21:44:05Z","updated_at":"2016-11-27T04:16:59Z","pushed_at":"2017-09-13T22:36:43Z","git_url":"git://github.com/Vauxoo/runbot-addons.git","ssh_url":"git@github.com:Vauxoo/runbot-addons.git","clone_url":"https://github.com/Vauxoo/runbot-addons.git","svn_url":"https://github.com/Vauxoo/runbot-addons","homepage":"","size":442,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":19,"forks":5,"open_issues":19,"watchers":3,"default_branch":"9.0"}},"_links":{"self":{"href":"https://api.github.com/repos/Vauxoo/runbot-addons/pulls/141"},"html":{"href":"https://github.com/Vauxoo/runbot-addons/pull/141"},"issue":{"href":"https://api.github.com/repos/Vauxoo/runbot-addons/issues/141"},"comments":{"href":"https://api.github.com/repos/Vauxoo/runbot-addons/issues/141/comments"},"review_comments":{"href":"https://api.github.com/repos/Vauxoo/runbot-addons/pulls/141/comments"},"review_comment":{"href":"https://api.github.com/repos/Vauxoo/runbot-addons/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Vauxoo/runbot-addons/pulls/141/commits"},"statuses":{"href":"https://api.github.com/repos/Vauxoo/runbot-addons/statuses/1fc1261707c567398ad2bfa304cc30c750b376b4"}},"author_association":"NONE"}}
{"actor":{"display_login":"JesusZapata"}}