{"action":"created","comment":{"url":"https://api.github.com/repos/openSUSE/open-build-service/pulls/comments/36619786","id":36619786,"diff_hunk":"@@ -0,0 +1,8 @@\n+class DownloadRepository < ActiveRecord::Base","path":"src/api/app/models/download_repository.rb","position":1,"original_position":1,"commit_id":"e182352c5017871ca54847804025cecd2a13fb74","original_commit_id":"e182352c5017871ca54847804025cecd2a13fb74","user":{"login":"hennevogel","id":514785,"avatar_url":"https://avatars.githubusercontent.com/u/514785?v=3","gravatar_id":"","url":"https://api.github.com/users/hennevogel","html_url":"https://github.com/hennevogel","followers_url":"https://api.github.com/users/hennevogel/followers","following_url":"https://api.github.com/users/hennevogel/following{/other_user}","gists_url":"https://api.github.com/users/hennevogel/gists{/gist_id}","starred_url":"https://api.github.com/users/hennevogel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hennevogel/subscriptions","organizations_url":"https://api.github.com/users/hennevogel/orgs","repos_url":"https://api.github.com/users/hennevogel/repos","events_url":"https://api.github.com/users/hennevogel/events{/privacy}","received_events_url":"https://api.github.com/users/hennevogel/received_events","type":"User","site_admin":false},"body":"An completely empty DownloadRepository is okay? No validations at all?","created_at":"2015-08-10T10:54:41Z","updated_at":"2015-08-10T10:54:41Z","html_url":"https://github.com/openSUSE/open-build-service/pull/1020#discussion_r36619786","pull_request_url":"https://api.github.com/repos/openSUSE/open-build-service/pulls/1020","_links":{"self":{"href":"https://api.github.com/repos/openSUSE/open-build-service/pulls/comments/36619786"},"html":{"href":"https://github.com/openSUSE/open-build-service/pull/1020#discussion_r36619786"},"pull_request":{"href":"https://api.github.com/repos/openSUSE/open-build-service/pulls/1020"}}},"pull_request":{"url":"https://api.github.com/repos/openSUSE/open-build-service/pulls/1020","id":41900057,"html_url":"https://github.com/openSUSE/open-build-service/pull/1020","diff_url":"https://github.com/openSUSE/open-build-service/pull/1020.diff","patch_url":"https://github.com/openSUSE/open-build-service/pull/1020.patch","issue_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/1020","number":1020,"state":"open","locked":false,"title":"[api][backend] the new download on demand DoD configuration","user":{"login":"adrianschroeter","id":1067148,"avatar_url":"https://avatars.githubusercontent.com/u/1067148?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianschroeter","html_url":"https://github.com/adrianschroeter","followers_url":"https://api.github.com/users/adrianschroeter/followers","following_url":"https://api.github.com/users/adrianschroeter/following{/other_user}","gists_url":"https://api.github.com/users/adrianschroeter/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianschroeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianschroeter/subscriptions","organizations_url":"https://api.github.com/users/adrianschroeter/orgs","repos_url":"https://api.github.com/users/adrianschroeter/repos","events_url":"https://api.github.com/users/adrianschroeter/events{/privacy}","received_events_url":"https://api.github.com/users/adrianschroeter/received_events","type":"User","site_admin":false},"body":"incompatible on purpose, the old structure could not work with multiple repos in one project.\r\nAlso it was marked as experimental\r\n\r\n","created_at":"2015-08-07T14:55:21Z","updated_at":"2015-08-10T10:54:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a3c327dc8d910c9d8d746520bb29c6b57680c6cb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openSUSE/open-build-service/pulls/1020/commits","review_comments_url":"https://api.github.com/repos/openSUSE/open-build-service/pulls/1020/comments","review_comment_url":"https://api.github.com/repos/openSUSE/open-build-service/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/1020/comments","statuses_url":"https://api.github.com/repos/openSUSE/open-build-service/statuses/e182352c5017871ca54847804025cecd2a13fb74","head":{"label":"adrianschroeter:master","ref":"master","sha":"e182352c5017871ca54847804025cecd2a13fb74","user":{"login":"adrianschroeter","id":1067148,"avatar_url":"https://avatars.githubusercontent.com/u/1067148?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianschroeter","html_url":"https://github.com/adrianschroeter","followers_url":"https://api.github.com/users/adrianschroeter/followers","following_url":"https://api.github.com/users/adrianschroeter/following{/other_user}","gists_url":"https://api.github.com/users/adrianschroeter/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianschroeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianschroeter/subscriptions","organizations_url":"https://api.github.com/users/adrianschroeter/orgs","repos_url":"https://api.github.com/users/adrianschroeter/repos","events_url":"https://api.github.com/users/adrianschroeter/events{/privacy}","received_events_url":"https://api.github.com/users/adrianschroeter/received_events","type":"User","site_admin":false},"repo":{"id":6793559,"name":"open-build-service","full_name":"adrianschroeter/open-build-service","owner":{"login":"adrianschroeter","id":1067148,"avatar_url":"https://avatars.githubusercontent.com/u/1067148?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianschroeter","html_url":"https://github.com/adrianschroeter","followers_url":"https://api.github.com/users/adrianschroeter/followers","following_url":"https://api.github.com/users/adrianschroeter/following{/other_user}","gists_url":"https://api.github.com/users/adrianschroeter/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianschroeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianschroeter/subscriptions","organizations_url":"https://api.github.com/users/adrianschroeter/orgs","repos_url":"https://api.github.com/users/adrianschroeter/repos","events_url":"https://api.github.com/users/adrianschroeter/events{/privacy}","received_events_url":"https://api.github.com/users/adrianschroeter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adrianschroeter/open-build-service","description":"A generic system to build and distribute packages from sources in an automatic, consistent and reproducible way. Release your software for a wide range of operating systems and hardware architectures.","fork":true,"url":"https://api.github.com/repos/adrianschroeter/open-build-service","forks_url":"https://api.github.com/repos/adrianschroeter/open-build-service/forks","keys_url":"https://api.github.com/repos/adrianschroeter/open-build-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adrianschroeter/open-build-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adrianschroeter/open-build-service/teams","hooks_url":"https://api.github.com/repos/adrianschroeter/open-build-service/hooks","issue_events_url":"https://api.github.com/repos/adrianschroeter/open-build-service/issues/events{/number}","events_url":"https://api.github.com/repos/adrianschroeter/open-build-service/events","assignees_url":"https://api.github.com/repos/adrianschroeter/open-build-service/assignees{/user}","branches_url":"https://api.github.com/repos/adrianschroeter/open-build-service/branches{/branch}","tags_url":"https://api.github.com/repos/adrianschroeter/open-build-service/tags","blobs_url":"https://api.github.com/repos/adrianschroeter/open-build-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adrianschroeter/open-build-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adrianschroeter/open-build-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/adrianschroeter/open-build-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adrianschroeter/open-build-service/statuses/{sha}","languages_url":"https://api.github.com/repos/adrianschroeter/open-build-service/languages","stargazers_url":"https://api.github.com/repos/adrianschroeter/open-build-service/stargazers","contributors_url":"https://api.github.com/repos/adrianschroeter/open-build-service/contributors","subscribers_url":"https://api.github.com/repos/adrianschroeter/open-build-service/subscribers","subscription_url":"https://api.github.com/repos/adrianschroeter/open-build-service/subscription","commits_url":"https://api.github.com/repos/adrianschroeter/open-build-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/adrianschroeter/open-build-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/adrianschroeter/open-build-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/adrianschroeter/open-build-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/adrianschroeter/open-build-service/contents/{+path}","compare_url":"https://api.github.com/repos/adrianschroeter/open-build-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adrianschroeter/open-build-service/merges","archive_url":"https://api.github.com/repos/adrianschroeter/open-build-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adrianschroeter/open-build-service/downloads","issues_url":"https://api.github.com/repos/adrianschroeter/open-build-service/issues{/number}","pulls_url":"https://api.github.com/repos/adrianschroeter/open-build-service/pulls{/number}","milestones_url":"https://api.github.com/repos/adrianschroeter/open-build-service/milestones{/number}","notifications_url":"https://api.github.com/repos/adrianschroeter/open-build-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adrianschroeter/open-build-service/labels{/name}","releases_url":"https://api.github.com/repos/adrianschroeter/open-build-service/releases{/id}","created_at":"2012-11-21T10:01:53Z","updated_at":"2015-04-17T07:45:14Z","pushed_at":"2015-08-10T07:52:41Z","git_url":"git://github.com/adrianschroeter/open-build-service.git","ssh_url":"git@github.com:adrianschroeter/open-build-service.git","clone_url":"https://github.com/adrianschroeter/open-build-service.git","svn_url":"https://github.com/adrianschroeter/open-build-service","homepage":"http://openbuildservice.org/","size":30923,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"master"}},"base":{"label":"openSUSE:master","ref":"master","sha":"d508b6e2708788fe5866fbd07cc6026cc4e4a344","user":{"login":"openSUSE","id":623819,"avatar_url":"https://avatars.githubusercontent.com/u/623819?v=3","gravatar_id":"","url":"https://api.github.com/users/openSUSE","html_url":"https://github.com/openSUSE","followers_url":"https://api.github.com/users/openSUSE/followers","following_url":"https://api.github.com/users/openSUSE/following{/other_user}","gists_url":"https://api.github.com/users/openSUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/openSUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openSUSE/subscriptions","organizations_url":"https://api.github.com/users/openSUSE/orgs","repos_url":"https://api.github.com/users/openSUSE/repos","events_url":"https://api.github.com/users/openSUSE/events{/privacy}","received_events_url":"https://api.github.com/users/openSUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":2046192,"name":"open-build-service","full_name":"openSUSE/open-build-service","owner":{"login":"openSUSE","id":623819,"avatar_url":"https://avatars.githubusercontent.com/u/623819?v=3","gravatar_id":"","url":"https://api.github.com/users/openSUSE","html_url":"https://github.com/openSUSE","followers_url":"https://api.github.com/users/openSUSE/followers","following_url":"https://api.github.com/users/openSUSE/following{/other_user}","gists_url":"https://api.github.com/users/openSUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/openSUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openSUSE/subscriptions","organizations_url":"https://api.github.com/users/openSUSE/orgs","repos_url":"https://api.github.com/users/openSUSE/repos","events_url":"https://api.github.com/users/openSUSE/events{/privacy}","received_events_url":"https://api.github.com/users/openSUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openSUSE/open-build-service","description":"A generic system to build and distribute packages from sources in an automatic, consistent and reproducible way. Release your software for a wide range of operating systems and hardware architectures.","fork":false,"url":"https://api.github.com/repos/openSUSE/open-build-service","forks_url":"https://api.github.com/repos/openSUSE/open-build-service/forks","keys_url":"https://api.github.com/repos/openSUSE/open-build-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openSUSE/open-build-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openSUSE/open-build-service/teams","hooks_url":"https://api.github.com/repos/openSUSE/open-build-service/hooks","issue_events_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/events{/number}","events_url":"https://api.github.com/repos/openSUSE/open-build-service/events","assignees_url":"https://api.github.com/repos/openSUSE/open-build-service/assignees{/user}","branches_url":"https://api.github.com/repos/openSUSE/open-build-service/branches{/branch}","tags_url":"https://api.github.com/repos/openSUSE/open-build-service/tags","blobs_url":"https://api.github.com/repos/openSUSE/open-build-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openSUSE/open-build-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openSUSE/open-build-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/openSUSE/open-build-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openSUSE/open-build-service/statuses/{sha}","languages_url":"https://api.github.com/repos/openSUSE/open-build-service/languages","stargazers_url":"https://api.github.com/repos/openSUSE/open-build-service/stargazers","contributors_url":"https://api.github.com/repos/openSUSE/open-build-service/contributors","subscribers_url":"https://api.github.com/repos/openSUSE/open-build-service/subscribers","subscription_url":"https://api.github.com/repos/openSUSE/open-build-service/subscription","commits_url":"https://api.github.com/repos/openSUSE/open-build-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/openSUSE/open-build-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/openSUSE/open-build-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/openSUSE/open-build-service/contents/{+path}","compare_url":"https://api.github.com/repos/openSUSE/open-build-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openSUSE/open-build-service/merges","archive_url":"https://api.github.com/repos/openSUSE/open-build-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openSUSE/open-build-service/downloads","issues_url":"https://api.github.com/repos/openSUSE/open-build-service/issues{/number}","pulls_url":"https://api.github.com/repos/openSUSE/open-build-service/pulls{/number}","milestones_url":"https://api.github.com/repos/openSUSE/open-build-service/milestones{/number}","notifications_url":"https://api.github.com/repos/openSUSE/open-build-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openSUSE/open-build-service/labels{/name}","releases_url":"https://api.github.com/repos/openSUSE/open-build-service/releases{/id}","created_at":"2011-07-14T06:52:57Z","updated_at":"2015-08-10T05:15:22Z","pushed_at":"2015-08-10T07:52:42Z","git_url":"git://github.com/openSUSE/open-build-service.git","ssh_url":"git@github.com:openSUSE/open-build-service.git","clone_url":"https://github.com/openSUSE/open-build-service.git","svn_url":"https://github.com/openSUSE/open-build-service","homepage":"http://openbuildservice.org/","size":55047,"stargazers_count":156,"watchers_count":156,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":138,"mirror_url":null,"open_issues_count":177,"forks":138,"open_issues":177,"watchers":156,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openSUSE/open-build-service/pulls/1020"},"html":{"href":"https://github.com/openSUSE/open-build-service/pull/1020"},"issue":{"href":"https://api.github.com/repos/openSUSE/open-build-service/issues/1020"},"comments":{"href":"https://api.github.com/repos/openSUSE/open-build-service/issues/1020/comments"},"review_comments":{"href":"https://api.github.com/repos/openSUSE/open-build-service/pulls/1020/comments"},"review_comment":{"href":"https://api.github.com/repos/openSUSE/open-build-service/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openSUSE/open-build-service/pulls/1020/commits"},"statuses":{"href":"https://api.github.com/repos/openSUSE/open-build-service/statuses/e182352c5017871ca54847804025cecd2a13fb74"}}}}