{"action":"created","comment":{"url":"https://api.github.com/repos/hbrunn/server-tools/pulls/comments/63365121","id":63365121,"diff_hunk":"@@ -8,26 +8,26 @@\n import subprocess\n import tempfile\n from openerp import _, api, models, exceptions\n-from openerp.tools.config import _get_default_datadir\n+from openerp.tools import config\n \n \n DEFAULT_KEY_LENGTH = 4096\n _logger = logging.getLogger(__name__)\n \n \n+def get_data_dir():","path":"letsencrypt/models/letsencrypt.py","position":19,"original_position":12,"commit_id":"d7aed6066ea8936fa3313609a1e5edb6adf96e56","original_commit_id":"7f4da56f874afd1ba5a6b8b4dc470f808fc75782","user":{"login":"hbrunn","id":2563186,"avatar_url":"https://avatars.githubusercontent.com/u/2563186?v=3","gravatar_id":"","url":"https://api.github.com/users/hbrunn","html_url":"https://github.com/hbrunn","followers_url":"https://api.github.com/users/hbrunn/followers","following_url":"https://api.github.com/users/hbrunn/following{/other_user}","gists_url":"https://api.github.com/users/hbrunn/gists{/gist_id}","starred_url":"https://api.github.com/users/hbrunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbrunn/subscriptions","organizations_url":"https://api.github.com/users/hbrunn/orgs","repos_url":"https://api.github.com/users/hbrunn/repos","events_url":"https://api.github.com/users/hbrunn/events{/privacy}","received_events_url":"https://api.github.com/users/hbrunn/received_events","type":"User","site_admin":false},"body":"let's continue this discussion in the comment above, as those are connected","created_at":"2016-05-16T14:46:31Z","updated_at":"2016-05-16T14:46:31Z","html_url":"https://github.com/hbrunn/server-tools/pull/2#discussion_r63365121","pull_request_url":"https://api.github.com/repos/hbrunn/server-tools/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/hbrunn/server-tools/pulls/comments/63365121"},"html":{"href":"https://github.com/hbrunn/server-tools/pull/2#discussion_r63365121"},"pull_request":{"href":"https://api.github.com/repos/hbrunn/server-tools/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/hbrunn/server-tools/pulls/2","id":70192445,"html_url":"https://github.com/hbrunn/server-tools/pull/2","diff_url":"https://github.com/hbrunn/server-tools/pull/2.diff","patch_url":"https://github.com/hbrunn/server-tools/pull/2.patch","issue_url":"https://api.github.com/repos/hbrunn/server-tools/issues/2","number":2,"state":"open","locked":false,"title":"Multi-database support and other fixes","user":{"login":"antespi","id":1881111,"avatar_url":"https://avatars.githubusercontent.com/u/1881111?v=3","gravatar_id":"","url":"https://api.github.com/users/antespi","html_url":"https://github.com/antespi","followers_url":"https://api.github.com/users/antespi/followers","following_url":"https://api.github.com/users/antespi/following{/other_user}","gists_url":"https://api.github.com/users/antespi/gists{/gist_id}","starred_url":"https://api.github.com/users/antespi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antespi/subscriptions","organizations_url":"https://api.github.com/users/antespi/orgs","repos_url":"https://api.github.com/users/antespi/repos","events_url":"https://api.github.com/users/antespi/events{/privacy}","received_events_url":"https://api.github.com/users/antespi/received_events","type":"User","site_admin":false},"body":"* Support for multi-database\r\n* Better checking of private IP addresses\r\n* Get current data_dir, not default\r\n* Use of official ACME Tiny library from pip, as a dependency","created_at":"2016-05-16T12:55:28Z","updated_at":"2016-05-16T14:46:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"515bb569e5ea23636587ac15e60562ea92fc966a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hbrunn/server-tools/pulls/2/commits","review_comments_url":"https://api.github.com/repos/hbrunn/server-tools/pulls/2/comments","review_comment_url":"https://api.github.com/repos/hbrunn/server-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hbrunn/server-tools/issues/2/comments","statuses_url":"https://api.github.com/repos/hbrunn/server-tools/statuses/d7aed6066ea8936fa3313609a1e5edb6adf96e56","head":{"label":"Tecnativa:8.0-letsencrypt","ref":"8.0-letsencrypt","sha":"d7aed6066ea8936fa3313609a1e5edb6adf96e56","user":{"login":"Tecnativa","id":18120193,"avatar_url":"https://avatars.githubusercontent.com/u/18120193?v=3","gravatar_id":"","url":"https://api.github.com/users/Tecnativa","html_url":"https://github.com/Tecnativa","followers_url":"https://api.github.com/users/Tecnativa/followers","following_url":"https://api.github.com/users/Tecnativa/following{/other_user}","gists_url":"https://api.github.com/users/Tecnativa/gists{/gist_id}","starred_url":"https://api.github.com/users/Tecnativa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tecnativa/subscriptions","organizations_url":"https://api.github.com/users/Tecnativa/orgs","repos_url":"https://api.github.com/users/Tecnativa/repos","events_url":"https://api.github.com/users/Tecnativa/events{/privacy}","received_events_url":"https://api.github.com/users/Tecnativa/received_events","type":"Organization","site_admin":false},"repo":{"id":58931886,"name":"server-tools","full_name":"Tecnativa/server-tools","owner":{"login":"Tecnativa","id":18120193,"avatar_url":"https://avatars.githubusercontent.com/u/18120193?v=3","gravatar_id":"","url":"https://api.github.com/users/Tecnativa","html_url":"https://github.com/Tecnativa","followers_url":"https://api.github.com/users/Tecnativa/followers","following_url":"https://api.github.com/users/Tecnativa/following{/other_user}","gists_url":"https://api.github.com/users/Tecnativa/gists{/gist_id}","starred_url":"https://api.github.com/users/Tecnativa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tecnativa/subscriptions","organizations_url":"https://api.github.com/users/Tecnativa/orgs","repos_url":"https://api.github.com/users/Tecnativa/repos","events_url":"https://api.github.com/users/Tecnativa/events{/privacy}","received_events_url":"https://api.github.com/users/Tecnativa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Tecnativa/server-tools","description":"Tools for Odoo Administrators to improve some technical features on Odoo.","fork":true,"url":"https://api.github.com/repos/Tecnativa/server-tools","forks_url":"https://api.github.com/repos/Tecnativa/server-tools/forks","keys_url":"https://api.github.com/repos/Tecnativa/server-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tecnativa/server-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tecnativa/server-tools/teams","hooks_url":"https://api.github.com/repos/Tecnativa/server-tools/hooks","issue_events_url":"https://api.github.com/repos/Tecnativa/server-tools/issues/events{/number}","events_url":"https://api.github.com/repos/Tecnativa/server-tools/events","assignees_url":"https://api.github.com/repos/Tecnativa/server-tools/assignees{/user}","branches_url":"https://api.github.com/repos/Tecnativa/server-tools/branches{/branch}","tags_url":"https://api.github.com/repos/Tecnativa/server-tools/tags","blobs_url":"https://api.github.com/repos/Tecnativa/server-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tecnativa/server-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tecnativa/server-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tecnativa/server-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tecnativa/server-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/Tecnativa/server-tools/languages","stargazers_url":"https://api.github.com/repos/Tecnativa/server-tools/stargazers","contributors_url":"https://api.github.com/repos/Tecnativa/server-tools/contributors","subscribers_url":"https://api.github.com/repos/Tecnativa/server-tools/subscribers","subscription_url":"https://api.github.com/repos/Tecnativa/server-tools/subscription","commits_url":"https://api.github.com/repos/Tecnativa/server-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tecnativa/server-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tecnativa/server-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tecnativa/server-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tecnativa/server-tools/contents/{+path}","compare_url":"https://api.github.com/repos/Tecnativa/server-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tecnativa/server-tools/merges","archive_url":"https://api.github.com/repos/Tecnativa/server-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tecnativa/server-tools/downloads","issues_url":"https://api.github.com/repos/Tecnativa/server-tools/issues{/number}","pulls_url":"https://api.github.com/repos/Tecnativa/server-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/Tecnativa/server-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/Tecnativa/server-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tecnativa/server-tools/labels{/name}","releases_url":"https://api.github.com/repos/Tecnativa/server-tools/releases{/id}","deployments_url":"https://api.github.com/repos/Tecnativa/server-tools/deployments","created_at":"2016-05-16T12:48:36Z","updated_at":"2016-05-16T12:48:39Z","pushed_at":"2016-05-16T14:05:35Z","git_url":"git://github.com/Tecnativa/server-tools.git","ssh_url":"git@github.com:Tecnativa/server-tools.git","clone_url":"https://github.com/Tecnativa/server-tools.git","svn_url":"https://github.com/Tecnativa/server-tools","homepage":"https://odoo-community.org/project/tools-maintainers-30","size":4600,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"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":"9.0"}},"base":{"label":"hbrunn:8.0-letsencrypt","ref":"8.0-letsencrypt","sha":"7eddb875fe265696c325368ca08f7e797156bf39","user":{"login":"hbrunn","id":2563186,"avatar_url":"https://avatars.githubusercontent.com/u/2563186?v=3","gravatar_id":"","url":"https://api.github.com/users/hbrunn","html_url":"https://github.com/hbrunn","followers_url":"https://api.github.com/users/hbrunn/followers","following_url":"https://api.github.com/users/hbrunn/following{/other_user}","gists_url":"https://api.github.com/users/hbrunn/gists{/gist_id}","starred_url":"https://api.github.com/users/hbrunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbrunn/subscriptions","organizations_url":"https://api.github.com/users/hbrunn/orgs","repos_url":"https://api.github.com/users/hbrunn/repos","events_url":"https://api.github.com/users/hbrunn/events{/privacy}","received_events_url":"https://api.github.com/users/hbrunn/received_events","type":"User","site_admin":false},"repo":{"id":22118758,"name":"server-tools","full_name":"hbrunn/server-tools","owner":{"login":"hbrunn","id":2563186,"avatar_url":"https://avatars.githubusercontent.com/u/2563186?v=3","gravatar_id":"","url":"https://api.github.com/users/hbrunn","html_url":"https://github.com/hbrunn","followers_url":"https://api.github.com/users/hbrunn/followers","following_url":"https://api.github.com/users/hbrunn/following{/other_user}","gists_url":"https://api.github.com/users/hbrunn/gists{/gist_id}","starred_url":"https://api.github.com/users/hbrunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbrunn/subscriptions","organizations_url":"https://api.github.com/users/hbrunn/orgs","repos_url":"https://api.github.com/users/hbrunn/repos","events_url":"https://api.github.com/users/hbrunn/events{/privacy}","received_events_url":"https://api.github.com/users/hbrunn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hbrunn/server-tools","description":"","fork":true,"url":"https://api.github.com/repos/hbrunn/server-tools","forks_url":"https://api.github.com/repos/hbrunn/server-tools/forks","keys_url":"https://api.github.com/repos/hbrunn/server-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hbrunn/server-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hbrunn/server-tools/teams","hooks_url":"https://api.github.com/repos/hbrunn/server-tools/hooks","issue_events_url":"https://api.github.com/repos/hbrunn/server-tools/issues/events{/number}","events_url":"https://api.github.com/repos/hbrunn/server-tools/events","assignees_url":"https://api.github.com/repos/hbrunn/server-tools/assignees{/user}","branches_url":"https://api.github.com/repos/hbrunn/server-tools/branches{/branch}","tags_url":"https://api.github.com/repos/hbrunn/server-tools/tags","blobs_url":"https://api.github.com/repos/hbrunn/server-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hbrunn/server-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hbrunn/server-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/hbrunn/server-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hbrunn/server-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/hbrunn/server-tools/languages","stargazers_url":"https://api.github.com/repos/hbrunn/server-tools/stargazers","contributors_url":"https://api.github.com/repos/hbrunn/server-tools/contributors","subscribers_url":"https://api.github.com/repos/hbrunn/server-tools/subscribers","subscription_url":"https://api.github.com/repos/hbrunn/server-tools/subscription","commits_url":"https://api.github.com/repos/hbrunn/server-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/hbrunn/server-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/hbrunn/server-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/hbrunn/server-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/hbrunn/server-tools/contents/{+path}","compare_url":"https://api.github.com/repos/hbrunn/server-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hbrunn/server-tools/merges","archive_url":"https://api.github.com/repos/hbrunn/server-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hbrunn/server-tools/downloads","issues_url":"https://api.github.com/repos/hbrunn/server-tools/issues{/number}","pulls_url":"https://api.github.com/repos/hbrunn/server-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/hbrunn/server-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/hbrunn/server-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hbrunn/server-tools/labels{/name}","releases_url":"https://api.github.com/repos/hbrunn/server-tools/releases{/id}","deployments_url":"https://api.github.com/repos/hbrunn/server-tools/deployments","created_at":"2014-07-22T20:04:24Z","updated_at":"2014-07-07T03:06:56Z","pushed_at":"2016-05-16T14:05:36Z","git_url":"git://github.com/hbrunn/server-tools.git","ssh_url":"git@github.com:hbrunn/server-tools.git","clone_url":"https://github.com/hbrunn/server-tools.git","svn_url":"https://github.com/hbrunn/server-tools","homepage":null,"size":3276,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hbrunn/server-tools/pulls/2"},"html":{"href":"https://github.com/hbrunn/server-tools/pull/2"},"issue":{"href":"https://api.github.com/repos/hbrunn/server-tools/issues/2"},"comments":{"href":"https://api.github.com/repos/hbrunn/server-tools/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/hbrunn/server-tools/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/hbrunn/server-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hbrunn/server-tools/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/hbrunn/server-tools/statuses/d7aed6066ea8936fa3313609a1e5edb6adf96e56"}}}}