{"action":"created","issue":{"url":"https://api.github.com/repos/google/santa/issues/169","repository_url":"https://api.github.com/repos/google/santa","labels_url":"https://api.github.com/repos/google/santa/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/google/santa/issues/169/comments","events_url":"https://api.github.com/repos/google/santa/issues/169/events","html_url":"https://github.com/google/santa/issues/169","id":223505813,"number":169,"title":"Bundle scan should detect the most-general bundle, not the least-general","user":{"login":"msuozzo","id":1393068,"avatar_url":"https://avatars3.githubusercontent.com/u/1393068?v=3","gravatar_id":"","url":"https://api.github.com/users/msuozzo","html_url":"https://github.com/msuozzo","followers_url":"https://api.github.com/users/msuozzo/followers","following_url":"https://api.github.com/users/msuozzo/following{/other_user}","gists_url":"https://api.github.com/users/msuozzo/gists{/gist_id}","starred_url":"https://api.github.com/users/msuozzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msuozzo/subscriptions","organizations_url":"https://api.github.com/users/msuozzo/orgs","repos_url":"https://api.github.com/users/msuozzo/repos","events_url":"https://api.github.com/users/msuozzo/events{/privacy}","received_events_url":"https://api.github.com/users/msuozzo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"tburgin","id":2117646,"avatar_url":"https://avatars1.githubusercontent.com/u/2117646?v=3","gravatar_id":"","url":"https://api.github.com/users/tburgin","html_url":"https://github.com/tburgin","followers_url":"https://api.github.com/users/tburgin/followers","following_url":"https://api.github.com/users/tburgin/following{/other_user}","gists_url":"https://api.github.com/users/tburgin/gists{/gist_id}","starred_url":"https://api.github.com/users/tburgin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tburgin/subscriptions","organizations_url":"https://api.github.com/users/tburgin/orgs","repos_url":"https://api.github.com/users/tburgin/repos","events_url":"https://api.github.com/users/tburgin/events{/privacy}","received_events_url":"https://api.github.com/users/tburgin/received_events","type":"User","site_admin":false},"assignees":[{"login":"tburgin","id":2117646,"avatar_url":"https://avatars1.githubusercontent.com/u/2117646?v=3","gravatar_id":"","url":"https://api.github.com/users/tburgin","html_url":"https://github.com/tburgin","followers_url":"https://api.github.com/users/tburgin/followers","following_url":"https://api.github.com/users/tburgin/following{/other_user}","gists_url":"https://api.github.com/users/tburgin/gists{/gist_id}","starred_url":"https://api.github.com/users/tburgin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tburgin/subscriptions","organizations_url":"https://api.github.com/users/tburgin/orgs","repos_url":"https://api.github.com/users/tburgin/repos","events_url":"https://api.github.com/users/tburgin/events{/privacy}","received_events_url":"https://api.github.com/users/tburgin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2017-04-21T21:47:42Z","updated_at":"2017-06-12T19:13:06Z","closed_at":"2017-06-12T19:13:06Z","body":"Using Spotify.app as an example below, running \"Spotify Helper\" inside the \"Spotify Helper.app\" bundle should map to \"Spotify.app\" because it is the most general (and, thus, the most user-recognizable) part of the application. However the current logic only walks up the file tree until it finds any bundle which, as in this case, may not always be the best choice.\r\n\r\n\r\n**/Applications/Spotify.app/**\r\n└── Contents\r\n    ├── Frameworks\r\n    │   ├── Chromium\\ Embedded\\ Framework.framework\r\n    │   │   └── ...\r\n    │   └── **Spotify\\ Helper.app**\r\n    │       └── Contents\r\n    │           ├── Info.plist\r\n    │           ├── MacOS\r\n    │           │   └── **Spotify\\ Helper**    <---------- \r\n    │           └── _CodeSignature\r\n    │               └── CodeResources\r\n    ├── Info.plist\r\n    ├── MacOS\r\n    │   ├── Spotify\r\n    │   ├── SpotifyWebHelper\r\n    │   └── sp_relauncher\r\n    ├── Resources\r\n    │   └── ...\r\n    └── _CodeSignature\r\n        └── CodeResources"},"comment":{"url":"https://api.github.com/repos/google/santa/issues/comments/307890739","html_url":"https://github.com/google/santa/issues/169#issuecomment-307890739","issue_url":"https://api.github.com/repos/google/santa/issues/169","id":307890739,"user":{"login":"tburgin","id":2117646,"avatar_url":"https://avatars1.githubusercontent.com/u/2117646?v=3","gravatar_id":"","url":"https://api.github.com/users/tburgin","html_url":"https://github.com/tburgin","followers_url":"https://api.github.com/users/tburgin/followers","following_url":"https://api.github.com/users/tburgin/following{/other_user}","gists_url":"https://api.github.com/users/tburgin/gists{/gist_id}","starred_url":"https://api.github.com/users/tburgin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tburgin/subscriptions","organizations_url":"https://api.github.com/users/tburgin/orgs","repos_url":"https://api.github.com/users/tburgin/repos","events_url":"https://api.github.com/users/tburgin/events{/privacy}","received_events_url":"https://api.github.com/users/tburgin/received_events","type":"User","site_admin":false},"created_at":"2017-06-12T19:13:06Z","updated_at":"2017-06-12T19:13:06Z","body":"Fixed in v0.9.18"}}
{"actor":{"display_login":"tburgin"}}