{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/35050","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35050/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35050/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35050/events","html_url":"https://github.com/Homebrew/homebrew/pull/35050","id":52219480,"number":35050,"title":"using Mac OS alias in linkapps so spotlight can index them","user":{"login":"xu-cheng","id":3105373,"avatar_url":"https://avatars.githubusercontent.com/u/3105373?v=3","gravatar_id":"","url":"https://api.github.com/users/xu-cheng","html_url":"https://github.com/xu-cheng","followers_url":"https://api.github.com/users/xu-cheng/followers","following_url":"https://api.github.com/users/xu-cheng/following{/other_user}","gists_url":"https://api.github.com/users/xu-cheng/gists{/gist_id}","starred_url":"https://api.github.com/users/xu-cheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xu-cheng/subscriptions","organizations_url":"https://api.github.com/users/xu-cheng/orgs","repos_url":"https://api.github.com/users/xu-cheng/repos","events_url":"https://api.github.com/users/xu-cheng/events{/privacy}","received_events_url":"https://api.github.com/users/xu-cheng/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/homebrew/labels/features","name":"features","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2014-12-17T09:44:47Z","updated_at":"2015-02-19T01:59:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/35050","html_url":"https://github.com/Homebrew/homebrew/pull/35050","diff_url":"https://github.com/Homebrew/homebrew/pull/35050.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/35050.patch"},"body":"This PR extends the features of `brew linkapps` and `brew unlinkapps` as below:\r\n1. Use [Mac OS Alias](http://en.wikipedia.org/wiki/Alias_(Mac_OS)) rather than symbol link to link the applications. Therefore, spotlight can index them which solves https://github.com/Homebrew/homebrew/issues/28798.\r\n2. `brew unlinkapps` can unlink old symbol link as forward compatible.\r\n\r\n**Update**: the PR now contains Mac OS alias feature only."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/74987113","html_url":"https://github.com/Homebrew/homebrew/pull/35050#issuecomment-74987113","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35050","id":74987113,"user":{"login":"elyscape","id":792695,"avatar_url":"https://avatars.githubusercontent.com/u/792695?v=3","gravatar_id":"","url":"https://api.github.com/users/elyscape","html_url":"https://github.com/elyscape","followers_url":"https://api.github.com/users/elyscape/followers","following_url":"https://api.github.com/users/elyscape/following{/other_user}","gists_url":"https://api.github.com/users/elyscape/gists{/gist_id}","starred_url":"https://api.github.com/users/elyscape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elyscape/subscriptions","organizations_url":"https://api.github.com/users/elyscape/orgs","repos_url":"https://api.github.com/users/elyscape/repos","events_url":"https://api.github.com/users/elyscape/events{/privacy}","received_events_url":"https://api.github.com/users/elyscape/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T01:59:07Z","updated_at":"2015-02-19T01:59:07Z","body":"> Probably true, it's just annoying that spotlight doesn't index the symlink inside `/usr/local`. Strangely it indexes the apps in `/opt`, that's why cask doesn't have such problem.\r\n\r\nThis is because `/usr` is marked as as a hidden/system folder but `/opt` is not, and Spotlight will refuse to index hidden/system folders."}}