{"action":"opened","number":1865,"pull_request":{"url":"https://api.github.com/repos/flatpak/flatpak/pulls/1865","id":199869174,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5ODY5MTc0","html_url":"https://github.com/flatpak/flatpak/pull/1865","diff_url":"https://github.com/flatpak/flatpak/pull/1865.diff","patch_url":"https://github.com/flatpak/flatpak/pull/1865.patch","issue_url":"https://api.github.com/repos/flatpak/flatpak/issues/1865","number":1865,"state":"open","locked":false,"title":"system-helper: Add EnsureRepo operation","user":{"login":"alexlarsson","id":990736,"node_id":"MDQ6VXNlcjk5MDczNg==","avatar_url":"https://avatars2.githubusercontent.com/u/990736?v=4","gravatar_id":"","url":"https://api.github.com/users/alexlarsson","html_url":"https://github.com/alexlarsson","followers_url":"https://api.github.com/users/alexlarsson/followers","following_url":"https://api.github.com/users/alexlarsson/following{/other_user}","gists_url":"https://api.github.com/users/alexlarsson/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlarsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlarsson/subscriptions","organizations_url":"https://api.github.com/users/alexlarsson/orgs","repos_url":"https://api.github.com/users/alexlarsson/repos","events_url":"https://api.github.com/users/alexlarsson/events{/privacy}","received_events_url":"https://api.github.com/users/alexlarsson/received_events","type":"User","site_admin":false},"body":"This is used to create the /var/lib/flatpak repo if\r\nneeded so that other later operations work. We have\r\nsome partial support for it not working in various\r\noperations (using the allow_empty argument) but\r\nthis is in no way complete. For example, this\r\ncan easily happen if you have a per-user installation\r\nbut no system one and then you run flatpak install\r\nwith no --user, then it will try to figure out\r\nwhich one to use and die.","created_at":"2018-07-07T00:02:42Z","updated_at":"2018-07-07T00:02:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/flatpak/flatpak/pulls/1865/commits","review_comments_url":"https://api.github.com/repos/flatpak/flatpak/pulls/1865/comments","review_comment_url":"https://api.github.com/repos/flatpak/flatpak/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flatpak/flatpak/issues/1865/comments","statuses_url":"https://api.github.com/repos/flatpak/flatpak/statuses/22729c8c65767acb0985e90ec9c0fd95802d942c","head":{"label":"alexlarsson:ensure-system-repo","ref":"ensure-system-repo","sha":"22729c8c65767acb0985e90ec9c0fd95802d942c","user":{"login":"alexlarsson","id":990736,"node_id":"MDQ6VXNlcjk5MDczNg==","avatar_url":"https://avatars2.githubusercontent.com/u/990736?v=4","gravatar_id":"","url":"https://api.github.com/users/alexlarsson","html_url":"https://github.com/alexlarsson","followers_url":"https://api.github.com/users/alexlarsson/followers","following_url":"https://api.github.com/users/alexlarsson/following{/other_user}","gists_url":"https://api.github.com/users/alexlarsson/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlarsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlarsson/subscriptions","organizations_url":"https://api.github.com/users/alexlarsson/orgs","repos_url":"https://api.github.com/users/alexlarsson/repos","events_url":"https://api.github.com/users/alexlarsson/events{/privacy}","received_events_url":"https://api.github.com/users/alexlarsson/received_events","type":"User","site_admin":false},"repo":{"id":60786210,"node_id":"MDEwOlJlcG9zaXRvcnk2MDc4NjIxMA==","name":"flatpak","full_name":"alexlarsson/flatpak","owner":{"login":"alexlarsson","id":990736,"node_id":"MDQ6VXNlcjk5MDczNg==","avatar_url":"https://avatars2.githubusercontent.com/u/990736?v=4","gravatar_id":"","url":"https://api.github.com/users/alexlarsson","html_url":"https://github.com/alexlarsson","followers_url":"https://api.github.com/users/alexlarsson/followers","following_url":"https://api.github.com/users/alexlarsson/following{/other_user}","gists_url":"https://api.github.com/users/alexlarsson/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlarsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlarsson/subscriptions","organizations_url":"https://api.github.com/users/alexlarsson/orgs","repos_url":"https://api.github.com/users/alexlarsson/repos","events_url":"https://api.github.com/users/alexlarsson/events{/privacy}","received_events_url":"https://api.github.com/users/alexlarsson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexlarsson/flatpak","description":"Linux application sandboxing and distribution framework (formerly xdg-app)","fork":true,"url":"https://api.github.com/repos/alexlarsson/flatpak","forks_url":"https://api.github.com/repos/alexlarsson/flatpak/forks","keys_url":"https://api.github.com/repos/alexlarsson/flatpak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexlarsson/flatpak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexlarsson/flatpak/teams","hooks_url":"https://api.github.com/repos/alexlarsson/flatpak/hooks","issue_events_url":"https://api.github.com/repos/alexlarsson/flatpak/issues/events{/number}","events_url":"https://api.github.com/repos/alexlarsson/flatpak/events","assignees_url":"https://api.github.com/repos/alexlarsson/flatpak/assignees{/user}","branches_url":"https://api.github.com/repos/alexlarsson/flatpak/branches{/branch}","tags_url":"https://api.github.com/repos/alexlarsson/flatpak/tags","blobs_url":"https://api.github.com/repos/alexlarsson/flatpak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexlarsson/flatpak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexlarsson/flatpak/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexlarsson/flatpak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexlarsson/flatpak/statuses/{sha}","languages_url":"https://api.github.com/repos/alexlarsson/flatpak/languages","stargazers_url":"https://api.github.com/repos/alexlarsson/flatpak/stargazers","contributors_url":"https://api.github.com/repos/alexlarsson/flatpak/contributors","subscribers_url":"https://api.github.com/repos/alexlarsson/flatpak/subscribers","subscription_url":"https://api.github.com/repos/alexlarsson/flatpak/subscription","commits_url":"https://api.github.com/repos/alexlarsson/flatpak/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexlarsson/flatpak/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexlarsson/flatpak/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexlarsson/flatpak/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexlarsson/flatpak/contents/{+path}","compare_url":"https://api.github.com/repos/alexlarsson/flatpak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexlarsson/flatpak/merges","archive_url":"https://api.github.com/repos/alexlarsson/flatpak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexlarsson/flatpak/downloads","issues_url":"https://api.github.com/repos/alexlarsson/flatpak/issues{/number}","pulls_url":"https://api.github.com/repos/alexlarsson/flatpak/pulls{/number}","milestones_url":"https://api.github.com/repos/alexlarsson/flatpak/milestones{/number}","notifications_url":"https://api.github.com/repos/alexlarsson/flatpak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexlarsson/flatpak/labels{/name}","releases_url":"https://api.github.com/repos/alexlarsson/flatpak/releases{/id}","deployments_url":"https://api.github.com/repos/alexlarsson/flatpak/deployments","created_at":"2016-06-09T15:38:25Z","updated_at":"2018-06-21T08:16:42Z","pushed_at":"2018-07-07T00:01:43Z","git_url":"git://github.com/alexlarsson/flatpak.git","ssh_url":"git@github.com:alexlarsson/flatpak.git","clone_url":"https://github.com/alexlarsson/flatpak.git","svn_url":"https://github.com/alexlarsson/flatpak","homepage":"http://flatpak.org","size":13135,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1","node_id":"MDc6TGljZW5zZTEx"},"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"flatpak:master","ref":"master","sha":"b999a785f2c8496e95b528c3dee901a0ffe32bbd","user":{"login":"flatpak","id":19473042,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDczMDQy","avatar_url":"https://avatars0.githubusercontent.com/u/19473042?v=4","gravatar_id":"","url":"https://api.github.com/users/flatpak","html_url":"https://github.com/flatpak","followers_url":"https://api.github.com/users/flatpak/followers","following_url":"https://api.github.com/users/flatpak/following{/other_user}","gists_url":"https://api.github.com/users/flatpak/gists{/gist_id}","starred_url":"https://api.github.com/users/flatpak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flatpak/subscriptions","organizations_url":"https://api.github.com/users/flatpak/orgs","repos_url":"https://api.github.com/users/flatpak/repos","events_url":"https://api.github.com/users/flatpak/events{/privacy}","received_events_url":"https://api.github.com/users/flatpak/received_events","type":"Organization","site_admin":false},"repo":{"id":59213200,"node_id":"MDEwOlJlcG9zaXRvcnk1OTIxMzIwMA==","name":"flatpak","full_name":"flatpak/flatpak","owner":{"login":"flatpak","id":19473042,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDczMDQy","avatar_url":"https://avatars0.githubusercontent.com/u/19473042?v=4","gravatar_id":"","url":"https://api.github.com/users/flatpak","html_url":"https://github.com/flatpak","followers_url":"https://api.github.com/users/flatpak/followers","following_url":"https://api.github.com/users/flatpak/following{/other_user}","gists_url":"https://api.github.com/users/flatpak/gists{/gist_id}","starred_url":"https://api.github.com/users/flatpak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flatpak/subscriptions","organizations_url":"https://api.github.com/users/flatpak/orgs","repos_url":"https://api.github.com/users/flatpak/repos","events_url":"https://api.github.com/users/flatpak/events{/privacy}","received_events_url":"https://api.github.com/users/flatpak/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flatpak/flatpak","description":"Linux application sandboxing and distribution framework (formerly xdg-app)","fork":false,"url":"https://api.github.com/repos/flatpak/flatpak","forks_url":"https://api.github.com/repos/flatpak/flatpak/forks","keys_url":"https://api.github.com/repos/flatpak/flatpak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flatpak/flatpak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flatpak/flatpak/teams","hooks_url":"https://api.github.com/repos/flatpak/flatpak/hooks","issue_events_url":"https://api.github.com/repos/flatpak/flatpak/issues/events{/number}","events_url":"https://api.github.com/repos/flatpak/flatpak/events","assignees_url":"https://api.github.com/repos/flatpak/flatpak/assignees{/user}","branches_url":"https://api.github.com/repos/flatpak/flatpak/branches{/branch}","tags_url":"https://api.github.com/repos/flatpak/flatpak/tags","blobs_url":"https://api.github.com/repos/flatpak/flatpak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flatpak/flatpak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flatpak/flatpak/git/refs{/sha}","trees_url":"https://api.github.com/repos/flatpak/flatpak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flatpak/flatpak/statuses/{sha}","languages_url":"https://api.github.com/repos/flatpak/flatpak/languages","stargazers_url":"https://api.github.com/repos/flatpak/flatpak/stargazers","contributors_url":"https://api.github.com/repos/flatpak/flatpak/contributors","subscribers_url":"https://api.github.com/repos/flatpak/flatpak/subscribers","subscription_url":"https://api.github.com/repos/flatpak/flatpak/subscription","commits_url":"https://api.github.com/repos/flatpak/flatpak/commits{/sha}","git_commits_url":"https://api.github.com/repos/flatpak/flatpak/git/commits{/sha}","comments_url":"https://api.github.com/repos/flatpak/flatpak/comments{/number}","issue_comment_url":"https://api.github.com/repos/flatpak/flatpak/issues/comments{/number}","contents_url":"https://api.github.com/repos/flatpak/flatpak/contents/{+path}","compare_url":"https://api.github.com/repos/flatpak/flatpak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flatpak/flatpak/merges","archive_url":"https://api.github.com/repos/flatpak/flatpak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flatpak/flatpak/downloads","issues_url":"https://api.github.com/repos/flatpak/flatpak/issues{/number}","pulls_url":"https://api.github.com/repos/flatpak/flatpak/pulls{/number}","milestones_url":"https://api.github.com/repos/flatpak/flatpak/milestones{/number}","notifications_url":"https://api.github.com/repos/flatpak/flatpak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flatpak/flatpak/labels{/name}","releases_url":"https://api.github.com/repos/flatpak/flatpak/releases{/id}","deployments_url":"https://api.github.com/repos/flatpak/flatpak/deployments","created_at":"2016-05-19T14:19:21Z","updated_at":"2018-07-06T06:11:25Z","pushed_at":"2018-07-06T17:32:48Z","git_url":"git://github.com/flatpak/flatpak.git","ssh_url":"git@github.com:flatpak/flatpak.git","clone_url":"https://github.com/flatpak/flatpak.git","svn_url":"https://github.com/flatpak/flatpak","homepage":"http://flatpak.org","size":13067,"stargazers_count":1418,"watchers_count":1418,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":158,"mirror_url":null,"archived":false,"open_issues_count":376,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1","node_id":"MDc6TGljZW5zZTEx"},"forks":158,"open_issues":376,"watchers":1418,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flatpak/flatpak/pulls/1865"},"html":{"href":"https://github.com/flatpak/flatpak/pull/1865"},"issue":{"href":"https://api.github.com/repos/flatpak/flatpak/issues/1865"},"comments":{"href":"https://api.github.com/repos/flatpak/flatpak/issues/1865/comments"},"review_comments":{"href":"https://api.github.com/repos/flatpak/flatpak/pulls/1865/comments"},"review_comment":{"href":"https://api.github.com/repos/flatpak/flatpak/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flatpak/flatpak/pulls/1865/commits"},"statuses":{"href":"https://api.github.com/repos/flatpak/flatpak/statuses/22729c8c65767acb0985e90ec9c0fd95802d942c"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":138,"deletions":72,"changed_files":3}}
{"actor":{"display_login":"alexlarsson"}}