{"action":"created","comment":{"url":"https://api.github.com/repos/opendatakit/briefcase/pulls/comments/200881178","pull_request_review_id":135276289,"id":200881178,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDg4MTE3OA==","diff_hunk":"@@ -60,6 +61,10 @@ public SettingsPanel(SettingsPanelForm form, BriefcasePreferences appPreferences\n       analytics.enableTracking(enabled, false);\n     });\n     form.onHttpProxy(appPreferences::setHttpProxy, appPreferences::unsetHttpProxy);\n+    form.onReloadCache(() -> {\n+      formCache.update();\n+      JOptionPane.showMessageDialog(getContainer(), \"The form cache has been successfully reloaded\");","path":"src/org/opendatakit/briefcase/ui/settings/SettingsPanel.java","position":14,"original_position":14,"commit_id":"3d0307eda47b8015c49ac08f20ebc17ee76a6897","original_commit_id":"3d0307eda47b8015c49ac08f20ebc17ee76a6897","user":{"login":"dcbriccetti","id":55099,"node_id":"MDQ6VXNlcjU1MDk5","avatar_url":"https://avatars0.githubusercontent.com/u/55099?v=4","gravatar_id":"","url":"https://api.github.com/users/dcbriccetti","html_url":"https://github.com/dcbriccetti","followers_url":"https://api.github.com/users/dcbriccetti/followers","following_url":"https://api.github.com/users/dcbriccetti/following{/other_user}","gists_url":"https://api.github.com/users/dcbriccetti/gists{/gist_id}","starred_url":"https://api.github.com/users/dcbriccetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcbriccetti/subscriptions","organizations_url":"https://api.github.com/users/dcbriccetti/orgs","repos_url":"https://api.github.com/users/dcbriccetti/repos","events_url":"https://api.github.com/users/dcbriccetti/events{/privacy}","received_events_url":"https://api.github.com/users/dcbriccetti/received_events","type":"User","site_admin":false},"body":"I prefer rebuilt to reloaded.","created_at":"2018-07-09T04:59:24Z","updated_at":"2018-07-09T04:59:56Z","html_url":"https://github.com/opendatakit/briefcase/pull/566#discussion_r200881178","pull_request_url":"https://api.github.com/repos/opendatakit/briefcase/pulls/566","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/opendatakit/briefcase/pulls/comments/200881178"},"html":{"href":"https://github.com/opendatakit/briefcase/pull/566#discussion_r200881178"},"pull_request":{"href":"https://api.github.com/repos/opendatakit/briefcase/pulls/566"}}},"pull_request":{"url":"https://api.github.com/repos/opendatakit/briefcase/pulls/566","id":198640359,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NjQwMzU5","html_url":"https://github.com/opendatakit/briefcase/pull/566","diff_url":"https://github.com/opendatakit/briefcase/pull/566.diff","patch_url":"https://github.com/opendatakit/briefcase/pull/566.patch","issue_url":"https://api.github.com/repos/opendatakit/briefcase/issues/566","number":566,"state":"open","locked":false,"title":"Issue 479 reload cache button","user":{"login":"ggalmazor","id":205913,"node_id":"MDQ6VXNlcjIwNTkxMw==","avatar_url":"https://avatars0.githubusercontent.com/u/205913?v=4","gravatar_id":"","url":"https://api.github.com/users/ggalmazor","html_url":"https://github.com/ggalmazor","followers_url":"https://api.github.com/users/ggalmazor/followers","following_url":"https://api.github.com/users/ggalmazor/following{/other_user}","gists_url":"https://api.github.com/users/ggalmazor/gists{/gist_id}","starred_url":"https://api.github.com/users/ggalmazor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggalmazor/subscriptions","organizations_url":"https://api.github.com/users/ggalmazor/orgs","repos_url":"https://api.github.com/users/ggalmazor/repos","events_url":"https://api.github.com/users/ggalmazor/events{/privacy}","received_events_url":"https://api.github.com/users/ggalmazor/received_events","type":"User","site_admin":false},"body":"Closes #479\r\n\r\nThis PR adds a new button to the Settings tab that lets the user reload the form cache. This is useful when the user needs to manually add or remove any form in Briefcase's current storage directory.\r\n\r\n![image](https://user-images.githubusercontent.com/205913/42159781-447e298e-7df5-11e8-800f-00382816dfd1.png)\r\n\r\n#### What has been done to verify that this works as intended?\r\n- Set a storage directory. \r\n- Check that a form is listed in the push and export tabs.\r\n- Remove the form folder manually\r\n- Click on the reload cache button (verify that a dialog confirms the operation)\r\n- Check that the form is no longer present in the push and export tabs.\r\n\r\n#### Why is this the best possible solution? Were any other approaches considered?\r\nThis PR introduces UI changes only. All the underlying mechanisms already existed. It's a fairly straightforward change.\r\n\r\n#### Are there any risks to merging this code? If so, what are they?\r\nNope.\r\n\r\n#### Does this change require updates to documentation? If so, please file an issue at https://github.com/opendatakit/docs/issues/new and include the link below.\r\nNope.","created_at":"2018-07-02T10:44:43Z","updated_at":"2018-07-09T04:59:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d26a98d07f86820ebc8dba0d2badda9903e91df3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/opendatakit/briefcase/pulls/566/commits","review_comments_url":"https://api.github.com/repos/opendatakit/briefcase/pulls/566/comments","review_comment_url":"https://api.github.com/repos/opendatakit/briefcase/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opendatakit/briefcase/issues/566/comments","statuses_url":"https://api.github.com/repos/opendatakit/briefcase/statuses/3d0307eda47b8015c49ac08f20ebc17ee76a6897","head":{"label":"ggalmazor:issue_479_reload_cache_button","ref":"issue_479_reload_cache_button","sha":"3d0307eda47b8015c49ac08f20ebc17ee76a6897","user":{"login":"ggalmazor","id":205913,"node_id":"MDQ6VXNlcjIwNTkxMw==","avatar_url":"https://avatars0.githubusercontent.com/u/205913?v=4","gravatar_id":"","url":"https://api.github.com/users/ggalmazor","html_url":"https://github.com/ggalmazor","followers_url":"https://api.github.com/users/ggalmazor/followers","following_url":"https://api.github.com/users/ggalmazor/following{/other_user}","gists_url":"https://api.github.com/users/ggalmazor/gists{/gist_id}","starred_url":"https://api.github.com/users/ggalmazor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggalmazor/subscriptions","organizations_url":"https://api.github.com/users/ggalmazor/orgs","repos_url":"https://api.github.com/users/ggalmazor/repos","events_url":"https://api.github.com/users/ggalmazor/events{/privacy}","received_events_url":"https://api.github.com/users/ggalmazor/received_events","type":"User","site_admin":false},"repo":{"id":111058940,"node_id":"MDEwOlJlcG9zaXRvcnkxMTEwNTg5NDA=","name":"briefcase","full_name":"ggalmazor/briefcase","owner":{"login":"ggalmazor","id":205913,"node_id":"MDQ6VXNlcjIwNTkxMw==","avatar_url":"https://avatars0.githubusercontent.com/u/205913?v=4","gravatar_id":"","url":"https://api.github.com/users/ggalmazor","html_url":"https://github.com/ggalmazor","followers_url":"https://api.github.com/users/ggalmazor/followers","following_url":"https://api.github.com/users/ggalmazor/following{/other_user}","gists_url":"https://api.github.com/users/ggalmazor/gists{/gist_id}","starred_url":"https://api.github.com/users/ggalmazor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggalmazor/subscriptions","organizations_url":"https://api.github.com/users/ggalmazor/orgs","repos_url":"https://api.github.com/users/ggalmazor/repos","events_url":"https://api.github.com/users/ggalmazor/events{/privacy}","received_events_url":"https://api.github.com/users/ggalmazor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ggalmazor/briefcase","description":"ODK Briefcase is a Java application for fetching and pushing forms and their contents. It helps make billions of data points from ODK campaigns portable. Contribute and make the world a better place! ✨💼✨","fork":true,"url":"https://api.github.com/repos/ggalmazor/briefcase","forks_url":"https://api.github.com/repos/ggalmazor/briefcase/forks","keys_url":"https://api.github.com/repos/ggalmazor/briefcase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ggalmazor/briefcase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ggalmazor/briefcase/teams","hooks_url":"https://api.github.com/repos/ggalmazor/briefcase/hooks","issue_events_url":"https://api.github.com/repos/ggalmazor/briefcase/issues/events{/number}","events_url":"https://api.github.com/repos/ggalmazor/briefcase/events","assignees_url":"https://api.github.com/repos/ggalmazor/briefcase/assignees{/user}","branches_url":"https://api.github.com/repos/ggalmazor/briefcase/branches{/branch}","tags_url":"https://api.github.com/repos/ggalmazor/briefcase/tags","blobs_url":"https://api.github.com/repos/ggalmazor/briefcase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ggalmazor/briefcase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ggalmazor/briefcase/git/refs{/sha}","trees_url":"https://api.github.com/repos/ggalmazor/briefcase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ggalmazor/briefcase/statuses/{sha}","languages_url":"https://api.github.com/repos/ggalmazor/briefcase/languages","stargazers_url":"https://api.github.com/repos/ggalmazor/briefcase/stargazers","contributors_url":"https://api.github.com/repos/ggalmazor/briefcase/contributors","subscribers_url":"https://api.github.com/repos/ggalmazor/briefcase/subscribers","subscription_url":"https://api.github.com/repos/ggalmazor/briefcase/subscription","commits_url":"https://api.github.com/repos/ggalmazor/briefcase/commits{/sha}","git_commits_url":"https://api.github.com/repos/ggalmazor/briefcase/git/commits{/sha}","comments_url":"https://api.github.com/repos/ggalmazor/briefcase/comments{/number}","issue_comment_url":"https://api.github.com/repos/ggalmazor/briefcase/issues/comments{/number}","contents_url":"https://api.github.com/repos/ggalmazor/briefcase/contents/{+path}","compare_url":"https://api.github.com/repos/ggalmazor/briefcase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ggalmazor/briefcase/merges","archive_url":"https://api.github.com/repos/ggalmazor/briefcase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ggalmazor/briefcase/downloads","issues_url":"https://api.github.com/repos/ggalmazor/briefcase/issues{/number}","pulls_url":"https://api.github.com/repos/ggalmazor/briefcase/pulls{/number}","milestones_url":"https://api.github.com/repos/ggalmazor/briefcase/milestones{/number}","notifications_url":"https://api.github.com/repos/ggalmazor/briefcase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ggalmazor/briefcase/labels{/name}","releases_url":"https://api.github.com/repos/ggalmazor/briefcase/releases{/id}","deployments_url":"https://api.github.com/repos/ggalmazor/briefcase/deployments","created_at":"2017-11-17T04:43:22Z","updated_at":"2018-06-28T07:19:21Z","pushed_at":"2018-07-05T11:10:03Z","git_url":"git://github.com/ggalmazor/briefcase.git","ssh_url":"git@github.com:ggalmazor/briefcase.git","clone_url":"https://github.com/ggalmazor/briefcase.git","svn_url":"https://github.com/ggalmazor/briefcase","homepage":"https://github.com/opendatakit/briefcase","size":18905,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"master"}},"base":{"label":"opendatakit:master","ref":"master","sha":"77ab97aefe5c56912420e05838fc8bd158558d44","user":{"login":"opendatakit","id":6222985,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMjI5ODU=","avatar_url":"https://avatars0.githubusercontent.com/u/6222985?v=4","gravatar_id":"","url":"https://api.github.com/users/opendatakit","html_url":"https://github.com/opendatakit","followers_url":"https://api.github.com/users/opendatakit/followers","following_url":"https://api.github.com/users/opendatakit/following{/other_user}","gists_url":"https://api.github.com/users/opendatakit/gists{/gist_id}","starred_url":"https://api.github.com/users/opendatakit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opendatakit/subscriptions","organizations_url":"https://api.github.com/users/opendatakit/orgs","repos_url":"https://api.github.com/users/opendatakit/repos","events_url":"https://api.github.com/users/opendatakit/events{/privacy}","received_events_url":"https://api.github.com/users/opendatakit/received_events","type":"Organization","site_admin":false},"repo":{"id":40322074,"node_id":"MDEwOlJlcG9zaXRvcnk0MDMyMjA3NA==","name":"briefcase","full_name":"opendatakit/briefcase","owner":{"login":"opendatakit","id":6222985,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMjI5ODU=","avatar_url":"https://avatars0.githubusercontent.com/u/6222985?v=4","gravatar_id":"","url":"https://api.github.com/users/opendatakit","html_url":"https://github.com/opendatakit","followers_url":"https://api.github.com/users/opendatakit/followers","following_url":"https://api.github.com/users/opendatakit/following{/other_user}","gists_url":"https://api.github.com/users/opendatakit/gists{/gist_id}","starred_url":"https://api.github.com/users/opendatakit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opendatakit/subscriptions","organizations_url":"https://api.github.com/users/opendatakit/orgs","repos_url":"https://api.github.com/users/opendatakit/repos","events_url":"https://api.github.com/users/opendatakit/events{/privacy}","received_events_url":"https://api.github.com/users/opendatakit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opendatakit/briefcase","description":"ODK Briefcase is a Java application for fetching and pushing forms and their contents. It helps make billions of data points from ODK portable. Contribute and make the world a better place! ✨💼✨","fork":false,"url":"https://api.github.com/repos/opendatakit/briefcase","forks_url":"https://api.github.com/repos/opendatakit/briefcase/forks","keys_url":"https://api.github.com/repos/opendatakit/briefcase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opendatakit/briefcase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opendatakit/briefcase/teams","hooks_url":"https://api.github.com/repos/opendatakit/briefcase/hooks","issue_events_url":"https://api.github.com/repos/opendatakit/briefcase/issues/events{/number}","events_url":"https://api.github.com/repos/opendatakit/briefcase/events","assignees_url":"https://api.github.com/repos/opendatakit/briefcase/assignees{/user}","branches_url":"https://api.github.com/repos/opendatakit/briefcase/branches{/branch}","tags_url":"https://api.github.com/repos/opendatakit/briefcase/tags","blobs_url":"https://api.github.com/repos/opendatakit/briefcase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opendatakit/briefcase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opendatakit/briefcase/git/refs{/sha}","trees_url":"https://api.github.com/repos/opendatakit/briefcase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opendatakit/briefcase/statuses/{sha}","languages_url":"https://api.github.com/repos/opendatakit/briefcase/languages","stargazers_url":"https://api.github.com/repos/opendatakit/briefcase/stargazers","contributors_url":"https://api.github.com/repos/opendatakit/briefcase/contributors","subscribers_url":"https://api.github.com/repos/opendatakit/briefcase/subscribers","subscription_url":"https://api.github.com/repos/opendatakit/briefcase/subscription","commits_url":"https://api.github.com/repos/opendatakit/briefcase/commits{/sha}","git_commits_url":"https://api.github.com/repos/opendatakit/briefcase/git/commits{/sha}","comments_url":"https://api.github.com/repos/opendatakit/briefcase/comments{/number}","issue_comment_url":"https://api.github.com/repos/opendatakit/briefcase/issues/comments{/number}","contents_url":"https://api.github.com/repos/opendatakit/briefcase/contents/{+path}","compare_url":"https://api.github.com/repos/opendatakit/briefcase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opendatakit/briefcase/merges","archive_url":"https://api.github.com/repos/opendatakit/briefcase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opendatakit/briefcase/downloads","issues_url":"https://api.github.com/repos/opendatakit/briefcase/issues{/number}","pulls_url":"https://api.github.com/repos/opendatakit/briefcase/pulls{/number}","milestones_url":"https://api.github.com/repos/opendatakit/briefcase/milestones{/number}","notifications_url":"https://api.github.com/repos/opendatakit/briefcase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opendatakit/briefcase/labels{/name}","releases_url":"https://api.github.com/repos/opendatakit/briefcase/releases{/id}","deployments_url":"https://api.github.com/repos/opendatakit/briefcase/deployments","created_at":"2015-08-06T19:01:59Z","updated_at":"2018-07-09T04:40:27Z","pushed_at":"2018-07-09T04:40:24Z","git_url":"git://github.com/opendatakit/briefcase.git","ssh_url":"git@github.com:opendatakit/briefcase.git","clone_url":"https://github.com/opendatakit/briefcase.git","svn_url":"https://github.com/opendatakit/briefcase","homepage":"https://docs.opendatakit.org/briefcase-intro","size":18853,"stargazers_count":34,"watchers_count":34,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":96,"mirror_url":null,"archived":false,"open_issues_count":57,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":96,"open_issues":57,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opendatakit/briefcase/pulls/566"},"html":{"href":"https://github.com/opendatakit/briefcase/pull/566"},"issue":{"href":"https://api.github.com/repos/opendatakit/briefcase/issues/566"},"comments":{"href":"https://api.github.com/repos/opendatakit/briefcase/issues/566/comments"},"review_comments":{"href":"https://api.github.com/repos/opendatakit/briefcase/pulls/566/comments"},"review_comment":{"href":"https://api.github.com/repos/opendatakit/briefcase/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opendatakit/briefcase/pulls/566/commits"},"statuses":{"href":"https://api.github.com/repos/opendatakit/briefcase/statuses/3d0307eda47b8015c49ac08f20ebc17ee76a6897"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"dcbriccetti"}}