{"action":"created","comment":{"url":"https://api.github.com/repos/wireapp/wire-server/pulls/comments/169578944","pull_request_review_id":98124703,"id":169578944,"diff_hunk":"@@ -0,0 +1,66 @@\n+#!/usr/bin/python\n+# coding: utf-8\n+#\n+# Wire\n+# Copyright (C) 2018 Wire Swiss GmbH\n+#\n+# This program is free software: you can redistribute it and/or modify\n+# it under the terms of the GNU General Public License as published by\n+# the Free Software Foundation, either version 3 of the License, or\n+# (at your option) any later version.\n+#\n+# This program is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n+# GNU General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with this program. If not, see http://www.gnu.org/licenses/.\n+#\n+\n+import os\n+import shutil\n+import sys\n+reload(sys)\n+sys.setdefaultencoding('utf8')\n+\n+IGNORE_DIRS = ['billing', 'marketing']\n+\n+root = os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir)\n+emails = os.path.join(root, 'wire-emails')\n+templates = os.path.join(root, 'templates')\n+dist = os.path.join(emails, 'dist')\n+new_version_file = os.path.join(root, 'new-version')\n+current_version_file = os.path.join(templates, 'version')\n+os.chdir(root)\n+\n+pr_branch_name = os.environ.get('TRAVIS_PULL_REQUEST_BRANCH')\n+\n+with open(new_version_file) as f:\n+  new_version = f.readline().replace('\\n', '').strip()\n+\n+try:\n+  with open(current_version_file) as f:\n+    current_version = f.readline().replace('\\n', '').strip()","path":"services/brig/deb/opt/brig/bin/fetch.py","position":44,"original_position":44,"commit_id":"90ffdf0d51794321f13c345dc0b355832a81d5f7","original_commit_id":"90ffdf0d51794321f13c345dc0b355832a81d5f7","user":{"login":"bennyn","id":469989,"avatar_url":"https://avatars3.githubusercontent.com/u/469989?v=4","gravatar_id":"","url":"https://api.github.com/users/bennyn","html_url":"https://github.com/bennyn","followers_url":"https://api.github.com/users/bennyn/followers","following_url":"https://api.github.com/users/bennyn/following{/other_user}","gists_url":"https://api.github.com/users/bennyn/gists{/gist_id}","starred_url":"https://api.github.com/users/bennyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bennyn/subscriptions","organizations_url":"https://api.github.com/users/bennyn/orgs","repos_url":"https://api.github.com/users/bennyn/repos","events_url":"https://api.github.com/users/bennyn/events{/privacy}","received_events_url":"https://api.github.com/users/bennyn/received_events","type":"User","site_admin":false},"body":"https://github.com/jprichardson/node-fs-extra","created_at":"2018-02-21T09:37:50Z","updated_at":"2018-02-21T09:40:09Z","html_url":"https://github.com/wireapp/wire-server/pull/208#discussion_r169578944","pull_request_url":"https://api.github.com/repos/wireapp/wire-server/pulls/208","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/wireapp/wire-server/pulls/comments/169578944"},"html":{"href":"https://github.com/wireapp/wire-server/pull/208#discussion_r169578944"},"pull_request":{"href":"https://api.github.com/repos/wireapp/wire-server/pulls/208"}}},"pull_request":{"url":"https://api.github.com/repos/wireapp/wire-server/pulls/208","id":170295766,"html_url":"https://github.com/wireapp/wire-server/pull/208","diff_url":"https://github.com/wireapp/wire-server/pull/208.diff","patch_url":"https://github.com/wireapp/wire-server/pull/208.patch","issue_url":"https://api.github.com/repos/wireapp/wire-server/issues/208","number":208,"state":"open","locked":false,"title":"Fetch emails from wire-emails","user":{"login":"lipis","id":125676,"avatar_url":"https://avatars1.githubusercontent.com/u/125676?v=4","gravatar_id":"","url":"https://api.github.com/users/lipis","html_url":"https://github.com/lipis","followers_url":"https://api.github.com/users/lipis/followers","following_url":"https://api.github.com/users/lipis/following{/other_user}","gists_url":"https://api.github.com/users/lipis/gists{/gist_id}","starred_url":"https://api.github.com/users/lipis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lipis/subscriptions","organizations_url":"https://api.github.com/users/lipis/orgs","repos_url":"https://api.github.com/users/lipis/repos","events_url":"https://api.github.com/users/lipis/events{/privacy}","received_events_url":"https://api.github.com/users/lipis/received_events","type":"User","site_admin":false},"body":"In order to fetch the latest emails/translations to the project:\r\n\r\n1. Edit `services/brig/deb/opt/brig/new-version` with the latest/desired tag from [wire-emails](https://github.com/wireapp/wire-emails) in new PR\r\n2. Wait until TravisCI will fetch and update the same PR with the latest emails\r\n","created_at":"2018-02-20T20:10:13Z","updated_at":"2018-02-21T09:40:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7b3fd489d59c8728ce9873e0f8196a4e8664f58a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wireapp/wire-server/pulls/208/commits","review_comments_url":"https://api.github.com/repos/wireapp/wire-server/pulls/208/comments","review_comment_url":"https://api.github.com/repos/wireapp/wire-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wireapp/wire-server/issues/208/comments","statuses_url":"https://api.github.com/repos/wireapp/wire-server/statuses/90ffdf0d51794321f13c345dc0b355832a81d5f7","head":{"label":"wireapp:new-emails","ref":"new-emails","sha":"90ffdf0d51794321f13c345dc0b355832a81d5f7","user":{"login":"wireapp","id":16047324,"avatar_url":"https://avatars3.githubusercontent.com/u/16047324?v=4","gravatar_id":"","url":"https://api.github.com/users/wireapp","html_url":"https://github.com/wireapp","followers_url":"https://api.github.com/users/wireapp/followers","following_url":"https://api.github.com/users/wireapp/following{/other_user}","gists_url":"https://api.github.com/users/wireapp/gists{/gist_id}","starred_url":"https://api.github.com/users/wireapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wireapp/subscriptions","organizations_url":"https://api.github.com/users/wireapp/orgs","repos_url":"https://api.github.com/users/wireapp/repos","events_url":"https://api.github.com/users/wireapp/events{/privacy}","received_events_url":"https://api.github.com/users/wireapp/received_events","type":"Organization","site_admin":false},"repo":{"id":81935044,"name":"wire-server","full_name":"wireapp/wire-server","owner":{"login":"wireapp","id":16047324,"avatar_url":"https://avatars3.githubusercontent.com/u/16047324?v=4","gravatar_id":"","url":"https://api.github.com/users/wireapp","html_url":"https://github.com/wireapp","followers_url":"https://api.github.com/users/wireapp/followers","following_url":"https://api.github.com/users/wireapp/following{/other_user}","gists_url":"https://api.github.com/users/wireapp/gists{/gist_id}","starred_url":"https://api.github.com/users/wireapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wireapp/subscriptions","organizations_url":"https://api.github.com/users/wireapp/orgs","repos_url":"https://api.github.com/users/wireapp/repos","events_url":"https://api.github.com/users/wireapp/events{/privacy}","received_events_url":"https://api.github.com/users/wireapp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wireapp/wire-server","description":"🇪🇺 Wire back-end services","fork":false,"url":"https://api.github.com/repos/wireapp/wire-server","forks_url":"https://api.github.com/repos/wireapp/wire-server/forks","keys_url":"https://api.github.com/repos/wireapp/wire-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wireapp/wire-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wireapp/wire-server/teams","hooks_url":"https://api.github.com/repos/wireapp/wire-server/hooks","issue_events_url":"https://api.github.com/repos/wireapp/wire-server/issues/events{/number}","events_url":"https://api.github.com/repos/wireapp/wire-server/events","assignees_url":"https://api.github.com/repos/wireapp/wire-server/assignees{/user}","branches_url":"https://api.github.com/repos/wireapp/wire-server/branches{/branch}","tags_url":"https://api.github.com/repos/wireapp/wire-server/tags","blobs_url":"https://api.github.com/repos/wireapp/wire-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wireapp/wire-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wireapp/wire-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/wireapp/wire-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wireapp/wire-server/statuses/{sha}","languages_url":"https://api.github.com/repos/wireapp/wire-server/languages","stargazers_url":"https://api.github.com/repos/wireapp/wire-server/stargazers","contributors_url":"https://api.github.com/repos/wireapp/wire-server/contributors","subscribers_url":"https://api.github.com/repos/wireapp/wire-server/subscribers","subscription_url":"https://api.github.com/repos/wireapp/wire-server/subscription","commits_url":"https://api.github.com/repos/wireapp/wire-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/wireapp/wire-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/wireapp/wire-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/wireapp/wire-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/wireapp/wire-server/contents/{+path}","compare_url":"https://api.github.com/repos/wireapp/wire-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wireapp/wire-server/merges","archive_url":"https://api.github.com/repos/wireapp/wire-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wireapp/wire-server/downloads","issues_url":"https://api.github.com/repos/wireapp/wire-server/issues{/number}","pulls_url":"https://api.github.com/repos/wireapp/wire-server/pulls{/number}","milestones_url":"https://api.github.com/repos/wireapp/wire-server/milestones{/number}","notifications_url":"https://api.github.com/repos/wireapp/wire-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wireapp/wire-server/labels{/name}","releases_url":"https://api.github.com/repos/wireapp/wire-server/releases{/id}","deployments_url":"https://api.github.com/repos/wireapp/wire-server/deployments","created_at":"2017-02-14T10:42:59Z","updated_at":"2018-02-21T05:30:32Z","pushed_at":"2018-02-21T00:17:39Z","git_url":"git://github.com/wireapp/wire-server.git","ssh_url":"git@github.com:wireapp/wire-server.git","clone_url":"https://github.com/wireapp/wire-server.git","svn_url":"https://github.com/wireapp/wire-server","homepage":"https://wire.com","size":1856,"stargazers_count":1466,"watchers_count":1466,"language":"Haskell","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":161,"mirror_url":null,"archived":false,"open_issues_count":16,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":161,"open_issues":16,"watchers":1466,"default_branch":"develop"}},"base":{"label":"wireapp:develop","ref":"develop","sha":"ec00ee44c5fddb4ca1c8a21bbd1c8db86b8cf3d5","user":{"login":"wireapp","id":16047324,"avatar_url":"https://avatars3.githubusercontent.com/u/16047324?v=4","gravatar_id":"","url":"https://api.github.com/users/wireapp","html_url":"https://github.com/wireapp","followers_url":"https://api.github.com/users/wireapp/followers","following_url":"https://api.github.com/users/wireapp/following{/other_user}","gists_url":"https://api.github.com/users/wireapp/gists{/gist_id}","starred_url":"https://api.github.com/users/wireapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wireapp/subscriptions","organizations_url":"https://api.github.com/users/wireapp/orgs","repos_url":"https://api.github.com/users/wireapp/repos","events_url":"https://api.github.com/users/wireapp/events{/privacy}","received_events_url":"https://api.github.com/users/wireapp/received_events","type":"Organization","site_admin":false},"repo":{"id":81935044,"name":"wire-server","full_name":"wireapp/wire-server","owner":{"login":"wireapp","id":16047324,"avatar_url":"https://avatars3.githubusercontent.com/u/16047324?v=4","gravatar_id":"","url":"https://api.github.com/users/wireapp","html_url":"https://github.com/wireapp","followers_url":"https://api.github.com/users/wireapp/followers","following_url":"https://api.github.com/users/wireapp/following{/other_user}","gists_url":"https://api.github.com/users/wireapp/gists{/gist_id}","starred_url":"https://api.github.com/users/wireapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wireapp/subscriptions","organizations_url":"https://api.github.com/users/wireapp/orgs","repos_url":"https://api.github.com/users/wireapp/repos","events_url":"https://api.github.com/users/wireapp/events{/privacy}","received_events_url":"https://api.github.com/users/wireapp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wireapp/wire-server","description":"🇪🇺 Wire back-end services","fork":false,"url":"https://api.github.com/repos/wireapp/wire-server","forks_url":"https://api.github.com/repos/wireapp/wire-server/forks","keys_url":"https://api.github.com/repos/wireapp/wire-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wireapp/wire-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wireapp/wire-server/teams","hooks_url":"https://api.github.com/repos/wireapp/wire-server/hooks","issue_events_url":"https://api.github.com/repos/wireapp/wire-server/issues/events{/number}","events_url":"https://api.github.com/repos/wireapp/wire-server/events","assignees_url":"https://api.github.com/repos/wireapp/wire-server/assignees{/user}","branches_url":"https://api.github.com/repos/wireapp/wire-server/branches{/branch}","tags_url":"https://api.github.com/repos/wireapp/wire-server/tags","blobs_url":"https://api.github.com/repos/wireapp/wire-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wireapp/wire-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wireapp/wire-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/wireapp/wire-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wireapp/wire-server/statuses/{sha}","languages_url":"https://api.github.com/repos/wireapp/wire-server/languages","stargazers_url":"https://api.github.com/repos/wireapp/wire-server/stargazers","contributors_url":"https://api.github.com/repos/wireapp/wire-server/contributors","subscribers_url":"https://api.github.com/repos/wireapp/wire-server/subscribers","subscription_url":"https://api.github.com/repos/wireapp/wire-server/subscription","commits_url":"https://api.github.com/repos/wireapp/wire-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/wireapp/wire-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/wireapp/wire-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/wireapp/wire-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/wireapp/wire-server/contents/{+path}","compare_url":"https://api.github.com/repos/wireapp/wire-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wireapp/wire-server/merges","archive_url":"https://api.github.com/repos/wireapp/wire-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wireapp/wire-server/downloads","issues_url":"https://api.github.com/repos/wireapp/wire-server/issues{/number}","pulls_url":"https://api.github.com/repos/wireapp/wire-server/pulls{/number}","milestones_url":"https://api.github.com/repos/wireapp/wire-server/milestones{/number}","notifications_url":"https://api.github.com/repos/wireapp/wire-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wireapp/wire-server/labels{/name}","releases_url":"https://api.github.com/repos/wireapp/wire-server/releases{/id}","deployments_url":"https://api.github.com/repos/wireapp/wire-server/deployments","created_at":"2017-02-14T10:42:59Z","updated_at":"2018-02-21T05:30:32Z","pushed_at":"2018-02-21T00:17:39Z","git_url":"git://github.com/wireapp/wire-server.git","ssh_url":"git@github.com:wireapp/wire-server.git","clone_url":"https://github.com/wireapp/wire-server.git","svn_url":"https://github.com/wireapp/wire-server","homepage":"https://wire.com","size":1856,"stargazers_count":1466,"watchers_count":1466,"language":"Haskell","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":161,"mirror_url":null,"archived":false,"open_issues_count":16,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":161,"open_issues":16,"watchers":1466,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/wireapp/wire-server/pulls/208"},"html":{"href":"https://github.com/wireapp/wire-server/pull/208"},"issue":{"href":"https://api.github.com/repos/wireapp/wire-server/issues/208"},"comments":{"href":"https://api.github.com/repos/wireapp/wire-server/issues/208/comments"},"review_comments":{"href":"https://api.github.com/repos/wireapp/wire-server/pulls/208/comments"},"review_comment":{"href":"https://api.github.com/repos/wireapp/wire-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wireapp/wire-server/pulls/208/commits"},"statuses":{"href":"https://api.github.com/repos/wireapp/wire-server/statuses/90ffdf0d51794321f13c345dc0b355832a81d5f7"}},"author_association":"OWNER"}}
{"actor":{"display_login":"bennyn"}}