{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/15718","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/15718/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/15718/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/15718/events","html_url":"https://github.com/Microsoft/vscode/issues/15718","id":190281171,"number":15718,"title":"Backup service: provide a list of available backups for a workspace","user":{"login":"bpasero","id":900690,"avatar_url":"https://avatars.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false},"labels":[{"id":461390715,"url":"https://api.github.com/repos/Microsoft/vscode/labels/hot-exit","name":"hot-exit","color":"1d76db","default":false},{"id":287991608,"url":"https://api.github.com/repos/Microsoft/vscode/labels/important","name":"important","color":"e11d21","default":false},{"id":272689423,"url":"https://api.github.com/repos/Microsoft/vscode/labels/needs%20more%20info","name":"needs more info","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":{"login":"Tyriar","id":2193314,"avatar_url":"https://avatars.githubusercontent.com/u/2193314?v=3","gravatar_id":"","url":"https://api.github.com/users/Tyriar","html_url":"https://github.com/Tyriar","followers_url":"https://api.github.com/users/Tyriar/followers","following_url":"https://api.github.com/users/Tyriar/following{/other_user}","gists_url":"https://api.github.com/users/Tyriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Tyriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tyriar/subscriptions","organizations_url":"https://api.github.com/users/Tyriar/orgs","repos_url":"https://api.github.com/users/Tyriar/repos","events_url":"https://api.github.com/users/Tyriar/events{/privacy}","received_events_url":"https://api.github.com/users/Tyriar/received_events","type":"User","site_admin":false},"assignees":[{"login":"Tyriar","id":2193314,"avatar_url":"https://avatars.githubusercontent.com/u/2193314?v=3","gravatar_id":"","url":"https://api.github.com/users/Tyriar","html_url":"https://github.com/Tyriar","followers_url":"https://api.github.com/users/Tyriar/followers","following_url":"https://api.github.com/users/Tyriar/following{/other_user}","gists_url":"https://api.github.com/users/Tyriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Tyriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tyriar/subscriptions","organizations_url":"https://api.github.com/users/Tyriar/orgs","repos_url":"https://api.github.com/users/Tyriar/repos","events_url":"https://api.github.com/users/Tyriar/events{/privacy}","received_events_url":"https://api.github.com/users/Tyriar/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-11-18T10:08:37Z","updated_at":"2016-11-23T05:04:43Z","closed_at":null,"body":"This is a requirement to properly restore backups after a crash (https://github.com/Microsoft/vscode/issues/12327): Upon restart we automatically open folders that contain backups, however we miss information about the files that have backups.\r\n\r\nThe backup service should provide a method to get all untitled and file backups for a workspace so that we can reopen them. To minimize disk access and chances of staleness, I suggest to include the path within the backup file itself. E.g. the first N-bytes (up to a specific delimiter that is not allowed in file paths) can be the path and the rest is the file content. I would NOT use JSON for this and also NOT store this separately to avoid staleness issues."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/262435376","html_url":"https://github.com/Microsoft/vscode/issues/15718#issuecomment-262435376","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/15718","id":262435376,"user":{"login":"Tyriar","id":2193314,"avatar_url":"https://avatars.githubusercontent.com/u/2193314?v=3","gravatar_id":"","url":"https://api.github.com/users/Tyriar","html_url":"https://github.com/Tyriar","followers_url":"https://api.github.com/users/Tyriar/followers","following_url":"https://api.github.com/users/Tyriar/following{/other_user}","gists_url":"https://api.github.com/users/Tyriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Tyriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tyriar/subscriptions","organizations_url":"https://api.github.com/users/Tyriar/orgs","repos_url":"https://api.github.com/users/Tyriar/repos","events_url":"https://api.github.com/users/Tyriar/events{/privacy}","received_events_url":"https://api.github.com/users/Tyriar/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T05:04:43Z","updated_at":"2016-11-23T05:04:43Z","body":"@bpasero the position was so `stream.readExactlyByFile` could be used with knowing the number of bytes to read in. Is there a nice way to read in x lines or do we have to estimate the number of bytes and try again if it wasn't enough?"}}
{"actor":{"display_login":"Tyriar"}}