{"action":"created","comment":{"url":"https://api.github.com/repos/ostreedev/ostree/pulls/comments/135532130","pull_request_review_id":58951552,"id":135532130,"diff_hunk":"@@ -808,6 +808,7 @@ typedef enum {\n   OSTREE_REPO_CHECKOUT_OVERWRITE_NONE = 0,\n   OSTREE_REPO_CHECKOUT_OVERWRITE_UNION_FILES = 1,\n   OSTREE_REPO_CHECKOUT_OVERWRITE_ADD_FILES = 2, /* Since: 2017.3 */\n+  OSTREE_REPO_CHECKOUT_OVERWRITE_STRICT = 3 /* Since: 2017.8 */","path":"src/libostree/ostree-repo.h","position":4,"original_position":4,"commit_id":"c370c8574a4b6f83920f1f5f4fd3610a1836bde7","original_commit_id":"c370c8574a4b6f83920f1f5f4fd3610a1836bde7","user":{"login":"peterbaouoft","id":22840230,"avatar_url":"https://avatars1.githubusercontent.com/u/22840230?v=4","gravatar_id":"","url":"https://api.github.com/users/peterbaouoft","html_url":"https://github.com/peterbaouoft","followers_url":"https://api.github.com/users/peterbaouoft/followers","following_url":"https://api.github.com/users/peterbaouoft/following{/other_user}","gists_url":"https://api.github.com/users/peterbaouoft/gists{/gist_id}","starred_url":"https://api.github.com/users/peterbaouoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterbaouoft/subscriptions","organizations_url":"https://api.github.com/users/peterbaouoft/orgs","repos_url":"https://api.github.com/users/peterbaouoft/repos","events_url":"https://api.github.com/users/peterbaouoft/events{/privacy}","received_events_url":"https://api.github.com/users/peterbaouoft/received_events","type":"User","site_admin":false},"body":"yup, sure :)","created_at":"2017-08-28T14:01:19Z","updated_at":"2017-08-28T14:01:19Z","html_url":"https://github.com/ostreedev/ostree/pull/1116#discussion_r135532130","pull_request_url":"https://api.github.com/repos/ostreedev/ostree/pulls/1116","_links":{"self":{"href":"https://api.github.com/repos/ostreedev/ostree/pulls/comments/135532130"},"html":{"href":"https://github.com/ostreedev/ostree/pull/1116#discussion_r135532130"},"pull_request":{"href":"https://api.github.com/repos/ostreedev/ostree/pulls/1116"}},"in_reply_to_id":135531718},"pull_request":{"url":"https://api.github.com/repos/ostreedev/ostree/pulls/1116","id":137758068,"html_url":"https://github.com/ostreedev/ostree/pull/1116","diff_url":"https://github.com/ostreedev/ostree/pull/1116.diff","patch_url":"https://github.com/ostreedev/ostree/pull/1116.patch","issue_url":"https://api.github.com/repos/ostreedev/ostree/issues/1116","number":1116,"state":"open","locked":false,"title":"checkout: add an extra checkout_overwrite mode","user":{"login":"peterbaouoft","id":22840230,"avatar_url":"https://avatars1.githubusercontent.com/u/22840230?v=4","gravatar_id":"","url":"https://api.github.com/users/peterbaouoft","html_url":"https://github.com/peterbaouoft","followers_url":"https://api.github.com/users/peterbaouoft/followers","following_url":"https://api.github.com/users/peterbaouoft/following{/other_user}","gists_url":"https://api.github.com/users/peterbaouoft/gists{/gist_id}","starred_url":"https://api.github.com/users/peterbaouoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterbaouoft/subscriptions","organizations_url":"https://api.github.com/users/peterbaouoft/orgs","repos_url":"https://api.github.com/users/peterbaouoft/repos","events_url":"https://api.github.com/users/peterbaouoft/events{/privacy}","received_events_url":"https://api.github.com/users/peterbaouoft/received_events","type":"User","site_admin":false},"body":"This is for issue https://github.com/projectatomic/rpm-ostree/issues/365,\r\nan extra option of overwrite is added so that when there is \"non-directory\"\r\nfile already exist during checkout, the error will be handled.\r\n\r\nThe extra overwrite mode will later be used in rpm-ostree `checkout_package` function to let the error handling happen before writing to rpmdb.\r\n\r\nCurrently, this is how it looks \r\n```\r\n[fedora@atomichosttesting entries]$ sudo rpm-ostree install origin-clients\r\nChecking out tree bc67ace... done\r\nEnabled rpm-md repositories: updates fedora fahc\r\n\r\nUpdating metadata for 'updates': [===========================================================================================================================================================================] 100%\r\nrpm-md repo 'updates'; generated: 2017-08-24 14:54:00\r\n\r\nrpm-md repo 'fedora' (cached); generated: 2017-07-05 20:31:38\r\n\r\nrpm-md repo 'fahc' (cached); generated: 2017-08-24 21:47:14\r\n\r\n\r\nImporting metadata [=========================================================================================================================================================================================] 100%\r\nResolving dependencies... done\r\nApplying 46 overlays... error: Checking out origin-clients-1.5.1-2.fc26.x86_64: Hardlinking 01/d9c29df59df7a8389aac5e91f4ef23303ae18c7bf57b285886428359d10673.file to kubectl: File exists\r\n```\r\n","created_at":"2017-08-25T21:11:50Z","updated_at":"2017-08-28T14:01:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb22f28c2f99d935907cc771ae151204181eea0e","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ostreedev/ostree/pulls/1116/commits","review_comments_url":"https://api.github.com/repos/ostreedev/ostree/pulls/1116/comments","review_comment_url":"https://api.github.com/repos/ostreedev/ostree/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ostreedev/ostree/issues/1116/comments","statuses_url":"https://api.github.com/repos/ostreedev/ostree/statuses/c370c8574a4b6f83920f1f5f4fd3610a1836bde7","head":{"label":"peterbaouoft:add_ostree_checkout_option","ref":"add_ostree_checkout_option","sha":"c370c8574a4b6f83920f1f5f4fd3610a1836bde7","user":{"login":"peterbaouoft","id":22840230,"avatar_url":"https://avatars1.githubusercontent.com/u/22840230?v=4","gravatar_id":"","url":"https://api.github.com/users/peterbaouoft","html_url":"https://github.com/peterbaouoft","followers_url":"https://api.github.com/users/peterbaouoft/followers","following_url":"https://api.github.com/users/peterbaouoft/following{/other_user}","gists_url":"https://api.github.com/users/peterbaouoft/gists{/gist_id}","starred_url":"https://api.github.com/users/peterbaouoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterbaouoft/subscriptions","organizations_url":"https://api.github.com/users/peterbaouoft/orgs","repos_url":"https://api.github.com/users/peterbaouoft/repos","events_url":"https://api.github.com/users/peterbaouoft/events{/privacy}","received_events_url":"https://api.github.com/users/peterbaouoft/received_events","type":"User","site_admin":false},"repo":{"id":97872557,"name":"ostree","full_name":"peterbaouoft/ostree","owner":{"login":"peterbaouoft","id":22840230,"avatar_url":"https://avatars1.githubusercontent.com/u/22840230?v=4","gravatar_id":"","url":"https://api.github.com/users/peterbaouoft","html_url":"https://github.com/peterbaouoft","followers_url":"https://api.github.com/users/peterbaouoft/followers","following_url":"https://api.github.com/users/peterbaouoft/following{/other_user}","gists_url":"https://api.github.com/users/peterbaouoft/gists{/gist_id}","starred_url":"https://api.github.com/users/peterbaouoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterbaouoft/subscriptions","organizations_url":"https://api.github.com/users/peterbaouoft/orgs","repos_url":"https://api.github.com/users/peterbaouoft/repos","events_url":"https://api.github.com/users/peterbaouoft/events{/privacy}","received_events_url":"https://api.github.com/users/peterbaouoft/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peterbaouoft/ostree","description":"Operating system and container binary deployment and upgrades","fork":true,"url":"https://api.github.com/repos/peterbaouoft/ostree","forks_url":"https://api.github.com/repos/peterbaouoft/ostree/forks","keys_url":"https://api.github.com/repos/peterbaouoft/ostree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peterbaouoft/ostree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peterbaouoft/ostree/teams","hooks_url":"https://api.github.com/repos/peterbaouoft/ostree/hooks","issue_events_url":"https://api.github.com/repos/peterbaouoft/ostree/issues/events{/number}","events_url":"https://api.github.com/repos/peterbaouoft/ostree/events","assignees_url":"https://api.github.com/repos/peterbaouoft/ostree/assignees{/user}","branches_url":"https://api.github.com/repos/peterbaouoft/ostree/branches{/branch}","tags_url":"https://api.github.com/repos/peterbaouoft/ostree/tags","blobs_url":"https://api.github.com/repos/peterbaouoft/ostree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peterbaouoft/ostree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peterbaouoft/ostree/git/refs{/sha}","trees_url":"https://api.github.com/repos/peterbaouoft/ostree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peterbaouoft/ostree/statuses/{sha}","languages_url":"https://api.github.com/repos/peterbaouoft/ostree/languages","stargazers_url":"https://api.github.com/repos/peterbaouoft/ostree/stargazers","contributors_url":"https://api.github.com/repos/peterbaouoft/ostree/contributors","subscribers_url":"https://api.github.com/repos/peterbaouoft/ostree/subscribers","subscription_url":"https://api.github.com/repos/peterbaouoft/ostree/subscription","commits_url":"https://api.github.com/repos/peterbaouoft/ostree/commits{/sha}","git_commits_url":"https://api.github.com/repos/peterbaouoft/ostree/git/commits{/sha}","comments_url":"https://api.github.com/repos/peterbaouoft/ostree/comments{/number}","issue_comment_url":"https://api.github.com/repos/peterbaouoft/ostree/issues/comments{/number}","contents_url":"https://api.github.com/repos/peterbaouoft/ostree/contents/{+path}","compare_url":"https://api.github.com/repos/peterbaouoft/ostree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peterbaouoft/ostree/merges","archive_url":"https://api.github.com/repos/peterbaouoft/ostree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peterbaouoft/ostree/downloads","issues_url":"https://api.github.com/repos/peterbaouoft/ostree/issues{/number}","pulls_url":"https://api.github.com/repos/peterbaouoft/ostree/pulls{/number}","milestones_url":"https://api.github.com/repos/peterbaouoft/ostree/milestones{/number}","notifications_url":"https://api.github.com/repos/peterbaouoft/ostree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peterbaouoft/ostree/labels{/name}","releases_url":"https://api.github.com/repos/peterbaouoft/ostree/releases{/id}","deployments_url":"https://api.github.com/repos/peterbaouoft/ostree/deployments","created_at":"2017-07-20T19:46:47Z","updated_at":"2017-07-20T19:46:49Z","pushed_at":"2017-08-25T21:06:45Z","git_url":"git://github.com/peterbaouoft/ostree.git","ssh_url":"git@github.com:peterbaouoft/ostree.git","clone_url":"https://github.com/peterbaouoft/ostree.git","svn_url":"https://github.com/peterbaouoft/ostree","homepage":"https://ostree.readthedocs.org/en/latest/","size":13698,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"ostreedev:master","ref":"master","sha":"5f8e339e45314174dd49221fcf09197e8d1e7ba4","user":{"login":"ostreedev","id":17928213,"avatar_url":"https://avatars1.githubusercontent.com/u/17928213?v=4","gravatar_id":"","url":"https://api.github.com/users/ostreedev","html_url":"https://github.com/ostreedev","followers_url":"https://api.github.com/users/ostreedev/followers","following_url":"https://api.github.com/users/ostreedev/following{/other_user}","gists_url":"https://api.github.com/users/ostreedev/gists{/gist_id}","starred_url":"https://api.github.com/users/ostreedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ostreedev/subscriptions","organizations_url":"https://api.github.com/users/ostreedev/orgs","repos_url":"https://api.github.com/users/ostreedev/repos","events_url":"https://api.github.com/users/ostreedev/events{/privacy}","received_events_url":"https://api.github.com/users/ostreedev/received_events","type":"Organization","site_admin":false},"repo":{"id":4614541,"name":"ostree","full_name":"ostreedev/ostree","owner":{"login":"ostreedev","id":17928213,"avatar_url":"https://avatars1.githubusercontent.com/u/17928213?v=4","gravatar_id":"","url":"https://api.github.com/users/ostreedev","html_url":"https://github.com/ostreedev","followers_url":"https://api.github.com/users/ostreedev/followers","following_url":"https://api.github.com/users/ostreedev/following{/other_user}","gists_url":"https://api.github.com/users/ostreedev/gists{/gist_id}","starred_url":"https://api.github.com/users/ostreedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ostreedev/subscriptions","organizations_url":"https://api.github.com/users/ostreedev/orgs","repos_url":"https://api.github.com/users/ostreedev/repos","events_url":"https://api.github.com/users/ostreedev/events{/privacy}","received_events_url":"https://api.github.com/users/ostreedev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ostreedev/ostree","description":"Operating system and container binary deployment and upgrades","fork":false,"url":"https://api.github.com/repos/ostreedev/ostree","forks_url":"https://api.github.com/repos/ostreedev/ostree/forks","keys_url":"https://api.github.com/repos/ostreedev/ostree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ostreedev/ostree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ostreedev/ostree/teams","hooks_url":"https://api.github.com/repos/ostreedev/ostree/hooks","issue_events_url":"https://api.github.com/repos/ostreedev/ostree/issues/events{/number}","events_url":"https://api.github.com/repos/ostreedev/ostree/events","assignees_url":"https://api.github.com/repos/ostreedev/ostree/assignees{/user}","branches_url":"https://api.github.com/repos/ostreedev/ostree/branches{/branch}","tags_url":"https://api.github.com/repos/ostreedev/ostree/tags","blobs_url":"https://api.github.com/repos/ostreedev/ostree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ostreedev/ostree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ostreedev/ostree/git/refs{/sha}","trees_url":"https://api.github.com/repos/ostreedev/ostree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ostreedev/ostree/statuses/{sha}","languages_url":"https://api.github.com/repos/ostreedev/ostree/languages","stargazers_url":"https://api.github.com/repos/ostreedev/ostree/stargazers","contributors_url":"https://api.github.com/repos/ostreedev/ostree/contributors","subscribers_url":"https://api.github.com/repos/ostreedev/ostree/subscribers","subscription_url":"https://api.github.com/repos/ostreedev/ostree/subscription","commits_url":"https://api.github.com/repos/ostreedev/ostree/commits{/sha}","git_commits_url":"https://api.github.com/repos/ostreedev/ostree/git/commits{/sha}","comments_url":"https://api.github.com/repos/ostreedev/ostree/comments{/number}","issue_comment_url":"https://api.github.com/repos/ostreedev/ostree/issues/comments{/number}","contents_url":"https://api.github.com/repos/ostreedev/ostree/contents/{+path}","compare_url":"https://api.github.com/repos/ostreedev/ostree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ostreedev/ostree/merges","archive_url":"https://api.github.com/repos/ostreedev/ostree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ostreedev/ostree/downloads","issues_url":"https://api.github.com/repos/ostreedev/ostree/issues{/number}","pulls_url":"https://api.github.com/repos/ostreedev/ostree/pulls{/number}","milestones_url":"https://api.github.com/repos/ostreedev/ostree/milestones{/number}","notifications_url":"https://api.github.com/repos/ostreedev/ostree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ostreedev/ostree/labels{/name}","releases_url":"https://api.github.com/repos/ostreedev/ostree/releases{/id}","deployments_url":"https://api.github.com/repos/ostreedev/ostree/deployments","created_at":"2012-06-10T11:22:40Z","updated_at":"2017-08-28T02:33:12Z","pushed_at":"2017-08-25T21:11:51Z","git_url":"git://github.com/ostreedev/ostree.git","ssh_url":"git@github.com:ostreedev/ostree.git","clone_url":"https://github.com/ostreedev/ostree.git","svn_url":"https://github.com/ostreedev/ostree","homepage":"https://ostree.readthedocs.org/en/latest/","size":13702,"stargazers_count":164,"watchers_count":164,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":76,"mirror_url":null,"open_issues_count":103,"forks":76,"open_issues":103,"watchers":164,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ostreedev/ostree/pulls/1116"},"html":{"href":"https://github.com/ostreedev/ostree/pull/1116"},"issue":{"href":"https://api.github.com/repos/ostreedev/ostree/issues/1116"},"comments":{"href":"https://api.github.com/repos/ostreedev/ostree/issues/1116/comments"},"review_comments":{"href":"https://api.github.com/repos/ostreedev/ostree/pulls/1116/comments"},"review_comment":{"href":"https://api.github.com/repos/ostreedev/ostree/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ostreedev/ostree/pulls/1116/commits"},"statuses":{"href":"https://api.github.com/repos/ostreedev/ostree/statuses/c370c8574a4b6f83920f1f5f4fd3610a1836bde7"}}}}
{"actor":{"display_login":"peterbaouoft"}}