{"action":"created","issue":{"url":"https://api.github.com/repos/pachyderm/pachyderm/issues/303","repository_url":"https://api.github.com/repos/pachyderm/pachyderm","labels_url":"https://api.github.com/repos/pachyderm/pachyderm/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/pachyderm/pachyderm/issues/303/comments","events_url":"https://api.github.com/repos/pachyderm/pachyderm/issues/303/events","html_url":"https://github.com/pachyderm/pachyderm/issues/303","id":148503511,"number":303,"title":"Allow for overwriting of data as a commit output","user":{"login":"JonathanFraser","id":27691,"avatar_url":"https://avatars.githubusercontent.com/u/27691?v=3","gravatar_id":"","url":"https://api.github.com/users/JonathanFraser","html_url":"https://github.com/JonathanFraser","followers_url":"https://api.github.com/users/JonathanFraser/followers","following_url":"https://api.github.com/users/JonathanFraser/following{/other_user}","gists_url":"https://api.github.com/users/JonathanFraser/gists{/gist_id}","starred_url":"https://api.github.com/users/JonathanFraser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonathanFraser/subscriptions","organizations_url":"https://api.github.com/users/JonathanFraser/orgs","repos_url":"https://api.github.com/users/JonathanFraser/repos","events_url":"https://api.github.com/users/JonathanFraser/events{/privacy}","received_events_url":"https://api.github.com/users/JonathanFraser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"sjezewski","id":597953,"avatar_url":"https://avatars.githubusercontent.com/u/597953?v=3","gravatar_id":"","url":"https://api.github.com/users/sjezewski","html_url":"https://github.com/sjezewski","followers_url":"https://api.github.com/users/sjezewski/followers","following_url":"https://api.github.com/users/sjezewski/following{/other_user}","gists_url":"https://api.github.com/users/sjezewski/gists{/gist_id}","starred_url":"https://api.github.com/users/sjezewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjezewski/subscriptions","organizations_url":"https://api.github.com/users/sjezewski/orgs","repos_url":"https://api.github.com/users/sjezewski/repos","events_url":"https://api.github.com/users/sjezewski/events{/privacy}","received_events_url":"https://api.github.com/users/sjezewski/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/pachyderm/pachyderm/milestones/1","html_url":"https://github.com/pachyderm/pachyderm/milestones/v1.0","labels_url":"https://api.github.com/repos/pachyderm/pachyderm/milestones/1/labels","id":1400478,"number":1,"title":"v1.0","description":"","creator":{"login":"jdoliner","id":43867,"avatar_url":"https://avatars.githubusercontent.com/u/43867?v=3","gravatar_id":"","url":"https://api.github.com/users/jdoliner","html_url":"https://github.com/jdoliner","followers_url":"https://api.github.com/users/jdoliner/followers","following_url":"https://api.github.com/users/jdoliner/following{/other_user}","gists_url":"https://api.github.com/users/jdoliner/gists{/gist_id}","starred_url":"https://api.github.com/users/jdoliner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdoliner/subscriptions","organizations_url":"https://api.github.com/users/jdoliner/orgs","repos_url":"https://api.github.com/users/jdoliner/repos","events_url":"https://api.github.com/users/jdoliner/events{/privacy}","received_events_url":"https://api.github.com/users/jdoliner/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":30,"state":"open","created_at":"2015-11-08T22:58:35Z","updated_at":"2016-04-26T22:22:13Z","due_on":"2016-05-03T07:00:00Z","closed_at":null},"comments":11,"created_at":"2016-04-14T22:39:06Z","updated_at":"2016-04-27T18:10:03Z","closed_at":null,"body":"Currently writing to a new commit merely appends the data to reduced file. It would be nice to be able to overwrite the file rather than just append to it. "},"comment":{"url":"https://api.github.com/repos/pachyderm/pachyderm/issues/comments/215176673","html_url":"https://github.com/pachyderm/pachyderm/issues/303#issuecomment-215176673","issue_url":"https://api.github.com/repos/pachyderm/pachyderm/issues/303","id":215176673,"user":{"login":"sjezewski","id":597953,"avatar_url":"https://avatars.githubusercontent.com/u/597953?v=3","gravatar_id":"","url":"https://api.github.com/users/sjezewski","html_url":"https://github.com/sjezewski","followers_url":"https://api.github.com/users/sjezewski/followers","following_url":"https://api.github.com/users/sjezewski/following{/other_user}","gists_url":"https://api.github.com/users/sjezewski/gists{/gist_id}","starred_url":"https://api.github.com/users/sjezewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjezewski/subscriptions","organizations_url":"https://api.github.com/users/sjezewski/orgs","repos_url":"https://api.github.com/users/sjezewski/repos","events_url":"https://api.github.com/users/sjezewski/events{/privacy}","received_events_url":"https://api.github.com/users/sjezewski/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T18:10:03Z","updated_at":"2016-04-27T18:10:03Z","body":"Looking at this now / making a failing test case (`TestFileOverwrite`). Logs for osx/linux attached - these are the lines just when trying to overwrite the file.\r\n\r\nIn each case we see a:\r\n\r\n```shell\r\nWriteRequest: Goodbye, world\r\n@0\r\n```\r\n\r\nBut I think osx always reports writes @ 0 -- so we may not have a way of differentiating an append vs overwrite. Will add a negative test case for append next.\r\n\r\n[linux-test-failure.log.txt](https://github.com/pachyderm/pachyderm/files/239121/linux-test-failure.log.txt)\r\n[macosx-test-failure.log.txt](https://github.com/pachyderm/pachyderm/files/239122/macosx-test-failure.log.txt)\r\n\r\n\r\n\r\n\r\n"}}