{"action":"created","comment":{"url":"https://api.github.com/repos/dedis/onet/pulls/comments/156354786","pull_request_review_id":82816665,"id":156354786,"diff_hunk":"@@ -130,79 +129,61 @@ var testContextData = struct {\n }{service: make(map[string][]byte, 0)}\n \n // Save takes an identifier and an interface. The interface will be network.Marshaled\n-// and saved under a filename based on the identifier. An eventual error will be returned.\n-// If contextDataPath is non-empty, the destination is a file: it will be created\n-// with rw-r----- permissions (0640). If the file already exists, it will be overwritten.\n-//\n-// The path to the file is chosen as follows:","path":"context.go","position":24,"original_position":24,"commit_id":"016ae29b95d0f619df02a5d6c284edf6a812fe3a","original_commit_id":"016ae29b95d0f619df02a5d6c284edf6a812fe3a","user":{"login":"kc1212","id":1093806,"avatar_url":"https://avatars0.githubusercontent.com/u/1093806?v=4","gravatar_id":"","url":"https://api.github.com/users/kc1212","html_url":"https://github.com/kc1212","followers_url":"https://api.github.com/users/kc1212/followers","following_url":"https://api.github.com/users/kc1212/following{/other_user}","gists_url":"https://api.github.com/users/kc1212/gists{/gist_id}","starred_url":"https://api.github.com/users/kc1212/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kc1212/subscriptions","organizations_url":"https://api.github.com/users/kc1212/orgs","repos_url":"https://api.github.com/users/kc1212/repos","events_url":"https://api.github.com/users/kc1212/events{/privacy}","received_events_url":"https://api.github.com/users/kc1212/received_events","type":"User","site_admin":false},"body":"The Save function doesn't create the files anymore, so I removed this bit of the comment. But it's still relevant for `initContextDataPath()`, so I'll add it back there","created_at":"2017-12-12T12:42:33Z","updated_at":"2017-12-12T12:42:33Z","html_url":"https://github.com/dedis/onet/pull/261#discussion_r156354786","pull_request_url":"https://api.github.com/repos/dedis/onet/pulls/261","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/dedis/onet/pulls/comments/156354786"},"html":{"href":"https://github.com/dedis/onet/pull/261#discussion_r156354786"},"pull_request":{"href":"https://api.github.com/repos/dedis/onet/pulls/261"}},"in_reply_to_id":156347625},"pull_request":{"url":"https://api.github.com/repos/dedis/onet/pulls/261","id":157200598,"html_url":"https://github.com/dedis/onet/pull/261","diff_url":"https://github.com/dedis/onet/pull/261.diff","patch_url":"https://github.com/dedis/onet/pull/261.patch","issue_url":"https://api.github.com/repos/dedis/onet/issues/261","number":261,"state":"open","locked":false,"title":"Add boltdb to onet server","user":{"login":"kc1212","id":1093806,"avatar_url":"https://avatars0.githubusercontent.com/u/1093806?v=4","gravatar_id":"","url":"https://api.github.com/users/kc1212","html_url":"https://github.com/kc1212","followers_url":"https://api.github.com/users/kc1212/followers","following_url":"https://api.github.com/users/kc1212/following{/other_user}","gists_url":"https://api.github.com/users/kc1212/gists{/gist_id}","starred_url":"https://api.github.com/users/kc1212/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kc1212/subscriptions","organizations_url":"https://api.github.com/users/kc1212/orgs","repos_url":"https://api.github.com/users/kc1212/repos","events_url":"https://api.github.com/users/kc1212/events{/privacy}","received_events_url":"https://api.github.com/users/kc1212/received_events","type":"User","site_admin":false},"body":"Prerequisite for https://github.com/dedis/cothority/pull/964","created_at":"2017-12-08T09:43:05Z","updated_at":"2017-12-12T12:42:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a78f50885bbbf5b72ab3a8bc0156f8740363601b","assignee":{"login":"kc1212","id":1093806,"avatar_url":"https://avatars0.githubusercontent.com/u/1093806?v=4","gravatar_id":"","url":"https://api.github.com/users/kc1212","html_url":"https://github.com/kc1212","followers_url":"https://api.github.com/users/kc1212/followers","following_url":"https://api.github.com/users/kc1212/following{/other_user}","gists_url":"https://api.github.com/users/kc1212/gists{/gist_id}","starred_url":"https://api.github.com/users/kc1212/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kc1212/subscriptions","organizations_url":"https://api.github.com/users/kc1212/orgs","repos_url":"https://api.github.com/users/kc1212/repos","events_url":"https://api.github.com/users/kc1212/events{/privacy}","received_events_url":"https://api.github.com/users/kc1212/received_events","type":"User","site_admin":false},"assignees":[{"login":"kc1212","id":1093806,"avatar_url":"https://avatars0.githubusercontent.com/u/1093806?v=4","gravatar_id":"","url":"https://api.github.com/users/kc1212","html_url":"https://github.com/kc1212","followers_url":"https://api.github.com/users/kc1212/followers","following_url":"https://api.github.com/users/kc1212/following{/other_user}","gists_url":"https://api.github.com/users/kc1212/gists{/gist_id}","starred_url":"https://api.github.com/users/kc1212/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kc1212/subscriptions","organizations_url":"https://api.github.com/users/kc1212/orgs","repos_url":"https://api.github.com/users/kc1212/repos","events_url":"https://api.github.com/users/kc1212/events{/privacy}","received_events_url":"https://api.github.com/users/kc1212/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/dedis/onet/pulls/261/commits","review_comments_url":"https://api.github.com/repos/dedis/onet/pulls/261/comments","review_comment_url":"https://api.github.com/repos/dedis/onet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dedis/onet/issues/261/comments","statuses_url":"https://api.github.com/repos/dedis/onet/statuses/016ae29b95d0f619df02a5d6c284edf6a812fe3a","head":{"label":"dedis:boltdb","ref":"boltdb","sha":"016ae29b95d0f619df02a5d6c284edf6a812fe3a","user":{"login":"dedis","id":3638331,"avatar_url":"https://avatars2.githubusercontent.com/u/3638331?v=4","gravatar_id":"","url":"https://api.github.com/users/dedis","html_url":"https://github.com/dedis","followers_url":"https://api.github.com/users/dedis/followers","following_url":"https://api.github.com/users/dedis/following{/other_user}","gists_url":"https://api.github.com/users/dedis/gists{/gist_id}","starred_url":"https://api.github.com/users/dedis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dedis/subscriptions","organizations_url":"https://api.github.com/users/dedis/orgs","repos_url":"https://api.github.com/users/dedis/repos","events_url":"https://api.github.com/users/dedis/events{/privacy}","received_events_url":"https://api.github.com/users/dedis/received_events","type":"Organization","site_admin":false},"repo":{"id":76370943,"name":"onet","full_name":"dedis/onet","owner":{"login":"dedis","id":3638331,"avatar_url":"https://avatars2.githubusercontent.com/u/3638331?v=4","gravatar_id":"","url":"https://api.github.com/users/dedis","html_url":"https://github.com/dedis","followers_url":"https://api.github.com/users/dedis/followers","following_url":"https://api.github.com/users/dedis/following{/other_user}","gists_url":"https://api.github.com/users/dedis/gists{/gist_id}","starred_url":"https://api.github.com/users/dedis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dedis/subscriptions","organizations_url":"https://api.github.com/users/dedis/orgs","repos_url":"https://api.github.com/users/dedis/repos","events_url":"https://api.github.com/users/dedis/events{/privacy}","received_events_url":"https://api.github.com/users/dedis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dedis/onet","description":"Cothority network library","fork":false,"url":"https://api.github.com/repos/dedis/onet","forks_url":"https://api.github.com/repos/dedis/onet/forks","keys_url":"https://api.github.com/repos/dedis/onet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dedis/onet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dedis/onet/teams","hooks_url":"https://api.github.com/repos/dedis/onet/hooks","issue_events_url":"https://api.github.com/repos/dedis/onet/issues/events{/number}","events_url":"https://api.github.com/repos/dedis/onet/events","assignees_url":"https://api.github.com/repos/dedis/onet/assignees{/user}","branches_url":"https://api.github.com/repos/dedis/onet/branches{/branch}","tags_url":"https://api.github.com/repos/dedis/onet/tags","blobs_url":"https://api.github.com/repos/dedis/onet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dedis/onet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dedis/onet/git/refs{/sha}","trees_url":"https://api.github.com/repos/dedis/onet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dedis/onet/statuses/{sha}","languages_url":"https://api.github.com/repos/dedis/onet/languages","stargazers_url":"https://api.github.com/repos/dedis/onet/stargazers","contributors_url":"https://api.github.com/repos/dedis/onet/contributors","subscribers_url":"https://api.github.com/repos/dedis/onet/subscribers","subscription_url":"https://api.github.com/repos/dedis/onet/subscription","commits_url":"https://api.github.com/repos/dedis/onet/commits{/sha}","git_commits_url":"https://api.github.com/repos/dedis/onet/git/commits{/sha}","comments_url":"https://api.github.com/repos/dedis/onet/comments{/number}","issue_comment_url":"https://api.github.com/repos/dedis/onet/issues/comments{/number}","contents_url":"https://api.github.com/repos/dedis/onet/contents/{+path}","compare_url":"https://api.github.com/repos/dedis/onet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dedis/onet/merges","archive_url":"https://api.github.com/repos/dedis/onet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dedis/onet/downloads","issues_url":"https://api.github.com/repos/dedis/onet/issues{/number}","pulls_url":"https://api.github.com/repos/dedis/onet/pulls{/number}","milestones_url":"https://api.github.com/repos/dedis/onet/milestones{/number}","notifications_url":"https://api.github.com/repos/dedis/onet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dedis/onet/labels{/name}","releases_url":"https://api.github.com/repos/dedis/onet/releases{/id}","deployments_url":"https://api.github.com/repos/dedis/onet/deployments","created_at":"2016-12-13T15:22:47Z","updated_at":"2017-12-05T14:50:49Z","pushed_at":"2017-12-12T10:42:46Z","git_url":"git://github.com/dedis/onet.git","ssh_url":"git@github.com:dedis/onet.git","clone_url":"https://github.com/dedis/onet.git","svn_url":"https://github.com/dedis/onet","homepage":"","size":757,"stargazers_count":6,"watchers_count":6,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":32,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":6,"open_issues":32,"watchers":6,"default_branch":"master"}},"base":{"label":"dedis:master","ref":"master","sha":"14f7874fbd9b90d303803214f7c168b28e3e3a88","user":{"login":"dedis","id":3638331,"avatar_url":"https://avatars2.githubusercontent.com/u/3638331?v=4","gravatar_id":"","url":"https://api.github.com/users/dedis","html_url":"https://github.com/dedis","followers_url":"https://api.github.com/users/dedis/followers","following_url":"https://api.github.com/users/dedis/following{/other_user}","gists_url":"https://api.github.com/users/dedis/gists{/gist_id}","starred_url":"https://api.github.com/users/dedis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dedis/subscriptions","organizations_url":"https://api.github.com/users/dedis/orgs","repos_url":"https://api.github.com/users/dedis/repos","events_url":"https://api.github.com/users/dedis/events{/privacy}","received_events_url":"https://api.github.com/users/dedis/received_events","type":"Organization","site_admin":false},"repo":{"id":76370943,"name":"onet","full_name":"dedis/onet","owner":{"login":"dedis","id":3638331,"avatar_url":"https://avatars2.githubusercontent.com/u/3638331?v=4","gravatar_id":"","url":"https://api.github.com/users/dedis","html_url":"https://github.com/dedis","followers_url":"https://api.github.com/users/dedis/followers","following_url":"https://api.github.com/users/dedis/following{/other_user}","gists_url":"https://api.github.com/users/dedis/gists{/gist_id}","starred_url":"https://api.github.com/users/dedis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dedis/subscriptions","organizations_url":"https://api.github.com/users/dedis/orgs","repos_url":"https://api.github.com/users/dedis/repos","events_url":"https://api.github.com/users/dedis/events{/privacy}","received_events_url":"https://api.github.com/users/dedis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dedis/onet","description":"Cothority network library","fork":false,"url":"https://api.github.com/repos/dedis/onet","forks_url":"https://api.github.com/repos/dedis/onet/forks","keys_url":"https://api.github.com/repos/dedis/onet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dedis/onet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dedis/onet/teams","hooks_url":"https://api.github.com/repos/dedis/onet/hooks","issue_events_url":"https://api.github.com/repos/dedis/onet/issues/events{/number}","events_url":"https://api.github.com/repos/dedis/onet/events","assignees_url":"https://api.github.com/repos/dedis/onet/assignees{/user}","branches_url":"https://api.github.com/repos/dedis/onet/branches{/branch}","tags_url":"https://api.github.com/repos/dedis/onet/tags","blobs_url":"https://api.github.com/repos/dedis/onet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dedis/onet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dedis/onet/git/refs{/sha}","trees_url":"https://api.github.com/repos/dedis/onet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dedis/onet/statuses/{sha}","languages_url":"https://api.github.com/repos/dedis/onet/languages","stargazers_url":"https://api.github.com/repos/dedis/onet/stargazers","contributors_url":"https://api.github.com/repos/dedis/onet/contributors","subscribers_url":"https://api.github.com/repos/dedis/onet/subscribers","subscription_url":"https://api.github.com/repos/dedis/onet/subscription","commits_url":"https://api.github.com/repos/dedis/onet/commits{/sha}","git_commits_url":"https://api.github.com/repos/dedis/onet/git/commits{/sha}","comments_url":"https://api.github.com/repos/dedis/onet/comments{/number}","issue_comment_url":"https://api.github.com/repos/dedis/onet/issues/comments{/number}","contents_url":"https://api.github.com/repos/dedis/onet/contents/{+path}","compare_url":"https://api.github.com/repos/dedis/onet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dedis/onet/merges","archive_url":"https://api.github.com/repos/dedis/onet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dedis/onet/downloads","issues_url":"https://api.github.com/repos/dedis/onet/issues{/number}","pulls_url":"https://api.github.com/repos/dedis/onet/pulls{/number}","milestones_url":"https://api.github.com/repos/dedis/onet/milestones{/number}","notifications_url":"https://api.github.com/repos/dedis/onet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dedis/onet/labels{/name}","releases_url":"https://api.github.com/repos/dedis/onet/releases{/id}","deployments_url":"https://api.github.com/repos/dedis/onet/deployments","created_at":"2016-12-13T15:22:47Z","updated_at":"2017-12-05T14:50:49Z","pushed_at":"2017-12-12T10:42:46Z","git_url":"git://github.com/dedis/onet.git","ssh_url":"git@github.com:dedis/onet.git","clone_url":"https://github.com/dedis/onet.git","svn_url":"https://github.com/dedis/onet","homepage":"","size":757,"stargazers_count":6,"watchers_count":6,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":32,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":6,"open_issues":32,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dedis/onet/pulls/261"},"html":{"href":"https://github.com/dedis/onet/pull/261"},"issue":{"href":"https://api.github.com/repos/dedis/onet/issues/261"},"comments":{"href":"https://api.github.com/repos/dedis/onet/issues/261/comments"},"review_comments":{"href":"https://api.github.com/repos/dedis/onet/pulls/261/comments"},"review_comment":{"href":"https://api.github.com/repos/dedis/onet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dedis/onet/pulls/261/commits"},"statuses":{"href":"https://api.github.com/repos/dedis/onet/statuses/016ae29b95d0f619df02a5d6c284edf6a812fe3a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"kc1212"}}