{"action":"created","issue":{"url":"https://api.github.com/repos/ostreedev/ostree/issues/1171","repository_url":"https://api.github.com/repos/ostreedev/ostree","labels_url":"https://api.github.com/repos/ostreedev/ostree/issues/1171/labels{/name}","comments_url":"https://api.github.com/repos/ostreedev/ostree/issues/1171/comments","events_url":"https://api.github.com/repos/ostreedev/ostree/issues/1171/events","html_url":"https://github.com/ostreedev/ostree/pull/1171","id":257510328,"number":1171,"title":"lib/checkout: Do UNION_FILES via atomic renameat()","user":{"login":"cgwalters","id":244096,"avatar_url":"https://avatars0.githubusercontent.com/u/244096?v=4","gravatar_id":"","url":"https://api.github.com/users/cgwalters","html_url":"https://github.com/cgwalters","followers_url":"https://api.github.com/users/cgwalters/followers","following_url":"https://api.github.com/users/cgwalters/following{/other_user}","gists_url":"https://api.github.com/users/cgwalters/gists{/gist_id}","starred_url":"https://api.github.com/users/cgwalters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgwalters/subscriptions","organizations_url":"https://api.github.com/users/cgwalters/orgs","repos_url":"https://api.github.com/users/cgwalters/repos","events_url":"https://api.github.com/users/cgwalters/events{/privacy}","received_events_url":"https://api.github.com/users/cgwalters/received_events","type":"User","site_admin":false},"labels":[{"id":559669455,"url":"https://api.github.com/repos/ostreedev/ostree/labels/homu/approved","name":"homu/approved","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-09-13T20:26:13Z","updated_at":"2017-09-15T16:44:06Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/ostreedev/ostree/pulls/1171","html_url":"https://github.com/ostreedev/ostree/pull/1171","diff_url":"https://github.com/ostreedev/ostree/pull/1171.diff","patch_url":"https://github.com/ostreedev/ostree/pull/1171.patch"},"body":"I was looking at fixing an `rpm-ostree livefs` bug where we need to replace\r\n`/usr/lib/passwd`. It's obviously bad if that temporarily disappears 😉. My plan\r\nis to do a subpath checkout of just `/usr/lib/{passwd,group}`.\r\n\r\nMake this atomic (i.e. file always exists) by changing the logic to create a\r\ntemporary link in repo/tmp, then rename() it into place.\r\n\r\nA bonus here is we kill one of the very few (only?) non-error-cleanup i.e.\r\n\"non-linear\" `goto`s in the ostree codebase."},"comment":{"url":"https://api.github.com/repos/ostreedev/ostree/issues/comments/329835926","html_url":"https://github.com/ostreedev/ostree/pull/1171#issuecomment-329835926","issue_url":"https://api.github.com/repos/ostreedev/ostree/issues/1171","id":329835926,"user":{"login":"rh-atomic-bot","id":14112924,"avatar_url":"https://avatars1.githubusercontent.com/u/14112924?v=4","gravatar_id":"","url":"https://api.github.com/users/rh-atomic-bot","html_url":"https://github.com/rh-atomic-bot","followers_url":"https://api.github.com/users/rh-atomic-bot/followers","following_url":"https://api.github.com/users/rh-atomic-bot/following{/other_user}","gists_url":"https://api.github.com/users/rh-atomic-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/rh-atomic-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rh-atomic-bot/subscriptions","organizations_url":"https://api.github.com/users/rh-atomic-bot/orgs","repos_url":"https://api.github.com/users/rh-atomic-bot/repos","events_url":"https://api.github.com/users/rh-atomic-bot/events{/privacy}","received_events_url":"https://api.github.com/users/rh-atomic-bot/received_events","type":"User","site_admin":false},"created_at":"2017-09-15T16:44:06Z","updated_at":"2017-09-15T16:44:06Z","author_association":"COLLABORATOR","body":":hourglass: Testing commit bb4e339 with merge c32f234..."}}
{"actor":{"display_login":"rh-atomic-bot"}}