{"action":"created","issue":{"url":"https://api.github.com/repos/GNOME/ostree/issues/139","labels_url":"https://api.github.com/repos/GNOME/ostree/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/GNOME/ostree/issues/139/comments","events_url":"https://api.github.com/repos/GNOME/ostree/issues/139/events","html_url":"https://github.com/GNOME/ostree/pull/139","id":105878487,"number":139,"title":"Single file deltas","user":{"login":"alexlarsson","id":990736,"avatar_url":"https://avatars.githubusercontent.com/u/990736?v=3","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},"labels":[],"state":"closed","locked":false,"assignee":{"login":"cgwalters","id":244096,"avatar_url":"https://avatars.githubusercontent.com/u/244096?v=3","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},"milestone":null,"comments":10,"created_at":"2015-09-10T19:11:57Z","updated_at":"2015-11-10T08:46:26Z","closed_at":"2015-11-10T08:46:26Z","pull_request":{"url":"https://api.github.com/repos/GNOME/ostree/pulls/139","html_url":"https://github.com/GNOME/ostree/pull/139","diff_url":"https://github.com/GNOME/ostree/pull/139.diff","patch_url":"https://github.com/GNOME/ostree/pull/139.patch"},"body":"Here is a new approach for https://github.com/GNOME/ostree/pull/136\r\nWe modify the delta part header to add a maybe variant which if set contains the actual parts instead of them being separate files on disk. This works both with offline apply and with pull, as well as not needing any new requirements. Things like origin url and original refname can be stored in the existing metadata field.\r\n\r\nThe bad part about this is that the format of the delta file is changed. We hardcode the full typename when we open the superblock, so there is no way to easily extend the format. The delta meta entry has a version number, but we can't actually use it because we need to know at open time the full type, which includes the full meta entry format. So, one can bump the version field, but not change the type of the struct.\r\n\r\nThe file format really needs some tweaks to be future safe. For instance, the delta-meta-entry should probably be \"av\" to be able to use the versioning as per above. And we should probably shove a \"av\" at the end of the main superblock for future extensibility.\r\n"},"comment":{"url":"https://api.github.com/repos/GNOME/ostree/issues/comments/155359717","html_url":"https://github.com/GNOME/ostree/pull/139#issuecomment-155359717","issue_url":"https://api.github.com/repos/GNOME/ostree/issues/139","id":155359717,"user":{"login":"alexlarsson","id":990736,"avatar_url":"https://avatars.githubusercontent.com/u/990736?v=3","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},"created_at":"2015-11-10T08:46:26Z","updated_at":"2015-11-10T08:46:26Z","body":"Pushed to master"}}