{"action":"opened","number":537,"pull_request":{"url":"https://api.github.com/repos/danfuzz/bayou/pulls/537","id":216750971,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2NzUwOTcx","html_url":"https://github.com/danfuzz/bayou/pull/537","diff_url":"https://github.com/danfuzz/bayou/pull/537.diff","patch_url":"https://github.com/danfuzz/bayou/pull/537.patch","issue_url":"https://api.github.com/repos/danfuzz/bayou/issues/537","number":537,"state":"open","locked":false,"title":"Rename (some cases of) \"session\" -> \"caret,\" Part 1 of N.","user":{"login":"danfuzz","id":1090235,"node_id":"MDQ6VXNlcjEwOTAyMzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1090235?v=4","gravatar_id":"","url":"https://api.github.com/users/danfuzz","html_url":"https://github.com/danfuzz","followers_url":"https://api.github.com/users/danfuzz/followers","following_url":"https://api.github.com/users/danfuzz/following{/other_user}","gists_url":"https://api.github.com/users/danfuzz/gists{/gist_id}","starred_url":"https://api.github.com/users/danfuzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danfuzz/subscriptions","organizations_url":"https://api.github.com/users/danfuzz/orgs","repos_url":"https://api.github.com/users/danfuzz/repos","events_url":"https://api.github.com/users/danfuzz/events{/privacy}","received_events_url":"https://api.github.com/users/danfuzz/received_events","type":"User","site_admin":false},"body":"This PR is the first in a series in which the term \"session\" is replaced with \"caret,\" when the term is meant to refer specifically to the \"caret sessions\" as represented in the caret part of a file. This PR concentrated on the public API of the classes `Caret` and `CaretOp`, and worked its way out from there, with a few more tangential renames thrown in to harmonize with other code that was already being changed.\r\n\r\nAs a minor note, one change that doesn't _quite_ fit the pattern as described above is that in `Caret` itself, the field `sessionId` got renamed to just be `id` instead of `caretId`. This matches the _larger_ pattern where a \"thing with an ID\" uses just `id` as the name within itself of its own ID.\r\n\r\nThis PR did _not_ change the document schema. But note that a subsequent PR will do so, because the op names in `CaretOp` will change to stop referring to `session`s.\r\n\r\n**Bonus:** Fixed how `CaretId.randomInstance()` gets tested, such that it embodies a somewhat more nuanced understanding of statistics as it applies to randomness.","created_at":"2018-09-19T19:31:38Z","updated_at":"2018-09-19T19:31:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/danfuzz/bayou/pulls/537/commits","review_comments_url":"https://api.github.com/repos/danfuzz/bayou/pulls/537/comments","review_comment_url":"https://api.github.com/repos/danfuzz/bayou/pulls/comments{/number}","comments_url":"https://api.github.com/repos/danfuzz/bayou/issues/537/comments","statuses_url":"https://api.github.com/repos/danfuzz/bayou/statuses/c02dfd2c4377e6bfa3a017adae63c60925ac9343","head":{"label":"danfuzz:renaming-is-fun","ref":"renaming-is-fun","sha":"c02dfd2c4377e6bfa3a017adae63c60925ac9343","user":{"login":"danfuzz","id":1090235,"node_id":"MDQ6VXNlcjEwOTAyMzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1090235?v=4","gravatar_id":"","url":"https://api.github.com/users/danfuzz","html_url":"https://github.com/danfuzz","followers_url":"https://api.github.com/users/danfuzz/followers","following_url":"https://api.github.com/users/danfuzz/following{/other_user}","gists_url":"https://api.github.com/users/danfuzz/gists{/gist_id}","starred_url":"https://api.github.com/users/danfuzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danfuzz/subscriptions","organizations_url":"https://api.github.com/users/danfuzz/orgs","repos_url":"https://api.github.com/users/danfuzz/repos","events_url":"https://api.github.com/users/danfuzz/events{/privacy}","received_events_url":"https://api.github.com/users/danfuzz/received_events","type":"User","site_admin":false},"repo":{"id":69512346,"node_id":"MDEwOlJlcG9zaXRvcnk2OTUxMjM0Ng==","name":"bayou","full_name":"danfuzz/bayou","private":false,"owner":{"login":"danfuzz","id":1090235,"node_id":"MDQ6VXNlcjEwOTAyMzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1090235?v=4","gravatar_id":"","url":"https://api.github.com/users/danfuzz","html_url":"https://github.com/danfuzz","followers_url":"https://api.github.com/users/danfuzz/followers","following_url":"https://api.github.com/users/danfuzz/following{/other_user}","gists_url":"https://api.github.com/users/danfuzz/gists{/gist_id}","starred_url":"https://api.github.com/users/danfuzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danfuzz/subscriptions","organizations_url":"https://api.github.com/users/danfuzz/orgs","repos_url":"https://api.github.com/users/danfuzz/repos","events_url":"https://api.github.com/users/danfuzz/events{/privacy}","received_events_url":"https://api.github.com/users/danfuzz/received_events","type":"User","site_admin":false},"html_url":"https://github.com/danfuzz/bayou","description":"Collaborative document editing, with Quill-based front end","fork":false,"url":"https://api.github.com/repos/danfuzz/bayou","forks_url":"https://api.github.com/repos/danfuzz/bayou/forks","keys_url":"https://api.github.com/repos/danfuzz/bayou/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danfuzz/bayou/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danfuzz/bayou/teams","hooks_url":"https://api.github.com/repos/danfuzz/bayou/hooks","issue_events_url":"https://api.github.com/repos/danfuzz/bayou/issues/events{/number}","events_url":"https://api.github.com/repos/danfuzz/bayou/events","assignees_url":"https://api.github.com/repos/danfuzz/bayou/assignees{/user}","branches_url":"https://api.github.com/repos/danfuzz/bayou/branches{/branch}","tags_url":"https://api.github.com/repos/danfuzz/bayou/tags","blobs_url":"https://api.github.com/repos/danfuzz/bayou/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danfuzz/bayou/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danfuzz/bayou/git/refs{/sha}","trees_url":"https://api.github.com/repos/danfuzz/bayou/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danfuzz/bayou/statuses/{sha}","languages_url":"https://api.github.com/repos/danfuzz/bayou/languages","stargazers_url":"https://api.github.com/repos/danfuzz/bayou/stargazers","contributors_url":"https://api.github.com/repos/danfuzz/bayou/contributors","subscribers_url":"https://api.github.com/repos/danfuzz/bayou/subscribers","subscription_url":"https://api.github.com/repos/danfuzz/bayou/subscription","commits_url":"https://api.github.com/repos/danfuzz/bayou/commits{/sha}","git_commits_url":"https://api.github.com/repos/danfuzz/bayou/git/commits{/sha}","comments_url":"https://api.github.com/repos/danfuzz/bayou/comments{/number}","issue_comment_url":"https://api.github.com/repos/danfuzz/bayou/issues/comments{/number}","contents_url":"https://api.github.com/repos/danfuzz/bayou/contents/{+path}","compare_url":"https://api.github.com/repos/danfuzz/bayou/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danfuzz/bayou/merges","archive_url":"https://api.github.com/repos/danfuzz/bayou/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danfuzz/bayou/downloads","issues_url":"https://api.github.com/repos/danfuzz/bayou/issues{/number}","pulls_url":"https://api.github.com/repos/danfuzz/bayou/pulls{/number}","milestones_url":"https://api.github.com/repos/danfuzz/bayou/milestones{/number}","notifications_url":"https://api.github.com/repos/danfuzz/bayou/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danfuzz/bayou/labels{/name}","releases_url":"https://api.github.com/repos/danfuzz/bayou/releases{/id}","deployments_url":"https://api.github.com/repos/danfuzz/bayou/deployments","created_at":"2016-09-28T23:36:15Z","updated_at":"2018-09-19T15:49:24Z","pushed_at":"2018-09-19T19:31:18Z","git_url":"git://github.com/danfuzz/bayou.git","ssh_url":"git@github.com:danfuzz/bayou.git","clone_url":"https://github.com/danfuzz/bayou.git","svn_url":"https://github.com/danfuzz/bayou","homepage":"","size":4582,"stargazers_count":17,"watchers_count":17,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2,"open_issues":1,"watchers":17,"default_branch":"master"}},"base":{"label":"danfuzz:master","ref":"master","sha":"8336ecfe4a619c93ae72f9fd302187b9ca1390ac","user":{"login":"danfuzz","id":1090235,"node_id":"MDQ6VXNlcjEwOTAyMzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1090235?v=4","gravatar_id":"","url":"https://api.github.com/users/danfuzz","html_url":"https://github.com/danfuzz","followers_url":"https://api.github.com/users/danfuzz/followers","following_url":"https://api.github.com/users/danfuzz/following{/other_user}","gists_url":"https://api.github.com/users/danfuzz/gists{/gist_id}","starred_url":"https://api.github.com/users/danfuzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danfuzz/subscriptions","organizations_url":"https://api.github.com/users/danfuzz/orgs","repos_url":"https://api.github.com/users/danfuzz/repos","events_url":"https://api.github.com/users/danfuzz/events{/privacy}","received_events_url":"https://api.github.com/users/danfuzz/received_events","type":"User","site_admin":false},"repo":{"id":69512346,"node_id":"MDEwOlJlcG9zaXRvcnk2OTUxMjM0Ng==","name":"bayou","full_name":"danfuzz/bayou","private":false,"owner":{"login":"danfuzz","id":1090235,"node_id":"MDQ6VXNlcjEwOTAyMzU=","avatar_url":"https://avatars3.githubusercontent.com/u/1090235?v=4","gravatar_id":"","url":"https://api.github.com/users/danfuzz","html_url":"https://github.com/danfuzz","followers_url":"https://api.github.com/users/danfuzz/followers","following_url":"https://api.github.com/users/danfuzz/following{/other_user}","gists_url":"https://api.github.com/users/danfuzz/gists{/gist_id}","starred_url":"https://api.github.com/users/danfuzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danfuzz/subscriptions","organizations_url":"https://api.github.com/users/danfuzz/orgs","repos_url":"https://api.github.com/users/danfuzz/repos","events_url":"https://api.github.com/users/danfuzz/events{/privacy}","received_events_url":"https://api.github.com/users/danfuzz/received_events","type":"User","site_admin":false},"html_url":"https://github.com/danfuzz/bayou","description":"Collaborative document editing, with Quill-based front end","fork":false,"url":"https://api.github.com/repos/danfuzz/bayou","forks_url":"https://api.github.com/repos/danfuzz/bayou/forks","keys_url":"https://api.github.com/repos/danfuzz/bayou/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danfuzz/bayou/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danfuzz/bayou/teams","hooks_url":"https://api.github.com/repos/danfuzz/bayou/hooks","issue_events_url":"https://api.github.com/repos/danfuzz/bayou/issues/events{/number}","events_url":"https://api.github.com/repos/danfuzz/bayou/events","assignees_url":"https://api.github.com/repos/danfuzz/bayou/assignees{/user}","branches_url":"https://api.github.com/repos/danfuzz/bayou/branches{/branch}","tags_url":"https://api.github.com/repos/danfuzz/bayou/tags","blobs_url":"https://api.github.com/repos/danfuzz/bayou/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danfuzz/bayou/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danfuzz/bayou/git/refs{/sha}","trees_url":"https://api.github.com/repos/danfuzz/bayou/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danfuzz/bayou/statuses/{sha}","languages_url":"https://api.github.com/repos/danfuzz/bayou/languages","stargazers_url":"https://api.github.com/repos/danfuzz/bayou/stargazers","contributors_url":"https://api.github.com/repos/danfuzz/bayou/contributors","subscribers_url":"https://api.github.com/repos/danfuzz/bayou/subscribers","subscription_url":"https://api.github.com/repos/danfuzz/bayou/subscription","commits_url":"https://api.github.com/repos/danfuzz/bayou/commits{/sha}","git_commits_url":"https://api.github.com/repos/danfuzz/bayou/git/commits{/sha}","comments_url":"https://api.github.com/repos/danfuzz/bayou/comments{/number}","issue_comment_url":"https://api.github.com/repos/danfuzz/bayou/issues/comments{/number}","contents_url":"https://api.github.com/repos/danfuzz/bayou/contents/{+path}","compare_url":"https://api.github.com/repos/danfuzz/bayou/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danfuzz/bayou/merges","archive_url":"https://api.github.com/repos/danfuzz/bayou/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danfuzz/bayou/downloads","issues_url":"https://api.github.com/repos/danfuzz/bayou/issues{/number}","pulls_url":"https://api.github.com/repos/danfuzz/bayou/pulls{/number}","milestones_url":"https://api.github.com/repos/danfuzz/bayou/milestones{/number}","notifications_url":"https://api.github.com/repos/danfuzz/bayou/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danfuzz/bayou/labels{/name}","releases_url":"https://api.github.com/repos/danfuzz/bayou/releases{/id}","deployments_url":"https://api.github.com/repos/danfuzz/bayou/deployments","created_at":"2016-09-28T23:36:15Z","updated_at":"2018-09-19T15:49:24Z","pushed_at":"2018-09-19T19:31:18Z","git_url":"git://github.com/danfuzz/bayou.git","ssh_url":"git@github.com:danfuzz/bayou.git","clone_url":"https://github.com/danfuzz/bayou.git","svn_url":"https://github.com/danfuzz/bayou","homepage":"","size":4582,"stargazers_count":17,"watchers_count":17,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2,"open_issues":1,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/danfuzz/bayou/pulls/537"},"html":{"href":"https://github.com/danfuzz/bayou/pull/537"},"issue":{"href":"https://api.github.com/repos/danfuzz/bayou/issues/537"},"comments":{"href":"https://api.github.com/repos/danfuzz/bayou/issues/537/comments"},"review_comments":{"href":"https://api.github.com/repos/danfuzz/bayou/pulls/537/comments"},"review_comment":{"href":"https://api.github.com/repos/danfuzz/bayou/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/danfuzz/bayou/pulls/537/commits"},"statuses":{"href":"https://api.github.com/repos/danfuzz/bayou/statuses/c02dfd2c4377e6bfa3a017adae63c60925ac9343"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":19,"additions":190,"deletions":199,"changed_files":15}}
{"actor":{"display_login":"danfuzz"}}