{"action":"created","comment":{"url":"https://api.github.com/repos/advancedtelematic/ota-tuf/pulls/comments/240599777","pull_request_review_id":183662658,"id":240599777,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDU5OTc3Nw==","diff_hunk":"@@ -0,0 +1,8 @@\n+CREATE TABLE `delegations` (","path":"reposerver/src/main/resources/db/migration/V11__add_delegations.sql","position":1,"original_position":1,"commit_id":"4eb467ba1eed501b63e3e7ac964db94c304a7cea","original_commit_id":"4eb467ba1eed501b63e3e7ac964db94c304a7cea","user":{"login":"koshelev","id":1404649,"node_id":"MDQ6VXNlcjE0MDQ2NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/1404649?v=4","gravatar_id":"","url":"https://api.github.com/users/koshelev","html_url":"https://github.com/koshelev","followers_url":"https://api.github.com/users/koshelev/followers","following_url":"https://api.github.com/users/koshelev/following{/other_user}","gists_url":"https://api.github.com/users/koshelev/gists{/gist_id}","starred_url":"https://api.github.com/users/koshelev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koshelev/subscriptions","organizations_url":"https://api.github.com/users/koshelev/orgs","repos_url":"https://api.github.com/users/koshelev/repos","events_url":"https://api.github.com/users/koshelev/events{/privacy}","received_events_url":"https://api.github.com/users/koshelev/received_events","type":"User","site_admin":false},"body":"I would love to have a foreign key on `repo_id`","created_at":"2018-12-11T13:00:27Z","updated_at":"2018-12-11T13:00:27Z","html_url":"https://github.com/advancedtelematic/ota-tuf/pull/204#discussion_r240599777","pull_request_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/pulls/204","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/advancedtelematic/ota-tuf/pulls/comments/240599777"},"html":{"href":"https://github.com/advancedtelematic/ota-tuf/pull/204#discussion_r240599777"},"pull_request":{"href":"https://api.github.com/repos/advancedtelematic/ota-tuf/pulls/204"}}},"pull_request":{"url":"https://api.github.com/repos/advancedtelematic/ota-tuf/pulls/204","id":237329064,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MzI5MDY0","html_url":"https://github.com/advancedtelematic/ota-tuf/pull/204","diff_url":"https://github.com/advancedtelematic/ota-tuf/pull/204.diff","patch_url":"https://github.com/advancedtelematic/ota-tuf/pull/204.patch","issue_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/issues/204","number":204,"state":"open","locked":false,"title":"Delegations server+client","user":{"login":"simao","id":203575,"node_id":"MDQ6VXNlcjIwMzU3NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/203575?v=4","gravatar_id":"","url":"https://api.github.com/users/simao","html_url":"https://github.com/simao","followers_url":"https://api.github.com/users/simao/followers","following_url":"https://api.github.com/users/simao/following{/other_user}","gists_url":"https://api.github.com/users/simao/gists{/gist_id}","starred_url":"https://api.github.com/users/simao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simao/subscriptions","organizations_url":"https://api.github.com/users/simao/orgs","repos_url":"https://api.github.com/users/simao/repos","events_url":"https://api.github.com/users/simao/events{/privacy}","received_events_url":"https://api.github.com/users/simao/received_events","type":"User","site_admin":false},"body":null,"created_at":"2018-12-10T13:57:27Z","updated_at":"2018-12-11T13:00:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5fcae332664e5444d649afbfd4fcbfaa6b260f3c","assignee":null,"assignees":[],"requested_reviewers":[{"login":"houcros","id":7317712,"node_id":"MDQ6VXNlcjczMTc3MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/7317712?v=4","gravatar_id":"","url":"https://api.github.com/users/houcros","html_url":"https://github.com/houcros","followers_url":"https://api.github.com/users/houcros/followers","following_url":"https://api.github.com/users/houcros/following{/other_user}","gists_url":"https://api.github.com/users/houcros/gists{/gist_id}","starred_url":"https://api.github.com/users/houcros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houcros/subscriptions","organizations_url":"https://api.github.com/users/houcros/orgs","repos_url":"https://api.github.com/users/houcros/repos","events_url":"https://api.github.com/users/houcros/events{/privacy}","received_events_url":"https://api.github.com/users/houcros/received_events","type":"User","site_admin":false},{"login":"jerrytrieu","id":7487227,"node_id":"MDQ6VXNlcjc0ODcyMjc=","avatar_url":"https://avatars1.githubusercontent.com/u/7487227?v=4","gravatar_id":"","url":"https://api.github.com/users/jerrytrieu","html_url":"https://github.com/jerrytrieu","followers_url":"https://api.github.com/users/jerrytrieu/followers","following_url":"https://api.github.com/users/jerrytrieu/following{/other_user}","gists_url":"https://api.github.com/users/jerrytrieu/gists{/gist_id}","starred_url":"https://api.github.com/users/jerrytrieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerrytrieu/subscriptions","organizations_url":"https://api.github.com/users/jerrytrieu/orgs","repos_url":"https://api.github.com/users/jerrytrieu/repos","events_url":"https://api.github.com/users/jerrytrieu/events{/privacy}","received_events_url":"https://api.github.com/users/jerrytrieu/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/pulls/204/commits","review_comments_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/pulls/204/comments","review_comment_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/issues/204/comments","statuses_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/statuses/4eb467ba1eed501b63e3e7ac964db94c304a7cea","head":{"label":"advancedtelematic:feature/OTA-676/delegations","ref":"feature/OTA-676/delegations","sha":"4eb467ba1eed501b63e3e7ac964db94c304a7cea","user":{"login":"advancedtelematic","id":7944633,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5NDQ2MzM=","avatar_url":"https://avatars0.githubusercontent.com/u/7944633?v=4","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"repo":{"id":80709441,"node_id":"MDEwOlJlcG9zaXRvcnk4MDcwOTQ0MQ==","name":"ota-tuf","full_name":"advancedtelematic/ota-tuf","private":false,"owner":{"login":"advancedtelematic","id":7944633,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5NDQ2MzM=","avatar_url":"https://avatars0.githubusercontent.com/u/7944633?v=4","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/advancedtelematic/ota-tuf","description":"Scala implementation of TUF repo and tools","fork":false,"url":"https://api.github.com/repos/advancedtelematic/ota-tuf","forks_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/forks","keys_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/teams","hooks_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/hooks","issue_events_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/issues/events{/number}","events_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/events","assignees_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/assignees{/user}","branches_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/branches{/branch}","tags_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/tags","blobs_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/git/refs{/sha}","trees_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/statuses/{sha}","languages_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/languages","stargazers_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/stargazers","contributors_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/contributors","subscribers_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/subscribers","subscription_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/subscription","commits_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/commits{/sha}","git_commits_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/git/commits{/sha}","comments_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/comments{/number}","issue_comment_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/issues/comments{/number}","contents_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/contents/{+path}","compare_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/merges","archive_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/downloads","issues_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/issues{/number}","pulls_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/pulls{/number}","milestones_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/milestones{/number}","notifications_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/labels{/name}","releases_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/releases{/id}","deployments_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/deployments","created_at":"2017-02-02T09:12:40Z","updated_at":"2018-12-10T16:53:05Z","pushed_at":"2018-12-10T16:53:06Z","git_url":"git://github.com/advancedtelematic/ota-tuf.git","ssh_url":"git@github.com:advancedtelematic/ota-tuf.git","clone_url":"https://github.com/advancedtelematic/ota-tuf.git","svn_url":"https://github.com/advancedtelematic/ota-tuf","homepage":"","size":1227,"stargazers_count":3,"watchers_count":3,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":1,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"advancedtelematic:master","ref":"master","sha":"fb1e8f02696bfa665aabed1b278f31856ad4352b","user":{"login":"advancedtelematic","id":7944633,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5NDQ2MzM=","avatar_url":"https://avatars0.githubusercontent.com/u/7944633?v=4","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"repo":{"id":80709441,"node_id":"MDEwOlJlcG9zaXRvcnk4MDcwOTQ0MQ==","name":"ota-tuf","full_name":"advancedtelematic/ota-tuf","private":false,"owner":{"login":"advancedtelematic","id":7944633,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5NDQ2MzM=","avatar_url":"https://avatars0.githubusercontent.com/u/7944633?v=4","gravatar_id":"","url":"https://api.github.com/users/advancedtelematic","html_url":"https://github.com/advancedtelematic","followers_url":"https://api.github.com/users/advancedtelematic/followers","following_url":"https://api.github.com/users/advancedtelematic/following{/other_user}","gists_url":"https://api.github.com/users/advancedtelematic/gists{/gist_id}","starred_url":"https://api.github.com/users/advancedtelematic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advancedtelematic/subscriptions","organizations_url":"https://api.github.com/users/advancedtelematic/orgs","repos_url":"https://api.github.com/users/advancedtelematic/repos","events_url":"https://api.github.com/users/advancedtelematic/events{/privacy}","received_events_url":"https://api.github.com/users/advancedtelematic/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/advancedtelematic/ota-tuf","description":"Scala implementation of TUF repo and tools","fork":false,"url":"https://api.github.com/repos/advancedtelematic/ota-tuf","forks_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/forks","keys_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/teams","hooks_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/hooks","issue_events_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/issues/events{/number}","events_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/events","assignees_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/assignees{/user}","branches_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/branches{/branch}","tags_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/tags","blobs_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/git/refs{/sha}","trees_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/statuses/{sha}","languages_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/languages","stargazers_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/stargazers","contributors_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/contributors","subscribers_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/subscribers","subscription_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/subscription","commits_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/commits{/sha}","git_commits_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/git/commits{/sha}","comments_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/comments{/number}","issue_comment_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/issues/comments{/number}","contents_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/contents/{+path}","compare_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/merges","archive_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/downloads","issues_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/issues{/number}","pulls_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/pulls{/number}","milestones_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/milestones{/number}","notifications_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/labels{/name}","releases_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/releases{/id}","deployments_url":"https://api.github.com/repos/advancedtelematic/ota-tuf/deployments","created_at":"2017-02-02T09:12:40Z","updated_at":"2018-12-10T16:53:05Z","pushed_at":"2018-12-10T16:53:06Z","git_url":"git://github.com/advancedtelematic/ota-tuf.git","ssh_url":"git@github.com:advancedtelematic/ota-tuf.git","clone_url":"https://github.com/advancedtelematic/ota-tuf.git","svn_url":"https://github.com/advancedtelematic/ota-tuf","homepage":"","size":1227,"stargazers_count":3,"watchers_count":3,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":1,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/advancedtelematic/ota-tuf/pulls/204"},"html":{"href":"https://github.com/advancedtelematic/ota-tuf/pull/204"},"issue":{"href":"https://api.github.com/repos/advancedtelematic/ota-tuf/issues/204"},"comments":{"href":"https://api.github.com/repos/advancedtelematic/ota-tuf/issues/204/comments"},"review_comments":{"href":"https://api.github.com/repos/advancedtelematic/ota-tuf/pulls/204/comments"},"review_comment":{"href":"https://api.github.com/repos/advancedtelematic/ota-tuf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/advancedtelematic/ota-tuf/pulls/204/commits"},"statuses":{"href":"https://api.github.com/repos/advancedtelematic/ota-tuf/statuses/4eb467ba1eed501b63e3e7ac964db94c304a7cea"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"koshelev"}}