{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/20525","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/20525/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/20525/comments","events_url":"https://api.github.com/repos/docker/docker/issues/20525/events","html_url":"https://github.com/docker/docker/pull/20525","id":135008399,"number":20525,"title":"Adding readOnly parameter to graphdriver Create method","user":{"login":"swernli","id":10567287,"avatar_url":"https://avatars.githubusercontent.com/u/10567287?v=3","gravatar_id":"","url":"https://api.github.com/users/swernli","html_url":"https://github.com/swernli","followers_url":"https://api.github.com/users/swernli/followers","following_url":"https://api.github.com/users/swernli/following{/other_user}","gists_url":"https://api.github.com/users/swernli/gists{/gist_id}","starred_url":"https://api.github.com/users/swernli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swernli/subscriptions","organizations_url":"https://api.github.com/users/swernli/orgs","repos_url":"https://api.github.com/users/swernli/repos","events_url":"https://api.github.com/users/swernli/events{/privacy}","received_events_url":"https://api.github.com/users/swernli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/group/windows","name":"group/windows","color":"F6FBFF"},{"url":"https://api.github.com/repos/docker/docker/labels/status/0-triage","name":"status/0-triage","color":"EEEEEE"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-20T00:15:28Z","updated_at":"2016-02-20T00:18:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/20525","html_url":"https://github.com/docker/docker/pull/20525","diff_url":"https://github.com/docker/docker/pull/20525.diff","patch_url":"https://github.com/docker/docker/pull/20525.patch"},"body":"@jstarks @jhowardmsft @tonistiigi @cpuguy83 \r\n(Re-opening as new PR, replacing https://github.com/docker/docker/pull/20473)\r\nSince the layer store was introduced, the level above the graphdriver\r\nnow differentiates between read/write and read-only layers.  This\r\ndistinction is useful for graphdrivers that need to take special steps\r\nwhen creating a layer based on whether it is read-only or not.\r\nAdding this parameter allows the graphdrivers to differentiate, which\r\nin the case of the Windows graphdriver, removes our dependence on parsing\r\nthe id of the parent for \"-init\" in order to infer this information.\r\n\r\nThis will also set the stage for unblocking some of the layer store\r\nunit tests in the next preview build of Windows.\r\n\r\nSigned-off-by: Stefan J. Wernli <swernli@microsoft.com>"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/186463636","html_url":"https://github.com/docker/docker/pull/20525#issuecomment-186463636","issue_url":"https://api.github.com/repos/docker/docker/issues/20525","id":186463636,"user":{"login":"GordonTheTurtle","id":10620046,"avatar_url":"https://avatars.githubusercontent.com/u/10620046?v=3","gravatar_id":"","url":"https://api.github.com/users/GordonTheTurtle","html_url":"https://github.com/GordonTheTurtle","followers_url":"https://api.github.com/users/GordonTheTurtle/followers","following_url":"https://api.github.com/users/GordonTheTurtle/following{/other_user}","gists_url":"https://api.github.com/users/GordonTheTurtle/gists{/gist_id}","starred_url":"https://api.github.com/users/GordonTheTurtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordonTheTurtle/subscriptions","organizations_url":"https://api.github.com/users/GordonTheTurtle/orgs","repos_url":"https://api.github.com/users/GordonTheTurtle/repos","events_url":"https://api.github.com/users/GordonTheTurtle/events{/privacy}","received_events_url":"https://api.github.com/users/GordonTheTurtle/received_events","type":"User","site_admin":false},"created_at":"2016-02-20T00:18:32Z","updated_at":"2016-02-20T00:18:32Z","body":"Job: Docker-PRs-WoW-TP4 [FAILED](https://jenkins.dockerproject.org/job/Docker-PRs-WoW-TP4/1276/console):\n\n~~~console\n\n---\n\t      56\tdocker-1.11.0-dev.exe.md5\r  0%  \r100%  \r\n\t    New File  \t\t      88\tdocker-1.11.0-dev.exe.sha256\r  0%  \r100%  \r\n\t    New File  \t\t  27.0 m\tdocker.exe\r  0.0%\r  3.6%\r  7.3%\r 11.0%\r 14.7%\r 18.4%\r 22.1%\r 25.8%\r 29.5%\r 33.2%\r 36.9%\r 40.6%\r 44.3%\r 48.0%\r 51.7%\r 55.4%\r 59.1%\r 62.8%\r 66.5%\r 70.2%\r 73.9%\r 77.6%\r 81.3%\r 85.0%\r 88.7%\r 92.4%\r 96.1%\r 99.8%\r100%  \r\n\r\n------------------------------------------------------------------------------\r\n\r\n               Total    Copied   Skipped  Mismatch    FAILED    Extras\r\n    Dirs :         1         0         1         0         0         0\r\n   Files :         4         4         0         0         0         0\r\n   Bytes :   54.08 m   54.08 m         0         0         0         0\r\n   Times :   0:00:00   0:00:00                       0:00:00   0:00:00\r\n\r\n\r\n   Speed :           1050288185 Bytes/sec.\r\n   Speed :            60097.972 MegaBytes/min.\r\n   Ended : Saturday, February 20, 2016 12:17:34 AM\r\n\r\n+ ec=0\n+ set +x\nINFO: Linking the built binary to /d/CI/CI-c4\n---\n\n~~~"}}