{"action":"opened","number":950,"pull_request":{"url":"https://api.github.com/repos/opensim-org/opensim-gui/pulls/950","id":208058210,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4MDU4MjEw","html_url":"https://github.com/opensim-org/opensim-gui/pull/950","diff_url":"https://github.com/opensim-org/opensim-gui/pull/950.diff","patch_url":"https://github.com/opensim-org/opensim-gui/pull/950.patch","issue_url":"https://api.github.com/repos/opensim-org/opensim-gui/issues/950","number":950,"state":"open","locked":false,"title":"Introduce buildnumber and use it to decide when to installResources (on first launch)","user":{"login":"aymanhab","id":3972208,"node_id":"MDQ6VXNlcjM5NzIyMDg=","avatar_url":"https://avatars0.githubusercontent.com/u/3972208?v=4","gravatar_id":"","url":"https://api.github.com/users/aymanhab","html_url":"https://github.com/aymanhab","followers_url":"https://api.github.com/users/aymanhab/followers","following_url":"https://api.github.com/users/aymanhab/following{/other_user}","gists_url":"https://api.github.com/users/aymanhab/gists{/gist_id}","starred_url":"https://api.github.com/users/aymanhab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aymanhab/subscriptions","organizations_url":"https://api.github.com/users/aymanhab/orgs","repos_url":"https://api.github.com/users/aymanhab/repos","events_url":"https://api.github.com/users/aymanhab/events{/privacy}","received_events_url":"https://api.github.com/users/aymanhab/received_events","type":"User","site_admin":false},"body":"Fixes issue #941 \r\n### Brief summary of changes\r\nCreated a CMake variable that encodes the build date, commit hash for opensim-gui, wrote this to a .properties file, updated build script to copy the file to install folder, updated code that installResources to read the properties file and check if Resources need reinstall.\r\n\r\n### Testing I've completed\r\nTested whole workflow on windows and was properly prompted to install on first launch and not after. \r\n\r\n### CHANGELOG.md (choose one)\r\n\r\n- no need to update because this is internal\r\n","created_at":"2018-08-13T18:07:16Z","updated_at":"2018-08-13T18:07:16Z","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/opensim-org/opensim-gui/pulls/950/commits","review_comments_url":"https://api.github.com/repos/opensim-org/opensim-gui/pulls/950/comments","review_comment_url":"https://api.github.com/repos/opensim-org/opensim-gui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opensim-org/opensim-gui/issues/950/comments","statuses_url":"https://api.github.com/repos/opensim-org/opensim-gui/statuses/6f69b67e30bae3232ee31ffc3a967bdcf1010b08","head":{"label":"opensim-org:introduce_buildnumber","ref":"introduce_buildnumber","sha":"6f69b67e30bae3232ee31ffc3a967bdcf1010b08","user":{"login":"opensim-org","id":4370782,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzNzA3ODI=","avatar_url":"https://avatars0.githubusercontent.com/u/4370782?v=4","gravatar_id":"","url":"https://api.github.com/users/opensim-org","html_url":"https://github.com/opensim-org","followers_url":"https://api.github.com/users/opensim-org/followers","following_url":"https://api.github.com/users/opensim-org/following{/other_user}","gists_url":"https://api.github.com/users/opensim-org/gists{/gist_id}","starred_url":"https://api.github.com/users/opensim-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opensim-org/subscriptions","organizations_url":"https://api.github.com/users/opensim-org/orgs","repos_url":"https://api.github.com/users/opensim-org/repos","events_url":"https://api.github.com/users/opensim-org/events{/privacy}","received_events_url":"https://api.github.com/users/opensim-org/received_events","type":"Organization","site_admin":false},"repo":{"id":21282751,"node_id":"MDEwOlJlcG9zaXRvcnkyMTI4Mjc1MQ==","name":"opensim-gui","full_name":"opensim-org/opensim-gui","owner":{"login":"opensim-org","id":4370782,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzNzA3ODI=","avatar_url":"https://avatars0.githubusercontent.com/u/4370782?v=4","gravatar_id":"","url":"https://api.github.com/users/opensim-org","html_url":"https://github.com/opensim-org","followers_url":"https://api.github.com/users/opensim-org/followers","following_url":"https://api.github.com/users/opensim-org/following{/other_user}","gists_url":"https://api.github.com/users/opensim-org/gists{/gist_id}","starred_url":"https://api.github.com/users/opensim-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opensim-org/subscriptions","organizations_url":"https://api.github.com/users/opensim-org/orgs","repos_url":"https://api.github.com/users/opensim-org/repos","events_url":"https://api.github.com/users/opensim-org/events{/privacy}","received_events_url":"https://api.github.com/users/opensim-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opensim-org/opensim-gui","description":"SimTK OpenSim graphical user interface and distribution.","fork":false,"url":"https://api.github.com/repos/opensim-org/opensim-gui","forks_url":"https://api.github.com/repos/opensim-org/opensim-gui/forks","keys_url":"https://api.github.com/repos/opensim-org/opensim-gui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opensim-org/opensim-gui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opensim-org/opensim-gui/teams","hooks_url":"https://api.github.com/repos/opensim-org/opensim-gui/hooks","issue_events_url":"https://api.github.com/repos/opensim-org/opensim-gui/issues/events{/number}","events_url":"https://api.github.com/repos/opensim-org/opensim-gui/events","assignees_url":"https://api.github.com/repos/opensim-org/opensim-gui/assignees{/user}","branches_url":"https://api.github.com/repos/opensim-org/opensim-gui/branches{/branch}","tags_url":"https://api.github.com/repos/opensim-org/opensim-gui/tags","blobs_url":"https://api.github.com/repos/opensim-org/opensim-gui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opensim-org/opensim-gui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opensim-org/opensim-gui/git/refs{/sha}","trees_url":"https://api.github.com/repos/opensim-org/opensim-gui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opensim-org/opensim-gui/statuses/{sha}","languages_url":"https://api.github.com/repos/opensim-org/opensim-gui/languages","stargazers_url":"https://api.github.com/repos/opensim-org/opensim-gui/stargazers","contributors_url":"https://api.github.com/repos/opensim-org/opensim-gui/contributors","subscribers_url":"https://api.github.com/repos/opensim-org/opensim-gui/subscribers","subscription_url":"https://api.github.com/repos/opensim-org/opensim-gui/subscription","commits_url":"https://api.github.com/repos/opensim-org/opensim-gui/commits{/sha}","git_commits_url":"https://api.github.com/repos/opensim-org/opensim-gui/git/commits{/sha}","comments_url":"https://api.github.com/repos/opensim-org/opensim-gui/comments{/number}","issue_comment_url":"https://api.github.com/repos/opensim-org/opensim-gui/issues/comments{/number}","contents_url":"https://api.github.com/repos/opensim-org/opensim-gui/contents/{+path}","compare_url":"https://api.github.com/repos/opensim-org/opensim-gui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opensim-org/opensim-gui/merges","archive_url":"https://api.github.com/repos/opensim-org/opensim-gui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opensim-org/opensim-gui/downloads","issues_url":"https://api.github.com/repos/opensim-org/opensim-gui/issues{/number}","pulls_url":"https://api.github.com/repos/opensim-org/opensim-gui/pulls{/number}","milestones_url":"https://api.github.com/repos/opensim-org/opensim-gui/milestones{/number}","notifications_url":"https://api.github.com/repos/opensim-org/opensim-gui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opensim-org/opensim-gui/labels{/name}","releases_url":"https://api.github.com/repos/opensim-org/opensim-gui/releases{/id}","deployments_url":"https://api.github.com/repos/opensim-org/opensim-gui/deployments","created_at":"2014-06-27T16:58:33Z","updated_at":"2018-08-11T23:30:15Z","pushed_at":"2018-08-13T18:02:22Z","git_url":"git://github.com/opensim-org/opensim-gui.git","ssh_url":"git@github.com:opensim-org/opensim-gui.git","clone_url":"https://github.com/opensim-org/opensim-gui.git","svn_url":"https://github.com/opensim-org/opensim-gui","homepage":null,"size":330101,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":217,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":3,"open_issues":217,"watchers":8,"default_branch":"master"}},"base":{"label":"opensim-org:master","ref":"master","sha":"71c8c385873b86900d6c46aaf8595227a33b4d44","user":{"login":"opensim-org","id":4370782,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzNzA3ODI=","avatar_url":"https://avatars0.githubusercontent.com/u/4370782?v=4","gravatar_id":"","url":"https://api.github.com/users/opensim-org","html_url":"https://github.com/opensim-org","followers_url":"https://api.github.com/users/opensim-org/followers","following_url":"https://api.github.com/users/opensim-org/following{/other_user}","gists_url":"https://api.github.com/users/opensim-org/gists{/gist_id}","starred_url":"https://api.github.com/users/opensim-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opensim-org/subscriptions","organizations_url":"https://api.github.com/users/opensim-org/orgs","repos_url":"https://api.github.com/users/opensim-org/repos","events_url":"https://api.github.com/users/opensim-org/events{/privacy}","received_events_url":"https://api.github.com/users/opensim-org/received_events","type":"Organization","site_admin":false},"repo":{"id":21282751,"node_id":"MDEwOlJlcG9zaXRvcnkyMTI4Mjc1MQ==","name":"opensim-gui","full_name":"opensim-org/opensim-gui","owner":{"login":"opensim-org","id":4370782,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzNzA3ODI=","avatar_url":"https://avatars0.githubusercontent.com/u/4370782?v=4","gravatar_id":"","url":"https://api.github.com/users/opensim-org","html_url":"https://github.com/opensim-org","followers_url":"https://api.github.com/users/opensim-org/followers","following_url":"https://api.github.com/users/opensim-org/following{/other_user}","gists_url":"https://api.github.com/users/opensim-org/gists{/gist_id}","starred_url":"https://api.github.com/users/opensim-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opensim-org/subscriptions","organizations_url":"https://api.github.com/users/opensim-org/orgs","repos_url":"https://api.github.com/users/opensim-org/repos","events_url":"https://api.github.com/users/opensim-org/events{/privacy}","received_events_url":"https://api.github.com/users/opensim-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opensim-org/opensim-gui","description":"SimTK OpenSim graphical user interface and distribution.","fork":false,"url":"https://api.github.com/repos/opensim-org/opensim-gui","forks_url":"https://api.github.com/repos/opensim-org/opensim-gui/forks","keys_url":"https://api.github.com/repos/opensim-org/opensim-gui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opensim-org/opensim-gui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opensim-org/opensim-gui/teams","hooks_url":"https://api.github.com/repos/opensim-org/opensim-gui/hooks","issue_events_url":"https://api.github.com/repos/opensim-org/opensim-gui/issues/events{/number}","events_url":"https://api.github.com/repos/opensim-org/opensim-gui/events","assignees_url":"https://api.github.com/repos/opensim-org/opensim-gui/assignees{/user}","branches_url":"https://api.github.com/repos/opensim-org/opensim-gui/branches{/branch}","tags_url":"https://api.github.com/repos/opensim-org/opensim-gui/tags","blobs_url":"https://api.github.com/repos/opensim-org/opensim-gui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opensim-org/opensim-gui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opensim-org/opensim-gui/git/refs{/sha}","trees_url":"https://api.github.com/repos/opensim-org/opensim-gui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opensim-org/opensim-gui/statuses/{sha}","languages_url":"https://api.github.com/repos/opensim-org/opensim-gui/languages","stargazers_url":"https://api.github.com/repos/opensim-org/opensim-gui/stargazers","contributors_url":"https://api.github.com/repos/opensim-org/opensim-gui/contributors","subscribers_url":"https://api.github.com/repos/opensim-org/opensim-gui/subscribers","subscription_url":"https://api.github.com/repos/opensim-org/opensim-gui/subscription","commits_url":"https://api.github.com/repos/opensim-org/opensim-gui/commits{/sha}","git_commits_url":"https://api.github.com/repos/opensim-org/opensim-gui/git/commits{/sha}","comments_url":"https://api.github.com/repos/opensim-org/opensim-gui/comments{/number}","issue_comment_url":"https://api.github.com/repos/opensim-org/opensim-gui/issues/comments{/number}","contents_url":"https://api.github.com/repos/opensim-org/opensim-gui/contents/{+path}","compare_url":"https://api.github.com/repos/opensim-org/opensim-gui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opensim-org/opensim-gui/merges","archive_url":"https://api.github.com/repos/opensim-org/opensim-gui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opensim-org/opensim-gui/downloads","issues_url":"https://api.github.com/repos/opensim-org/opensim-gui/issues{/number}","pulls_url":"https://api.github.com/repos/opensim-org/opensim-gui/pulls{/number}","milestones_url":"https://api.github.com/repos/opensim-org/opensim-gui/milestones{/number}","notifications_url":"https://api.github.com/repos/opensim-org/opensim-gui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opensim-org/opensim-gui/labels{/name}","releases_url":"https://api.github.com/repos/opensim-org/opensim-gui/releases{/id}","deployments_url":"https://api.github.com/repos/opensim-org/opensim-gui/deployments","created_at":"2014-06-27T16:58:33Z","updated_at":"2018-08-11T23:30:15Z","pushed_at":"2018-08-13T18:02:22Z","git_url":"git://github.com/opensim-org/opensim-gui.git","ssh_url":"git@github.com:opensim-org/opensim-gui.git","clone_url":"https://github.com/opensim-org/opensim-gui.git","svn_url":"https://github.com/opensim-org/opensim-gui","homepage":null,"size":330101,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":217,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":3,"open_issues":217,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opensim-org/opensim-gui/pulls/950"},"html":{"href":"https://github.com/opensim-org/opensim-gui/pull/950"},"issue":{"href":"https://api.github.com/repos/opensim-org/opensim-gui/issues/950"},"comments":{"href":"https://api.github.com/repos/opensim-org/opensim-gui/issues/950/comments"},"review_comments":{"href":"https://api.github.com/repos/opensim-org/opensim-gui/pulls/950/comments"},"review_comment":{"href":"https://api.github.com/repos/opensim-org/opensim-gui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opensim-org/opensim-gui/pulls/950/commits"},"statuses":{"href":"https://api.github.com/repos/opensim-org/opensim-gui/statuses/6f69b67e30bae3232ee31ffc3a967bdcf1010b08"}},"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":5,"additions":37,"deletions":6,"changed_files":4}}
{"actor":{"display_login":"aymanhab"}}