{"action":"opened","number":2295,"pull_request":{"url":"https://api.github.com/repos/oracle/opengrok/pulls/2295","id":208174418,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4MTc0NDE4","html_url":"https://github.com/oracle/opengrok/pull/2295","diff_url":"https://github.com/oracle/opengrok/pull/2295.diff","patch_url":"https://github.com/oracle/opengrok/pull/2295.patch","issue_url":"https://api.github.com/repos/oracle/opengrok/issues/2295","number":2295,"state":"open","locked":false,"title":"Improve suggester temporary files handling","user":{"login":"Orviss","id":12401160,"node_id":"MDQ6VXNlcjEyNDAxMTYw","avatar_url":"https://avatars3.githubusercontent.com/u/12401160?v=4","gravatar_id":"","url":"https://api.github.com/users/Orviss","html_url":"https://github.com/Orviss","followers_url":"https://api.github.com/users/Orviss/followers","following_url":"https://api.github.com/users/Orviss/following{/other_user}","gists_url":"https://api.github.com/users/Orviss/gists{/gist_id}","starred_url":"https://api.github.com/users/Orviss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Orviss/subscriptions","organizations_url":"https://api.github.com/users/Orviss/orgs","repos_url":"https://api.github.com/users/Orviss/repos","events_url":"https://api.github.com/users/Orviss/events{/privacy}","received_events_url":"https://api.github.com/users/Orviss/received_events","type":"User","site_admin":false},"body":"<!--\r\nThank you for proposing a contribution to the {OpenGrok project. In order to accept changes from the \"outside world\", all contributors should \"sign\" the [Oracle Contributor Agreement](www.oracle.com/technetwork/community/oca-486395.html) . \r\nOCA basically means that you won't be sueing Oracle over code you donate to {OpenGrok project (and similar way, that Oracle won't sue you over your patch :-D ).\r\nIf you have already signed OCA or are from Oracle, then ignore this message, you just need to sign once for all patches to {OpenGrok.\r\nAlternative is to provide a written acceptance of OCA line into the comment of specific pull request (and ideally sign, scan and mail back OCA to Oracle in parallel), but this simple acceptance is only valid for single pull request.\r\n-->\r\nHello,\r\n\r\nthis way there is no temporary directory created for the whole time the application is running. `WFSTCompletionLookup` creates a temporary file in the directory `java.io.tmpdir` and removes it when it is not needed anymore.\r\n\r\nThanks :)","created_at":"2018-08-14T05:46:10Z","updated_at":"2018-08-14T05:46:10Z","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/oracle/opengrok/pulls/2295/commits","review_comments_url":"https://api.github.com/repos/oracle/opengrok/pulls/2295/comments","review_comment_url":"https://api.github.com/repos/oracle/opengrok/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oracle/opengrok/issues/2295/comments","statuses_url":"https://api.github.com/repos/oracle/opengrok/statuses/2ab6ad067cffbdcf360a7abd5a05a14ccf1c9d4a","head":{"label":"Orviss:improve_suggester_temp","ref":"improve_suggester_temp","sha":"2ab6ad067cffbdcf360a7abd5a05a14ccf1c9d4a","user":{"login":"Orviss","id":12401160,"node_id":"MDQ6VXNlcjEyNDAxMTYw","avatar_url":"https://avatars3.githubusercontent.com/u/12401160?v=4","gravatar_id":"","url":"https://api.github.com/users/Orviss","html_url":"https://github.com/Orviss","followers_url":"https://api.github.com/users/Orviss/followers","following_url":"https://api.github.com/users/Orviss/following{/other_user}","gists_url":"https://api.github.com/users/Orviss/gists{/gist_id}","starred_url":"https://api.github.com/users/Orviss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Orviss/subscriptions","organizations_url":"https://api.github.com/users/Orviss/orgs","repos_url":"https://api.github.com/users/Orviss/repos","events_url":"https://api.github.com/users/Orviss/events{/privacy}","received_events_url":"https://api.github.com/users/Orviss/received_events","type":"User","site_admin":false},"repo":{"id":101753164,"node_id":"MDEwOlJlcG9zaXRvcnkxMDE3NTMxNjQ=","name":"OpenGrok","full_name":"Orviss/OpenGrok","owner":{"login":"Orviss","id":12401160,"node_id":"MDQ6VXNlcjEyNDAxMTYw","avatar_url":"https://avatars3.githubusercontent.com/u/12401160?v=4","gravatar_id":"","url":"https://api.github.com/users/Orviss","html_url":"https://github.com/Orviss","followers_url":"https://api.github.com/users/Orviss/followers","following_url":"https://api.github.com/users/Orviss/following{/other_user}","gists_url":"https://api.github.com/users/Orviss/gists{/gist_id}","starred_url":"https://api.github.com/users/Orviss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Orviss/subscriptions","organizations_url":"https://api.github.com/users/Orviss/orgs","repos_url":"https://api.github.com/users/Orviss/repos","events_url":"https://api.github.com/users/Orviss/events{/privacy}","received_events_url":"https://api.github.com/users/Orviss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Orviss/OpenGrok","description":"Main {OpenGrok git repository","fork":true,"url":"https://api.github.com/repos/Orviss/OpenGrok","forks_url":"https://api.github.com/repos/Orviss/OpenGrok/forks","keys_url":"https://api.github.com/repos/Orviss/OpenGrok/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Orviss/OpenGrok/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Orviss/OpenGrok/teams","hooks_url":"https://api.github.com/repos/Orviss/OpenGrok/hooks","issue_events_url":"https://api.github.com/repos/Orviss/OpenGrok/issues/events{/number}","events_url":"https://api.github.com/repos/Orviss/OpenGrok/events","assignees_url":"https://api.github.com/repos/Orviss/OpenGrok/assignees{/user}","branches_url":"https://api.github.com/repos/Orviss/OpenGrok/branches{/branch}","tags_url":"https://api.github.com/repos/Orviss/OpenGrok/tags","blobs_url":"https://api.github.com/repos/Orviss/OpenGrok/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Orviss/OpenGrok/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Orviss/OpenGrok/git/refs{/sha}","trees_url":"https://api.github.com/repos/Orviss/OpenGrok/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Orviss/OpenGrok/statuses/{sha}","languages_url":"https://api.github.com/repos/Orviss/OpenGrok/languages","stargazers_url":"https://api.github.com/repos/Orviss/OpenGrok/stargazers","contributors_url":"https://api.github.com/repos/Orviss/OpenGrok/contributors","subscribers_url":"https://api.github.com/repos/Orviss/OpenGrok/subscribers","subscription_url":"https://api.github.com/repos/Orviss/OpenGrok/subscription","commits_url":"https://api.github.com/repos/Orviss/OpenGrok/commits{/sha}","git_commits_url":"https://api.github.com/repos/Orviss/OpenGrok/git/commits{/sha}","comments_url":"https://api.github.com/repos/Orviss/OpenGrok/comments{/number}","issue_comment_url":"https://api.github.com/repos/Orviss/OpenGrok/issues/comments{/number}","contents_url":"https://api.github.com/repos/Orviss/OpenGrok/contents/{+path}","compare_url":"https://api.github.com/repos/Orviss/OpenGrok/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Orviss/OpenGrok/merges","archive_url":"https://api.github.com/repos/Orviss/OpenGrok/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Orviss/OpenGrok/downloads","issues_url":"https://api.github.com/repos/Orviss/OpenGrok/issues{/number}","pulls_url":"https://api.github.com/repos/Orviss/OpenGrok/pulls{/number}","milestones_url":"https://api.github.com/repos/Orviss/OpenGrok/milestones{/number}","notifications_url":"https://api.github.com/repos/Orviss/OpenGrok/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Orviss/OpenGrok/labels{/name}","releases_url":"https://api.github.com/repos/Orviss/OpenGrok/releases{/id}","deployments_url":"https://api.github.com/repos/Orviss/OpenGrok/deployments","created_at":"2017-08-29T11:21:18Z","updated_at":"2018-07-31T09:19:39Z","pushed_at":"2018-08-14T05:28:23Z","git_url":"git://github.com/Orviss/OpenGrok.git","ssh_url":"git@github.com:Orviss/OpenGrok.git","clone_url":"https://github.com/Orviss/OpenGrok.git","svn_url":"https://github.com/Orviss/OpenGrok","homepage":"http://opengrok.github.io/OpenGrok/","size":24029,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"mavenize"}},"base":{"label":"oracle:master","ref":"master","sha":"8182cfb404e603d075402e2e1c85942464519b1a","user":{"login":"oracle","id":4430336,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MzAzMzY=","avatar_url":"https://avatars1.githubusercontent.com/u/4430336?v=4","gravatar_id":"","url":"https://api.github.com/users/oracle","html_url":"https://github.com/oracle","followers_url":"https://api.github.com/users/oracle/followers","following_url":"https://api.github.com/users/oracle/following{/other_user}","gists_url":"https://api.github.com/users/oracle/gists{/gist_id}","starred_url":"https://api.github.com/users/oracle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oracle/subscriptions","organizations_url":"https://api.github.com/users/oracle/orgs","repos_url":"https://api.github.com/users/oracle/repos","events_url":"https://api.github.com/users/oracle/events{/privacy}","received_events_url":"https://api.github.com/users/oracle/received_events","type":"Organization","site_admin":false},"repo":{"id":7481569,"node_id":"MDEwOlJlcG9zaXRvcnk3NDgxNTY5","name":"opengrok","full_name":"oracle/opengrok","owner":{"login":"oracle","id":4430336,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MzAzMzY=","avatar_url":"https://avatars1.githubusercontent.com/u/4430336?v=4","gravatar_id":"","url":"https://api.github.com/users/oracle","html_url":"https://github.com/oracle","followers_url":"https://api.github.com/users/oracle/followers","following_url":"https://api.github.com/users/oracle/following{/other_user}","gists_url":"https://api.github.com/users/oracle/gists{/gist_id}","starred_url":"https://api.github.com/users/oracle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oracle/subscriptions","organizations_url":"https://api.github.com/users/oracle/orgs","repos_url":"https://api.github.com/users/oracle/repos","events_url":"https://api.github.com/users/oracle/events{/privacy}","received_events_url":"https://api.github.com/users/oracle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oracle/opengrok","description":"OpenGrok is a fast and usable source code search and cross reference engine, written in Java","fork":false,"url":"https://api.github.com/repos/oracle/opengrok","forks_url":"https://api.github.com/repos/oracle/opengrok/forks","keys_url":"https://api.github.com/repos/oracle/opengrok/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oracle/opengrok/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oracle/opengrok/teams","hooks_url":"https://api.github.com/repos/oracle/opengrok/hooks","issue_events_url":"https://api.github.com/repos/oracle/opengrok/issues/events{/number}","events_url":"https://api.github.com/repos/oracle/opengrok/events","assignees_url":"https://api.github.com/repos/oracle/opengrok/assignees{/user}","branches_url":"https://api.github.com/repos/oracle/opengrok/branches{/branch}","tags_url":"https://api.github.com/repos/oracle/opengrok/tags","blobs_url":"https://api.github.com/repos/oracle/opengrok/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oracle/opengrok/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oracle/opengrok/git/refs{/sha}","trees_url":"https://api.github.com/repos/oracle/opengrok/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oracle/opengrok/statuses/{sha}","languages_url":"https://api.github.com/repos/oracle/opengrok/languages","stargazers_url":"https://api.github.com/repos/oracle/opengrok/stargazers","contributors_url":"https://api.github.com/repos/oracle/opengrok/contributors","subscribers_url":"https://api.github.com/repos/oracle/opengrok/subscribers","subscription_url":"https://api.github.com/repos/oracle/opengrok/subscription","commits_url":"https://api.github.com/repos/oracle/opengrok/commits{/sha}","git_commits_url":"https://api.github.com/repos/oracle/opengrok/git/commits{/sha}","comments_url":"https://api.github.com/repos/oracle/opengrok/comments{/number}","issue_comment_url":"https://api.github.com/repos/oracle/opengrok/issues/comments{/number}","contents_url":"https://api.github.com/repos/oracle/opengrok/contents/{+path}","compare_url":"https://api.github.com/repos/oracle/opengrok/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oracle/opengrok/merges","archive_url":"https://api.github.com/repos/oracle/opengrok/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oracle/opengrok/downloads","issues_url":"https://api.github.com/repos/oracle/opengrok/issues{/number}","pulls_url":"https://api.github.com/repos/oracle/opengrok/pulls{/number}","milestones_url":"https://api.github.com/repos/oracle/opengrok/milestones{/number}","notifications_url":"https://api.github.com/repos/oracle/opengrok/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oracle/opengrok/labels{/name}","releases_url":"https://api.github.com/repos/oracle/opengrok/releases{/id}","deployments_url":"https://api.github.com/repos/oracle/opengrok/deployments","created_at":"2013-01-07T11:49:18Z","updated_at":"2018-08-14T04:46:10Z","pushed_at":"2018-08-13T22:08:55Z","git_url":"git://github.com/oracle/opengrok.git","ssh_url":"git@github.com:oracle/opengrok.git","clone_url":"https://github.com/oracle/opengrok.git","svn_url":"https://github.com/oracle/opengrok","homepage":"http://oracle.github.io/opengrok/","size":23859,"stargazers_count":2087,"watchers_count":2087,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":439,"mirror_url":null,"archived":false,"open_issues_count":466,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":439,"open_issues":466,"watchers":2087,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oracle/opengrok/pulls/2295"},"html":{"href":"https://github.com/oracle/opengrok/pull/2295"},"issue":{"href":"https://api.github.com/repos/oracle/opengrok/issues/2295"},"comments":{"href":"https://api.github.com/repos/oracle/opengrok/issues/2295/comments"},"review_comments":{"href":"https://api.github.com/repos/oracle/opengrok/pulls/2295/comments"},"review_comment":{"href":"https://api.github.com/repos/oracle/opengrok/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oracle/opengrok/pulls/2295/commits"},"statuses":{"href":"https://api.github.com/repos/oracle/opengrok/statuses/2ab6ad067cffbdcf360a7abd5a05a14ccf1c9d4a"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":9,"deletions":7,"changed_files":1}}
{"actor":{"display_login":"Orviss"}}