{"action":"opened","number":383,"pull_request":{"url":"https://api.github.com/repos/kusumotolab/kGenProg/pulls/383","id":227872421,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3ODcyNDIx","html_url":"https://github.com/kusumotolab/kGenProg/pull/383","diff_url":"https://github.com/kusumotolab/kGenProg/pull/383.diff","patch_url":"https://github.com/kusumotolab/kGenProg/pull/383.patch","issue_url":"https://api.github.com/repos/kusumotolab/kGenProg/issues/383","number":383,"state":"open","locked":false,"title":"メモリ&差分ビルド","user":{"login":"shinsuke-mat","id":5342911,"node_id":"MDQ6VXNlcjUzNDI5MTE=","avatar_url":"https://avatars1.githubusercontent.com/u/5342911?v=4","gravatar_id":"","url":"https://api.github.com/users/shinsuke-mat","html_url":"https://github.com/shinsuke-mat","followers_url":"https://api.github.com/users/shinsuke-mat/followers","following_url":"https://api.github.com/users/shinsuke-mat/following{/other_user}","gists_url":"https://api.github.com/users/shinsuke-mat/gists{/gist_id}","starred_url":"https://api.github.com/users/shinsuke-mat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinsuke-mat/subscriptions","organizations_url":"https://api.github.com/users/shinsuke-mat/orgs","repos_url":"https://api.github.com/users/shinsuke-mat/repos","events_url":"https://api.github.com/users/shinsuke-mat/events{/privacy}","received_events_url":"https://api.github.com/users/shinsuke-mat/received_events","type":"User","site_admin":false},"body":"resolve #306 #363 #364\r\n\r\n### やったこと\r\n- メモリ&差分ビルドの実装\r\n  - 関連クラスを大工事（下記シーケンス図参照）\r\n  - テスト追加\r\n  - 差分ビルドテストのためのBuildFailure14追加\r\n  - 差分ビルドのためのバイナリ集合を持つ`BinaryStore`クラス追加\r\n\r\n![x](https://user-images.githubusercontent.com/5342911/47903851-9d141f80-dec7-11e8-8293-73b2a8f98378.jpg)\r\n- ビルド関係のクラスを`kgp.project.build`パッケージに移動\r\n- 不要になったバイナリ解析ライブラリasmの依存削除，及び関連クラスを削除\r\n\r\n\r\nなお差が巨大，かつパッケージを移動してしまったのでdiffが役に立ちません．\r\ndiff見るよりソースコード見たほうが理解につながるとは思います．\r\n\r\n### やってないこと（後でやる予定）\r\n- BinaryStoreの`get()`アクセスの高速化 #382\r\n現在キャッシュ内を全探索しているのでキャッシュ増えると苦しい．\r\n\r\n- テスト処理の一つにビルドが入っている #252\r\n","created_at":"2018-11-02T09:08:17Z","updated_at":"2018-11-02T09:08:17Z","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/kusumotolab/kGenProg/pulls/383/commits","review_comments_url":"https://api.github.com/repos/kusumotolab/kGenProg/pulls/383/comments","review_comment_url":"https://api.github.com/repos/kusumotolab/kGenProg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kusumotolab/kGenProg/issues/383/comments","statuses_url":"https://api.github.com/repos/kusumotolab/kGenProg/statuses/7d13d07ba5b475682262c019d53cfb091c58f64b","head":{"label":"kusumotolab:in-memory-build","ref":"in-memory-build","sha":"7d13d07ba5b475682262c019d53cfb091c58f64b","user":{"login":"kusumotolab","id":3646276,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NDYyNzY=","avatar_url":"https://avatars3.githubusercontent.com/u/3646276?v=4","gravatar_id":"","url":"https://api.github.com/users/kusumotolab","html_url":"https://github.com/kusumotolab","followers_url":"https://api.github.com/users/kusumotolab/followers","following_url":"https://api.github.com/users/kusumotolab/following{/other_user}","gists_url":"https://api.github.com/users/kusumotolab/gists{/gist_id}","starred_url":"https://api.github.com/users/kusumotolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kusumotolab/subscriptions","organizations_url":"https://api.github.com/users/kusumotolab/orgs","repos_url":"https://api.github.com/users/kusumotolab/repos","events_url":"https://api.github.com/users/kusumotolab/events{/privacy}","received_events_url":"https://api.github.com/users/kusumotolab/received_events","type":"Organization","site_admin":false},"repo":{"id":128753992,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg3NTM5OTI=","name":"kGenProg","full_name":"kusumotolab/kGenProg","private":false,"owner":{"login":"kusumotolab","id":3646276,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NDYyNzY=","avatar_url":"https://avatars3.githubusercontent.com/u/3646276?v=4","gravatar_id":"","url":"https://api.github.com/users/kusumotolab","html_url":"https://github.com/kusumotolab","followers_url":"https://api.github.com/users/kusumotolab/followers","following_url":"https://api.github.com/users/kusumotolab/following{/other_user}","gists_url":"https://api.github.com/users/kusumotolab/gists{/gist_id}","starred_url":"https://api.github.com/users/kusumotolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kusumotolab/subscriptions","organizations_url":"https://api.github.com/users/kusumotolab/orgs","repos_url":"https://api.github.com/users/kusumotolab/repos","events_url":"https://api.github.com/users/kusumotolab/events{/privacy}","received_events_url":"https://api.github.com/users/kusumotolab/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/kusumotolab/kGenProg","description":"A High-performance, High-extensibility and High-portability APR System","fork":false,"url":"https://api.github.com/repos/kusumotolab/kGenProg","forks_url":"https://api.github.com/repos/kusumotolab/kGenProg/forks","keys_url":"https://api.github.com/repos/kusumotolab/kGenProg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kusumotolab/kGenProg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kusumotolab/kGenProg/teams","hooks_url":"https://api.github.com/repos/kusumotolab/kGenProg/hooks","issue_events_url":"https://api.github.com/repos/kusumotolab/kGenProg/issues/events{/number}","events_url":"https://api.github.com/repos/kusumotolab/kGenProg/events","assignees_url":"https://api.github.com/repos/kusumotolab/kGenProg/assignees{/user}","branches_url":"https://api.github.com/repos/kusumotolab/kGenProg/branches{/branch}","tags_url":"https://api.github.com/repos/kusumotolab/kGenProg/tags","blobs_url":"https://api.github.com/repos/kusumotolab/kGenProg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kusumotolab/kGenProg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kusumotolab/kGenProg/git/refs{/sha}","trees_url":"https://api.github.com/repos/kusumotolab/kGenProg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kusumotolab/kGenProg/statuses/{sha}","languages_url":"https://api.github.com/repos/kusumotolab/kGenProg/languages","stargazers_url":"https://api.github.com/repos/kusumotolab/kGenProg/stargazers","contributors_url":"https://api.github.com/repos/kusumotolab/kGenProg/contributors","subscribers_url":"https://api.github.com/repos/kusumotolab/kGenProg/subscribers","subscription_url":"https://api.github.com/repos/kusumotolab/kGenProg/subscription","commits_url":"https://api.github.com/repos/kusumotolab/kGenProg/commits{/sha}","git_commits_url":"https://api.github.com/repos/kusumotolab/kGenProg/git/commits{/sha}","comments_url":"https://api.github.com/repos/kusumotolab/kGenProg/comments{/number}","issue_comment_url":"https://api.github.com/repos/kusumotolab/kGenProg/issues/comments{/number}","contents_url":"https://api.github.com/repos/kusumotolab/kGenProg/contents/{+path}","compare_url":"https://api.github.com/repos/kusumotolab/kGenProg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kusumotolab/kGenProg/merges","archive_url":"https://api.github.com/repos/kusumotolab/kGenProg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kusumotolab/kGenProg/downloads","issues_url":"https://api.github.com/repos/kusumotolab/kGenProg/issues{/number}","pulls_url":"https://api.github.com/repos/kusumotolab/kGenProg/pulls{/number}","milestones_url":"https://api.github.com/repos/kusumotolab/kGenProg/milestones{/number}","notifications_url":"https://api.github.com/repos/kusumotolab/kGenProg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kusumotolab/kGenProg/labels{/name}","releases_url":"https://api.github.com/repos/kusumotolab/kGenProg/releases{/id}","deployments_url":"https://api.github.com/repos/kusumotolab/kGenProg/deployments","created_at":"2018-04-09T10:21:49Z","updated_at":"2018-11-01T08:21:28Z","pushed_at":"2018-11-02T07:38:00Z","git_url":"git://github.com/kusumotolab/kGenProg.git","ssh_url":"git@github.com:kusumotolab/kGenProg.git","clone_url":"https://github.com/kusumotolab/kGenProg.git","svn_url":"https://github.com/kusumotolab/kGenProg","homepage":"","size":2069,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":44,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2,"open_issues":44,"watchers":3,"default_branch":"master"}},"base":{"label":"kusumotolab:master","ref":"master","sha":"7fd19271492854d85e9a5a33281f2c503f59c51d","user":{"login":"kusumotolab","id":3646276,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NDYyNzY=","avatar_url":"https://avatars3.githubusercontent.com/u/3646276?v=4","gravatar_id":"","url":"https://api.github.com/users/kusumotolab","html_url":"https://github.com/kusumotolab","followers_url":"https://api.github.com/users/kusumotolab/followers","following_url":"https://api.github.com/users/kusumotolab/following{/other_user}","gists_url":"https://api.github.com/users/kusumotolab/gists{/gist_id}","starred_url":"https://api.github.com/users/kusumotolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kusumotolab/subscriptions","organizations_url":"https://api.github.com/users/kusumotolab/orgs","repos_url":"https://api.github.com/users/kusumotolab/repos","events_url":"https://api.github.com/users/kusumotolab/events{/privacy}","received_events_url":"https://api.github.com/users/kusumotolab/received_events","type":"Organization","site_admin":false},"repo":{"id":128753992,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg3NTM5OTI=","name":"kGenProg","full_name":"kusumotolab/kGenProg","private":false,"owner":{"login":"kusumotolab","id":3646276,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NDYyNzY=","avatar_url":"https://avatars3.githubusercontent.com/u/3646276?v=4","gravatar_id":"","url":"https://api.github.com/users/kusumotolab","html_url":"https://github.com/kusumotolab","followers_url":"https://api.github.com/users/kusumotolab/followers","following_url":"https://api.github.com/users/kusumotolab/following{/other_user}","gists_url":"https://api.github.com/users/kusumotolab/gists{/gist_id}","starred_url":"https://api.github.com/users/kusumotolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kusumotolab/subscriptions","organizations_url":"https://api.github.com/users/kusumotolab/orgs","repos_url":"https://api.github.com/users/kusumotolab/repos","events_url":"https://api.github.com/users/kusumotolab/events{/privacy}","received_events_url":"https://api.github.com/users/kusumotolab/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/kusumotolab/kGenProg","description":"A High-performance, High-extensibility and High-portability APR System","fork":false,"url":"https://api.github.com/repos/kusumotolab/kGenProg","forks_url":"https://api.github.com/repos/kusumotolab/kGenProg/forks","keys_url":"https://api.github.com/repos/kusumotolab/kGenProg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kusumotolab/kGenProg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kusumotolab/kGenProg/teams","hooks_url":"https://api.github.com/repos/kusumotolab/kGenProg/hooks","issue_events_url":"https://api.github.com/repos/kusumotolab/kGenProg/issues/events{/number}","events_url":"https://api.github.com/repos/kusumotolab/kGenProg/events","assignees_url":"https://api.github.com/repos/kusumotolab/kGenProg/assignees{/user}","branches_url":"https://api.github.com/repos/kusumotolab/kGenProg/branches{/branch}","tags_url":"https://api.github.com/repos/kusumotolab/kGenProg/tags","blobs_url":"https://api.github.com/repos/kusumotolab/kGenProg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kusumotolab/kGenProg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kusumotolab/kGenProg/git/refs{/sha}","trees_url":"https://api.github.com/repos/kusumotolab/kGenProg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kusumotolab/kGenProg/statuses/{sha}","languages_url":"https://api.github.com/repos/kusumotolab/kGenProg/languages","stargazers_url":"https://api.github.com/repos/kusumotolab/kGenProg/stargazers","contributors_url":"https://api.github.com/repos/kusumotolab/kGenProg/contributors","subscribers_url":"https://api.github.com/repos/kusumotolab/kGenProg/subscribers","subscription_url":"https://api.github.com/repos/kusumotolab/kGenProg/subscription","commits_url":"https://api.github.com/repos/kusumotolab/kGenProg/commits{/sha}","git_commits_url":"https://api.github.com/repos/kusumotolab/kGenProg/git/commits{/sha}","comments_url":"https://api.github.com/repos/kusumotolab/kGenProg/comments{/number}","issue_comment_url":"https://api.github.com/repos/kusumotolab/kGenProg/issues/comments{/number}","contents_url":"https://api.github.com/repos/kusumotolab/kGenProg/contents/{+path}","compare_url":"https://api.github.com/repos/kusumotolab/kGenProg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kusumotolab/kGenProg/merges","archive_url":"https://api.github.com/repos/kusumotolab/kGenProg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kusumotolab/kGenProg/downloads","issues_url":"https://api.github.com/repos/kusumotolab/kGenProg/issues{/number}","pulls_url":"https://api.github.com/repos/kusumotolab/kGenProg/pulls{/number}","milestones_url":"https://api.github.com/repos/kusumotolab/kGenProg/milestones{/number}","notifications_url":"https://api.github.com/repos/kusumotolab/kGenProg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kusumotolab/kGenProg/labels{/name}","releases_url":"https://api.github.com/repos/kusumotolab/kGenProg/releases{/id}","deployments_url":"https://api.github.com/repos/kusumotolab/kGenProg/deployments","created_at":"2018-04-09T10:21:49Z","updated_at":"2018-11-01T08:21:28Z","pushed_at":"2018-11-02T07:38:00Z","git_url":"git://github.com/kusumotolab/kGenProg.git","ssh_url":"git@github.com:kusumotolab/kGenProg.git","clone_url":"https://github.com/kusumotolab/kGenProg.git","svn_url":"https://github.com/kusumotolab/kGenProg","homepage":"","size":2069,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":44,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2,"open_issues":44,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kusumotolab/kGenProg/pulls/383"},"html":{"href":"https://github.com/kusumotolab/kGenProg/pull/383"},"issue":{"href":"https://api.github.com/repos/kusumotolab/kGenProg/issues/383"},"comments":{"href":"https://api.github.com/repos/kusumotolab/kGenProg/issues/383/comments"},"review_comments":{"href":"https://api.github.com/repos/kusumotolab/kGenProg/pulls/383/comments"},"review_comment":{"href":"https://api.github.com/repos/kusumotolab/kGenProg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kusumotolab/kGenProg/pulls/383/commits"},"statuses":{"href":"https://api.github.com/repos/kusumotolab/kGenProg/statuses/7d13d07ba5b475682262c019d53cfb091c58f64b"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":52,"additions":1261,"deletions":1049,"changed_files":35}}
{"actor":{"display_login":"shinsuke-mat"}}