{"action":"opened","number":77,"pull_request":{"url":"https://api.github.com/repos/gillesdegottex/fmit/pulls/77","id":176280527,"html_url":"https://github.com/gillesdegottex/fmit/pull/77","diff_url":"https://github.com/gillesdegottex/fmit/pull/77.diff","patch_url":"https://github.com/gillesdegottex/fmit/pull/77.patch","issue_url":"https://api.github.com/repos/gillesdegottex/fmit/issues/77","number":77,"state":"open","locked":false,"title":"Autoload scales for microtonal view","user":{"login":"dsboger","id":2356842,"avatar_url":"https://avatars0.githubusercontent.com/u/2356842?v=4","gravatar_id":"","url":"https://api.github.com/users/dsboger","html_url":"https://github.com/dsboger","followers_url":"https://api.github.com/users/dsboger/followers","following_url":"https://api.github.com/users/dsboger/following{/other_user}","gists_url":"https://api.github.com/users/dsboger/gists{/gist_id}","starred_url":"https://api.github.com/users/dsboger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsboger/subscriptions","organizations_url":"https://api.github.com/users/dsboger/orgs","repos_url":"https://api.github.com/users/dsboger/repos","events_url":"https://api.github.com/users/dsboger/events{/privacy}","received_events_url":"https://api.github.com/users/dsboger/received_events","type":"User","site_admin":false},"body":"I think it might make sense to auto-load these scales that are installed together with FMIT. Otherwise, the user might not even notice they exist.\r\n\r\nMy main motivation is that when using flatpak, the scales will be insalled inside the sandbox, but the open file dialog opens outside the sandbox. This way, the path to the scales inside the sandbox (`/app/share/fmit/scales`) will not exist to the file dialog and so it falls back to some standard directory. The actual path outside the sandbox will be very awkward and most users will not be able to locate it (`/var/lib/flatpak/app/io.github.gillesdegottex.FMIT/current/active/files/share/fmit/scales/`). \r\n\r\nSo this was the most straightforward solution I could come up with, and it should work well in non-sandboxed installations too (although I did not test that situation).\r\n\r\nWhat do you think?","created_at":"2018-03-20T18:18:52Z","updated_at":"2018-03-20T18:18:52Z","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/gillesdegottex/fmit/pulls/77/commits","review_comments_url":"https://api.github.com/repos/gillesdegottex/fmit/pulls/77/comments","review_comment_url":"https://api.github.com/repos/gillesdegottex/fmit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gillesdegottex/fmit/issues/77/comments","statuses_url":"https://api.github.com/repos/gillesdegottex/fmit/statuses/cc96fa28b87a7bdd06cc1499b83563b18f4d9eac","head":{"label":"dsboger:autoload_scales","ref":"autoload_scales","sha":"cc96fa28b87a7bdd06cc1499b83563b18f4d9eac","user":{"login":"dsboger","id":2356842,"avatar_url":"https://avatars0.githubusercontent.com/u/2356842?v=4","gravatar_id":"","url":"https://api.github.com/users/dsboger","html_url":"https://github.com/dsboger","followers_url":"https://api.github.com/users/dsboger/followers","following_url":"https://api.github.com/users/dsboger/following{/other_user}","gists_url":"https://api.github.com/users/dsboger/gists{/gist_id}","starred_url":"https://api.github.com/users/dsboger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsboger/subscriptions","organizations_url":"https://api.github.com/users/dsboger/orgs","repos_url":"https://api.github.com/users/dsboger/repos","events_url":"https://api.github.com/users/dsboger/events{/privacy}","received_events_url":"https://api.github.com/users/dsboger/received_events","type":"User","site_admin":false},"repo":{"id":56598163,"name":"fmit","full_name":"dsboger/fmit","owner":{"login":"dsboger","id":2356842,"avatar_url":"https://avatars0.githubusercontent.com/u/2356842?v=4","gravatar_id":"","url":"https://api.github.com/users/dsboger","html_url":"https://github.com/dsboger","followers_url":"https://api.github.com/users/dsboger/followers","following_url":"https://api.github.com/users/dsboger/following{/other_user}","gists_url":"https://api.github.com/users/dsboger/gists{/gist_id}","starred_url":"https://api.github.com/users/dsboger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsboger/subscriptions","organizations_url":"https://api.github.com/users/dsboger/orgs","repos_url":"https://api.github.com/users/dsboger/repos","events_url":"https://api.github.com/users/dsboger/events{/privacy}","received_events_url":"https://api.github.com/users/dsboger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dsboger/fmit","description":"Free Music Instrument Tuner (FMIT)","fork":true,"url":"https://api.github.com/repos/dsboger/fmit","forks_url":"https://api.github.com/repos/dsboger/fmit/forks","keys_url":"https://api.github.com/repos/dsboger/fmit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dsboger/fmit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dsboger/fmit/teams","hooks_url":"https://api.github.com/repos/dsboger/fmit/hooks","issue_events_url":"https://api.github.com/repos/dsboger/fmit/issues/events{/number}","events_url":"https://api.github.com/repos/dsboger/fmit/events","assignees_url":"https://api.github.com/repos/dsboger/fmit/assignees{/user}","branches_url":"https://api.github.com/repos/dsboger/fmit/branches{/branch}","tags_url":"https://api.github.com/repos/dsboger/fmit/tags","blobs_url":"https://api.github.com/repos/dsboger/fmit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dsboger/fmit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dsboger/fmit/git/refs{/sha}","trees_url":"https://api.github.com/repos/dsboger/fmit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dsboger/fmit/statuses/{sha}","languages_url":"https://api.github.com/repos/dsboger/fmit/languages","stargazers_url":"https://api.github.com/repos/dsboger/fmit/stargazers","contributors_url":"https://api.github.com/repos/dsboger/fmit/contributors","subscribers_url":"https://api.github.com/repos/dsboger/fmit/subscribers","subscription_url":"https://api.github.com/repos/dsboger/fmit/subscription","commits_url":"https://api.github.com/repos/dsboger/fmit/commits{/sha}","git_commits_url":"https://api.github.com/repos/dsboger/fmit/git/commits{/sha}","comments_url":"https://api.github.com/repos/dsboger/fmit/comments{/number}","issue_comment_url":"https://api.github.com/repos/dsboger/fmit/issues/comments{/number}","contents_url":"https://api.github.com/repos/dsboger/fmit/contents/{+path}","compare_url":"https://api.github.com/repos/dsboger/fmit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dsboger/fmit/merges","archive_url":"https://api.github.com/repos/dsboger/fmit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dsboger/fmit/downloads","issues_url":"https://api.github.com/repos/dsboger/fmit/issues{/number}","pulls_url":"https://api.github.com/repos/dsboger/fmit/pulls{/number}","milestones_url":"https://api.github.com/repos/dsboger/fmit/milestones{/number}","notifications_url":"https://api.github.com/repos/dsboger/fmit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dsboger/fmit/labels{/name}","releases_url":"https://api.github.com/repos/dsboger/fmit/releases{/id}","deployments_url":"https://api.github.com/repos/dsboger/fmit/deployments","created_at":"2016-04-19T13:16:39Z","updated_at":"2018-03-20T17:23:29Z","pushed_at":"2018-03-20T18:17:12Z","git_url":"git://github.com/dsboger/fmit.git","ssh_url":"git@github.com:dsboger/fmit.git","clone_url":"https://github.com/dsboger/fmit.git","svn_url":"https://github.com/dsboger/fmit","homepage":"http://gillesdegottex.github.io/fmit","size":1182,"stargazers_count":0,"watchers_count":0,"language":"C++","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},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gillesdegottex:master","ref":"master","sha":"983d2fd7a01787782a4858cc844bdddbe02d6c3a","user":{"login":"gillesdegottex","id":4386879,"avatar_url":"https://avatars3.githubusercontent.com/u/4386879?v=4","gravatar_id":"","url":"https://api.github.com/users/gillesdegottex","html_url":"https://github.com/gillesdegottex","followers_url":"https://api.github.com/users/gillesdegottex/followers","following_url":"https://api.github.com/users/gillesdegottex/following{/other_user}","gists_url":"https://api.github.com/users/gillesdegottex/gists{/gist_id}","starred_url":"https://api.github.com/users/gillesdegottex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gillesdegottex/subscriptions","organizations_url":"https://api.github.com/users/gillesdegottex/orgs","repos_url":"https://api.github.com/users/gillesdegottex/repos","events_url":"https://api.github.com/users/gillesdegottex/events{/privacy}","received_events_url":"https://api.github.com/users/gillesdegottex/received_events","type":"User","site_admin":false},"repo":{"id":32584722,"name":"fmit","full_name":"gillesdegottex/fmit","owner":{"login":"gillesdegottex","id":4386879,"avatar_url":"https://avatars3.githubusercontent.com/u/4386879?v=4","gravatar_id":"","url":"https://api.github.com/users/gillesdegottex","html_url":"https://github.com/gillesdegottex","followers_url":"https://api.github.com/users/gillesdegottex/followers","following_url":"https://api.github.com/users/gillesdegottex/following{/other_user}","gists_url":"https://api.github.com/users/gillesdegottex/gists{/gist_id}","starred_url":"https://api.github.com/users/gillesdegottex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gillesdegottex/subscriptions","organizations_url":"https://api.github.com/users/gillesdegottex/orgs","repos_url":"https://api.github.com/users/gillesdegottex/repos","events_url":"https://api.github.com/users/gillesdegottex/events{/privacy}","received_events_url":"https://api.github.com/users/gillesdegottex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gillesdegottex/fmit","description":"Free Music Instrument Tuner (FMIT)","fork":false,"url":"https://api.github.com/repos/gillesdegottex/fmit","forks_url":"https://api.github.com/repos/gillesdegottex/fmit/forks","keys_url":"https://api.github.com/repos/gillesdegottex/fmit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gillesdegottex/fmit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gillesdegottex/fmit/teams","hooks_url":"https://api.github.com/repos/gillesdegottex/fmit/hooks","issue_events_url":"https://api.github.com/repos/gillesdegottex/fmit/issues/events{/number}","events_url":"https://api.github.com/repos/gillesdegottex/fmit/events","assignees_url":"https://api.github.com/repos/gillesdegottex/fmit/assignees{/user}","branches_url":"https://api.github.com/repos/gillesdegottex/fmit/branches{/branch}","tags_url":"https://api.github.com/repos/gillesdegottex/fmit/tags","blobs_url":"https://api.github.com/repos/gillesdegottex/fmit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gillesdegottex/fmit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gillesdegottex/fmit/git/refs{/sha}","trees_url":"https://api.github.com/repos/gillesdegottex/fmit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gillesdegottex/fmit/statuses/{sha}","languages_url":"https://api.github.com/repos/gillesdegottex/fmit/languages","stargazers_url":"https://api.github.com/repos/gillesdegottex/fmit/stargazers","contributors_url":"https://api.github.com/repos/gillesdegottex/fmit/contributors","subscribers_url":"https://api.github.com/repos/gillesdegottex/fmit/subscribers","subscription_url":"https://api.github.com/repos/gillesdegottex/fmit/subscription","commits_url":"https://api.github.com/repos/gillesdegottex/fmit/commits{/sha}","git_commits_url":"https://api.github.com/repos/gillesdegottex/fmit/git/commits{/sha}","comments_url":"https://api.github.com/repos/gillesdegottex/fmit/comments{/number}","issue_comment_url":"https://api.github.com/repos/gillesdegottex/fmit/issues/comments{/number}","contents_url":"https://api.github.com/repos/gillesdegottex/fmit/contents/{+path}","compare_url":"https://api.github.com/repos/gillesdegottex/fmit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gillesdegottex/fmit/merges","archive_url":"https://api.github.com/repos/gillesdegottex/fmit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gillesdegottex/fmit/downloads","issues_url":"https://api.github.com/repos/gillesdegottex/fmit/issues{/number}","pulls_url":"https://api.github.com/repos/gillesdegottex/fmit/pulls{/number}","milestones_url":"https://api.github.com/repos/gillesdegottex/fmit/milestones{/number}","notifications_url":"https://api.github.com/repos/gillesdegottex/fmit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gillesdegottex/fmit/labels{/name}","releases_url":"https://api.github.com/repos/gillesdegottex/fmit/releases{/id}","deployments_url":"https://api.github.com/repos/gillesdegottex/fmit/deployments","created_at":"2015-03-20T13:18:46Z","updated_at":"2018-03-12T05:48:48Z","pushed_at":"2018-03-20T17:25:09Z","git_url":"git://github.com/gillesdegottex/fmit.git","ssh_url":"git@github.com:gillesdegottex/fmit.git","clone_url":"https://github.com/gillesdegottex/fmit.git","svn_url":"https://github.com/gillesdegottex/fmit","homepage":"http://gillesdegottex.github.io/fmit","size":1198,"stargazers_count":44,"watchers_count":44,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":17,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":13,"open_issues":17,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gillesdegottex/fmit/pulls/77"},"html":{"href":"https://github.com/gillesdegottex/fmit/pull/77"},"issue":{"href":"https://api.github.com/repos/gillesdegottex/fmit/issues/77"},"comments":{"href":"https://api.github.com/repos/gillesdegottex/fmit/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/gillesdegottex/fmit/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/gillesdegottex/fmit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gillesdegottex/fmit/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/gillesdegottex/fmit/statuses/cc96fa28b87a7bdd06cc1499b83563b18f4d9eac"}},"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":22,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"dsboger"}}