{"action":"opened","number":1733,"pull_request":{"url":"https://api.github.com/repos/Hopsan/hopsan/pulls/1733","id":190280646,"html_url":"https://github.com/Hopsan/hopsan/pull/1733","diff_url":"https://github.com/Hopsan/hopsan/pull/1733.diff","patch_url":"https://github.com/Hopsan/hopsan/pull/1733.patch","issue_url":"https://api.github.com/repos/Hopsan/hopsan/issues/1733","number":1733,"state":"open","locked":false,"title":"Don't clear optimization script when closing dialog","user":{"login":"robbr48","id":17850153,"avatar_url":"https://avatars0.githubusercontent.com/u/17850153?v=4","gravatar_id":"","url":"https://api.github.com/users/robbr48","html_url":"https://github.com/robbr48","followers_url":"https://api.github.com/users/robbr48/followers","following_url":"https://api.github.com/users/robbr48/following{/other_user}","gists_url":"https://api.github.com/users/robbr48/gists{/gist_id}","starred_url":"https://api.github.com/users/robbr48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbr48/subscriptions","organizations_url":"https://api.github.com/users/robbr48/orgs","repos_url":"https://api.github.com/users/robbr48/repos","events_url":"https://api.github.com/users/robbr48/events{/privacy}","received_events_url":"https://api.github.com/users/robbr48/received_events","type":"User","site_admin":false},"body":"Resolves #1701 \r\n\r\nDrawback is that users may forget to click \"Regenerate Script\" if the previous script is already there. But this is still a better solution, since you no longer risk to lose manual changes to the script.","created_at":"2018-05-24T12:58:32Z","updated_at":"2018-05-24T12:58:32Z","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/Hopsan/hopsan/pulls/1733/commits","review_comments_url":"https://api.github.com/repos/Hopsan/hopsan/pulls/1733/comments","review_comment_url":"https://api.github.com/repos/Hopsan/hopsan/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Hopsan/hopsan/issues/1733/comments","statuses_url":"https://api.github.com/repos/Hopsan/hopsan/statuses/2dad336bae4563e2335f16fd849a8878b71c3c40","head":{"label":"robbr48:issue-1701_dont_clear_optimization_script","ref":"issue-1701_dont_clear_optimization_script","sha":"2dad336bae4563e2335f16fd849a8878b71c3c40","user":{"login":"robbr48","id":17850153,"avatar_url":"https://avatars0.githubusercontent.com/u/17850153?v=4","gravatar_id":"","url":"https://api.github.com/users/robbr48","html_url":"https://github.com/robbr48","followers_url":"https://api.github.com/users/robbr48/followers","following_url":"https://api.github.com/users/robbr48/following{/other_user}","gists_url":"https://api.github.com/users/robbr48/gists{/gist_id}","starred_url":"https://api.github.com/users/robbr48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbr48/subscriptions","organizations_url":"https://api.github.com/users/robbr48/orgs","repos_url":"https://api.github.com/users/robbr48/repos","events_url":"https://api.github.com/users/robbr48/events{/privacy}","received_events_url":"https://api.github.com/users/robbr48/received_events","type":"User","site_admin":false},"repo":{"id":101026537,"name":"hopsan","full_name":"robbr48/hopsan","owner":{"login":"robbr48","id":17850153,"avatar_url":"https://avatars0.githubusercontent.com/u/17850153?v=4","gravatar_id":"","url":"https://api.github.com/users/robbr48","html_url":"https://github.com/robbr48","followers_url":"https://api.github.com/users/robbr48/followers","following_url":"https://api.github.com/users/robbr48/following{/other_user}","gists_url":"https://api.github.com/users/robbr48/gists{/gist_id}","starred_url":"https://api.github.com/users/robbr48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbr48/subscriptions","organizations_url":"https://api.github.com/users/robbr48/orgs","repos_url":"https://api.github.com/users/robbr48/repos","events_url":"https://api.github.com/users/robbr48/events{/privacy}","received_events_url":"https://api.github.com/users/robbr48/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robbr48/hopsan","description":"Hopsan is a free multi-domain system simulation tool developed at the division of Fluid and mechatronic systems at Linköping university.","fork":true,"url":"https://api.github.com/repos/robbr48/hopsan","forks_url":"https://api.github.com/repos/robbr48/hopsan/forks","keys_url":"https://api.github.com/repos/robbr48/hopsan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robbr48/hopsan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robbr48/hopsan/teams","hooks_url":"https://api.github.com/repos/robbr48/hopsan/hooks","issue_events_url":"https://api.github.com/repos/robbr48/hopsan/issues/events{/number}","events_url":"https://api.github.com/repos/robbr48/hopsan/events","assignees_url":"https://api.github.com/repos/robbr48/hopsan/assignees{/user}","branches_url":"https://api.github.com/repos/robbr48/hopsan/branches{/branch}","tags_url":"https://api.github.com/repos/robbr48/hopsan/tags","blobs_url":"https://api.github.com/repos/robbr48/hopsan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robbr48/hopsan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robbr48/hopsan/git/refs{/sha}","trees_url":"https://api.github.com/repos/robbr48/hopsan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robbr48/hopsan/statuses/{sha}","languages_url":"https://api.github.com/repos/robbr48/hopsan/languages","stargazers_url":"https://api.github.com/repos/robbr48/hopsan/stargazers","contributors_url":"https://api.github.com/repos/robbr48/hopsan/contributors","subscribers_url":"https://api.github.com/repos/robbr48/hopsan/subscribers","subscription_url":"https://api.github.com/repos/robbr48/hopsan/subscription","commits_url":"https://api.github.com/repos/robbr48/hopsan/commits{/sha}","git_commits_url":"https://api.github.com/repos/robbr48/hopsan/git/commits{/sha}","comments_url":"https://api.github.com/repos/robbr48/hopsan/comments{/number}","issue_comment_url":"https://api.github.com/repos/robbr48/hopsan/issues/comments{/number}","contents_url":"https://api.github.com/repos/robbr48/hopsan/contents/{+path}","compare_url":"https://api.github.com/repos/robbr48/hopsan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robbr48/hopsan/merges","archive_url":"https://api.github.com/repos/robbr48/hopsan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robbr48/hopsan/downloads","issues_url":"https://api.github.com/repos/robbr48/hopsan/issues{/number}","pulls_url":"https://api.github.com/repos/robbr48/hopsan/pulls{/number}","milestones_url":"https://api.github.com/repos/robbr48/hopsan/milestones{/number}","notifications_url":"https://api.github.com/repos/robbr48/hopsan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robbr48/hopsan/labels{/name}","releases_url":"https://api.github.com/repos/robbr48/hopsan/releases{/id}","deployments_url":"https://api.github.com/repos/robbr48/hopsan/deployments","created_at":"2017-08-22T05:57:26Z","updated_at":"2018-04-04T05:40:29Z","pushed_at":"2018-05-24T12:56:49Z","git_url":"git://github.com/robbr48/hopsan.git","ssh_url":"git@github.com:robbr48/hopsan.git","clone_url":"https://github.com/robbr48/hopsan.git","svn_url":"https://github.com/robbr48/hopsan","homepage":"","size":37381,"stargazers_count":1,"watchers_count":1,"language":"Mathematica","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},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"Hopsan:master","ref":"master","sha":"c397a249675b85b5145196a4ec52017437065456","user":{"login":"Hopsan","id":28801670,"avatar_url":"https://avatars2.githubusercontent.com/u/28801670?v=4","gravatar_id":"","url":"https://api.github.com/users/Hopsan","html_url":"https://github.com/Hopsan","followers_url":"https://api.github.com/users/Hopsan/followers","following_url":"https://api.github.com/users/Hopsan/following{/other_user}","gists_url":"https://api.github.com/users/Hopsan/gists{/gist_id}","starred_url":"https://api.github.com/users/Hopsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hopsan/subscriptions","organizations_url":"https://api.github.com/users/Hopsan/orgs","repos_url":"https://api.github.com/users/Hopsan/repos","events_url":"https://api.github.com/users/Hopsan/events{/privacy}","received_events_url":"https://api.github.com/users/Hopsan/received_events","type":"Organization","site_admin":false},"repo":{"id":91779008,"name":"hopsan","full_name":"Hopsan/hopsan","owner":{"login":"Hopsan","id":28801670,"avatar_url":"https://avatars2.githubusercontent.com/u/28801670?v=4","gravatar_id":"","url":"https://api.github.com/users/Hopsan","html_url":"https://github.com/Hopsan","followers_url":"https://api.github.com/users/Hopsan/followers","following_url":"https://api.github.com/users/Hopsan/following{/other_user}","gists_url":"https://api.github.com/users/Hopsan/gists{/gist_id}","starred_url":"https://api.github.com/users/Hopsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hopsan/subscriptions","organizations_url":"https://api.github.com/users/Hopsan/orgs","repos_url":"https://api.github.com/users/Hopsan/repos","events_url":"https://api.github.com/users/Hopsan/events{/privacy}","received_events_url":"https://api.github.com/users/Hopsan/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Hopsan/hopsan","description":"Hopsan is a free multi-domain system simulation tool developed at the division of Fluid and mechatronic systems at Linköping university.","fork":false,"url":"https://api.github.com/repos/Hopsan/hopsan","forks_url":"https://api.github.com/repos/Hopsan/hopsan/forks","keys_url":"https://api.github.com/repos/Hopsan/hopsan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hopsan/hopsan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hopsan/hopsan/teams","hooks_url":"https://api.github.com/repos/Hopsan/hopsan/hooks","issue_events_url":"https://api.github.com/repos/Hopsan/hopsan/issues/events{/number}","events_url":"https://api.github.com/repos/Hopsan/hopsan/events","assignees_url":"https://api.github.com/repos/Hopsan/hopsan/assignees{/user}","branches_url":"https://api.github.com/repos/Hopsan/hopsan/branches{/branch}","tags_url":"https://api.github.com/repos/Hopsan/hopsan/tags","blobs_url":"https://api.github.com/repos/Hopsan/hopsan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hopsan/hopsan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hopsan/hopsan/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hopsan/hopsan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hopsan/hopsan/statuses/{sha}","languages_url":"https://api.github.com/repos/Hopsan/hopsan/languages","stargazers_url":"https://api.github.com/repos/Hopsan/hopsan/stargazers","contributors_url":"https://api.github.com/repos/Hopsan/hopsan/contributors","subscribers_url":"https://api.github.com/repos/Hopsan/hopsan/subscribers","subscription_url":"https://api.github.com/repos/Hopsan/hopsan/subscription","commits_url":"https://api.github.com/repos/Hopsan/hopsan/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hopsan/hopsan/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hopsan/hopsan/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hopsan/hopsan/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hopsan/hopsan/contents/{+path}","compare_url":"https://api.github.com/repos/Hopsan/hopsan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hopsan/hopsan/merges","archive_url":"https://api.github.com/repos/Hopsan/hopsan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hopsan/hopsan/downloads","issues_url":"https://api.github.com/repos/Hopsan/hopsan/issues{/number}","pulls_url":"https://api.github.com/repos/Hopsan/hopsan/pulls{/number}","milestones_url":"https://api.github.com/repos/Hopsan/hopsan/milestones{/number}","notifications_url":"https://api.github.com/repos/Hopsan/hopsan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hopsan/hopsan/labels{/name}","releases_url":"https://api.github.com/repos/Hopsan/hopsan/releases{/id}","deployments_url":"https://api.github.com/repos/Hopsan/hopsan/deployments","created_at":"2017-05-19T07:35:11Z","updated_at":"2018-05-24T10:55:20Z","pushed_at":"2018-05-24T12:49:13Z","git_url":"git://github.com/Hopsan/hopsan.git","ssh_url":"git@github.com:Hopsan/hopsan.git","clone_url":"https://github.com/Hopsan/hopsan.git","svn_url":"https://github.com/Hopsan/hopsan","homepage":"","size":37782,"stargazers_count":9,"watchers_count":9,"language":"Mathematica","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":353,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":6,"open_issues":353,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Hopsan/hopsan/pulls/1733"},"html":{"href":"https://github.com/Hopsan/hopsan/pull/1733"},"issue":{"href":"https://api.github.com/repos/Hopsan/hopsan/issues/1733"},"comments":{"href":"https://api.github.com/repos/Hopsan/hopsan/issues/1733/comments"},"review_comments":{"href":"https://api.github.com/repos/Hopsan/hopsan/pulls/1733/comments"},"review_comment":{"href":"https://api.github.com/repos/Hopsan/hopsan/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Hopsan/hopsan/pulls/1733/commits"},"statuses":{"href":"https://api.github.com/repos/Hopsan/hopsan/statuses/2dad336bae4563e2335f16fd849a8878b71c3c40"}},"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":0,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"robbr48"}}