GitHub PullRequestEvent at 2014-09-25 00:16:04
Repository: etcd
Actor: jonboulle
Payload: {"action":"closed","number":1164,"pull_request":{"url":"https://api.github.com/repos/coreos/etcd/pulls/1164","id":21750198,"html_url":"https://github.com/coreos/etcd/pull/1164","diff_url":"https://github.com/coreos/etcd/pull/1164.diff","patch_url":"https://github.com/coreos/etcd/pull/1164.patch","issue_url":"https://api.github.com/repos/coreos/etcd/issues/1164","number":1164,"state":"closed","locked":false,"title":"Unable to create directories","user":{"login":"jonboulle","id":2601015,"avatar_url":"https://avatars.githubusercontent.com/u/2601015?v=2","gravatar_id":"","url":"https://api.github.com/users/jonboulle","html_url":"https://github.com/jonboulle","followers_url":"https://api.github.com/users/jonboulle/followers","following_url":"https://api.github.com/users/jonboulle/following{/other_user}","gists_url":"https://api.github.com/users/jonboulle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonboulle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonboulle/subscriptions","organizations_url":"https://api.github.com/users/jonboulle/orgs","repos_url":"https://api.github.com/users/jonboulle/repos","events_url":"https://api.github.com/users/jonboulle/events{/privacy}","received_events_url":"https://api.github.com/users/jonboulle/received_events","type":"User","site_admin":false},"body":"According to https://github.com/coreos/etcd/blob/master/Documentation/api.md#creating-directories, the following example should create a directory:\r\n\r\n```\r\n% curl -L http://127.0.0.1:4001/v2/keys/dir -XPUT -d dir=true\r\n{\"action\":\"set\",\"node\":{\"key\":\"/dir\",\"value\":\"\",\"modifiedIndex\":71,\"createdIndex\":71}}\r\n```\r\n\r\nNote the lack of `\"dir\": true` in the returned object. Thinking that maybe the `dir` key is just missing, I tried to create a key under the `/dir` keyspace:\r\n\r\n```\r\n% curl -L http://127.0.0.1:4001/v2/keys/dir/key -XPUT -d value=foo\r\n{\"errorCode\":104,\"message\":\"Not a directory\",\"cause\":\"/dir\",\"index\":71}\r\n```","created_at":"2014-09-24T22:36:28Z","updated_at":"2014-09-25T00:16:04Z","closed_at":"2014-09-25T00:16:04Z","merged_at":"2014-09-25T00:16:04Z","merge_commit_sha":"1c856d25855d4760ba0c35ce8b2d39a60e802560","assignee":{"login":"jonboulle","id":2601015,"avatar_url":"https://avatars.githubusercontent.com/u/2601015?v=2","gravatar_id":"","url":"https://api.github.com/users/jonboulle","html_url":"https://github.com/jonboulle","followers_url":"https://api.github.com/users/jonboulle/followers","following_url":"https://api.github.com/users/jonboulle/following{/other_user}","gists_url":"https://api.github.com/users/jonboulle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonboulle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonboulle/subscriptions","organizations_url":"https://api.github.com/users/jonboulle/orgs","repos_url":"https://api.github.com/users/jonboulle/repos","events_url":"https://api.github.com/users/jonboulle/events{/privacy}","received_events_url":"https://api.github.com/users/jonboulle/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/coreos/etcd/milestones/5","labels_url":"https://api.github.com/repos/coreos/etcd/milestones/5/labels","id":782754,"number":5,"title":"v0.5.0-RC","description":"v0.5 release candidate","creator":{"login":"jonboulle","id":2601015,"avatar_url":"https://avatars.githubusercontent.com/u/2601015?v=2","gravatar_id":"","url":"https://api.github.com/users/jonboulle","html_url":"https://github.com/jonboulle","followers_url":"https://api.github.com/users/jonboulle/followers","following_url":"https://api.github.com/users/jonboulle/following{/other_user}","gists_url":"https://api.github.com/users/jonboulle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonboulle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonboulle/subscriptions","organizations_url":"https://api.github.com/users/jonboulle/orgs","repos_url":"https://api.github.com/users/jonboulle/repos","events_url":"https://api.github.com/users/jonboulle/events{/privacy}","received_events_url":"https://api.github.com/users/jonboulle/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":44,"state":"open","created_at":"2014-09-08T21:14:05Z","updated_at":"2014-09-25T00:16:04Z","due_on":"2014-09-22T07:00:00Z"},"commits_url":"https://api.github.com/repos/coreos/etcd/pulls/1164/commits","review_comments_url":"https://api.github.com/repos/coreos/etcd/pulls/1164/comments","review_comment_url":"https://api.github.com/repos/coreos/etcd/pulls/comments/{number}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/1164/comments","statuses_url":"https://api.github.com/repos/coreos/etcd/statuses/fa762e6b25a40bb317f855bba240cb1a496a29e9","head":{"label":"jonboulle:1164_dirs","ref":"1164_dirs","sha":"fa762e6b25a40bb317f855bba240cb1a496a29e9","user":{"login":"jonboulle","id":2601015,"avatar_url":"https://avatars.githubusercontent.com/u/2601015?v=2","gravatar_id":"","url":"https://api.github.com/users/jonboulle","html_url":"https://github.com/jonboulle","followers_url":"https://api.github.com/users/jonboulle/followers","following_url":"https://api.github.com/users/jonboulle/following{/other_user}","gists_url":"https://api.github.com/users/jonboulle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonboulle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonboulle/subscriptions","organizations_url":"https://api.github.com/users/jonboulle/orgs","repos_url":"https://api.github.com/users/jonboulle/repos","events_url":"https://api.github.com/users/jonboulle/events{/privacy}","received_events_url":"https://api.github.com/users/jonboulle/received_events","type":"User","site_admin":false},"repo":{"id":16238846,"name":"etcd","full_name":"jonboulle/etcd","owner":{"login":"jonboulle","id":2601015,"avatar_url":"https://avatars.githubusercontent.com/u/2601015?v=2","gravatar_id":"","url":"https://api.github.com/users/jonboulle","html_url":"https://github.com/jonboulle","followers_url":"https://api.github.com/users/jonboulle/followers","following_url":"https://api.github.com/users/jonboulle/following{/other_user}","gists_url":"https://api.github.com/users/jonboulle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonboulle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonboulle/subscriptions","organizations_url":"https://api.github.com/users/jonboulle/orgs","repos_url":"https://api.github.com/users/jonboulle/repos","events_url":"https://api.github.com/users/jonboulle/events{/privacy}","received_events_url":"https://api.github.com/users/jonboulle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonboulle/etcd","description":"A highly-available key value store for shared configuration and service discovery","fork":true,"url":"https://api.github.com/repos/jonboulle/etcd","forks_url":"https://api.github.com/repos/jonboulle/etcd/forks","keys_url":"https://api.github.com/repos/jonboulle/etcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonboulle/etcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonboulle/etcd/teams","hooks_url":"https://api.github.com/repos/jonboulle/etcd/hooks","issue_events_url":"https://api.github.com/repos/jonboulle/etcd/issues/events{/number}","events_url":"https://api.github.com/repos/jonboulle/etcd/events","assignees_url":"https://api.github.com/repos/jonboulle/etcd/assignees{/user}","branches_url":"https://api.github.com/repos/jonboulle/etcd/branches{/branch}","tags_url":"https://api.github.com/repos/jonboulle/etcd/tags","blobs_url":"https://api.github.com/repos/jonboulle/etcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonboulle/etcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonboulle/etcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonboulle/etcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonboulle/etcd/statuses/{sha}","languages_url":"https://api.github.com/repos/jonboulle/etcd/languages","stargazers_url":"https://api.github.com/repos/jonboulle/etcd/stargazers","contributors_url":"https://api.github.com/repos/jonboulle/etcd/contributors","subscribers_url":"https://api.github.com/repos/jonboulle/etcd/subscribers","subscription_url":"https://api.github.com/repos/jonboulle/etcd/subscription","commits_url":"https://api.github.com/repos/jonboulle/etcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonboulle/etcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonboulle/etcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonboulle/etcd/issues/comments/{number}","contents_url":"https://api.github.com/repos/jonboulle/etcd/contents/{+path}","compare_url":"https://api.github.com/repos/jonboulle/etcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonboulle/etcd/merges","archive_url":"https://api.github.com/repos/jonboulle/etcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonboulle/etcd/downloads","issues_url":"https://api.github.com/repos/jonboulle/etcd/issues{/number}","pulls_url":"https://api.github.com/repos/jonboulle/etcd/pulls{/number}","milestones_url":"https://api.github.com/repos/jonboulle/etcd/milestones{/number}","notifications_url":"https://api.github.com/repos/jonboulle/etcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonboulle/etcd/labels{/name}","releases_url":"https://api.github.com/repos/jonboulle/etcd/releases{/id}","created_at":"2014-01-25T20:07:46Z","updated_at":"2014-09-04T19:32:13Z","pushed_at":"2014-09-25T00:14:14Z","git_url":"git://github.com/jonboulle/etcd.git","ssh_url":"git@github.com:jonboulle/etcd.git","clone_url":"https://github.com/jonboulle/etcd.git","svn_url":"https://github.com/jonboulle/etcd","homepage":"","size":11715,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"coreos:master","ref":"master","sha":"98561f6b5d1a33a9dcfa65ce54f285cbd53dccb6","user":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=2","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":11225014,"name":"etcd","full_name":"coreos/etcd","owner":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=2","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/etcd","description":"A highly-available key value store for shared configuration and service discovery","fork":false,"url":"https://api.github.com/repos/coreos/etcd","forks_url":"https://api.github.com/repos/coreos/etcd/forks","keys_url":"https://api.github.com/repos/coreos/etcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/etcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/etcd/teams","hooks_url":"https://api.github.com/repos/coreos/etcd/hooks","issue_events_url":"https://api.github.com/repos/coreos/etcd/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/etcd/events","assignees_url":"https://api.github.com/repos/coreos/etcd/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/etcd/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/etcd/tags","blobs_url":"https://api.github.com/repos/coreos/etcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/etcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/etcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/etcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/etcd/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/etcd/languages","stargazers_url":"https://api.github.com/repos/coreos/etcd/stargazers","contributors_url":"https://api.github.com/repos/coreos/etcd/contributors","subscribers_url":"https://api.github.com/repos/coreos/etcd/subscribers","subscription_url":"https://api.github.com/repos/coreos/etcd/subscription","commits_url":"https://api.github.com/repos/coreos/etcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/etcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/etcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/etcd/issues/comments/{number}","contents_url":"https://api.github.com/repos/coreos/etcd/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/etcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/etcd/merges","archive_url":"https://api.github.com/repos/coreos/etcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/etcd/downloads","issues_url":"https://api.github.com/repos/coreos/etcd/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/etcd/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/etcd/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/etcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/etcd/labels{/name}","releases_url":"https://api.github.com/repos/coreos/etcd/releases{/id}","created_at":"2013-07-06T21:57:21Z","updated_at":"2014-09-25T00:00:18Z","pushed_at":"2014-09-25T00:16:04Z","git_url":"git://github.com/coreos/etcd.git","ssh_url":"git@github.com:coreos/etcd.git","clone_url":"https://github.com/coreos/etcd.git","svn_url":"https://github.com/coreos/etcd","homepage":"","size":24059,"stargazers_count":4261,"watchers_count":4261,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":425,"mirror_url":null,"open_issues_count":130,"forks":425,"open_issues":130,"watchers":4261,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/etcd/pulls/1164"},"html":{"href":"https://github.com/coreos/etcd/pull/1164"},"issue":{"href":"https://api.github.com/repos/coreos/etcd/issues/1164"},"comments":{"href":"https://api.github.com/repos/coreos/etcd/issues/1164/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/etcd/pulls/1164/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/etcd/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/coreos/etcd/pulls/1164/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/etcd/statuses/fa762e6b25a40bb317f855bba240cb1a496a29e9"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jonboulle","id":2601015,"avatar_url":"https://avatars.githubusercontent.com/u/2601015?v=2","gravatar_id":"","url":"https://api.github.com/users/jonboulle","html_url":"https://github.com/jonboulle","followers_url":"https://api.github.com/users/jonboulle/followers","following_url":"https://api.github.com/users/jonboulle/following{/other_user}","gists_url":"https://api.github.com/users/jonboulle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonboulle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonboulle/subscriptions","organizations_url":"https://api.github.com/users/jonboulle/orgs","repos_url":"https://api.github.com/users/jonboulle/repos","events_url":"https://api.github.com/users/jonboulle/events{/privacy}","received_events_url":"https://api.github.com/users/jonboulle/received_events","type":"User","site_admin":false},"comments":6,"review_comments":4,"commits":1,"additions":38,"deletions":2,"changed_files":2}}