-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reconsider default installation path #2534
Comments
I was -1 on the Homebrew change here, and prefer ~/Applications, but didn't fight it. FWIW. |
+1 for change, because if the parent take this change, then the users expect the same change also here. |
It also does not follow the created links, so even if apps were symlinked to That said, I agree the default should be |
@vitorgalvao Perhaps I was unclear: my meaning was that Alfred also considers the ~/Applications folder passé, unrelatedly to Cask. |
I'm -0.1 on this change. I think At the same time, I like having cask-installed apps in a separate location. It also makes having multiple copies of apps intuitive. For instance, my employer manages some software in |
|
I am definitely +1 on changing the default folder to |
This is the big issue for me. In addition, certain casks which rely on installers are installed to /Applications anyway (see: Vagrant and Virtualbox). |
The same applies to me. I don't really care if my applications are in
For this reason, I always install to |
As the creator of that original PR mentioned I definitely still +1 this. |
+1 for homebrew cask to symlink to |
+1 for homebrew cask to symlink to Also +1 to
For now, I have to do this on every computer I use homebrew cask with:
|
On the other hand, if we did implement such a change, we'll receive the following complaint:
|
👍 ➡️ |
Overlooked obvious solution: Link apps into both As for me, I prefer |
Although I'm very happy with
|
+1 on /Applications being the default install folder. |
+1 on @gossi 's proposal! |
Those options have existed for a long time, and are well documented. They’re even discussed in this very issue. Add |
@vitorgalvao that's for making symlinks. This discussion is about installing to /Applications w/o links. |
oh right, my bad @ndr-qef. Thanks for the correction 👍 |
Here’s the “score” so far. /Applications: ~/Applications: If anyone changed their opinion or I misunderstood it, please tell me so I can update the list. The results, however, are pretty telling. I’m willing to bet most user that know about Making this change isn’t a big deal, as it’s easy to change it back. However, defaults do matter and it seems we have the wrong one. Either way, we should make a decision and close this. |
I didn't chime in above (I'm with the majority) but just as further indication outside of here, a search for "HOMEBREW_CASK_OPTS appdir" yields ~1000 code results; a quick scan of the first 20 pages indicates around 95+% use |
FWIW |
thanks @vitorgalvao. so it's
quite useful and compelling. ty! |
Another 👍 for I just want all of my installed applications to show up in the Applications stack in the dock. I don't care about the rest. For now, I'm accomplishing that using the line in export HOMEBREW_CASK_OPTS="--appdir=/Applications" I shouldn't have to worry about things like that, it should just work ;) |
Thanks for all the contributions here, folks! I think the overall opinion has fallen pretty squarely on a move to |
Thanks @phinze and all for this discussion and moving forward with implementing the change to /Applications folder. I think this change will really assist non-power users like myself, who spent a good 45 first trying to understand why my casks were not in Finder. It's a hard thing to search for as ~/Applications don't seem in use outside of the homebrew world. |
Unless you excluded the instances in which --appdir was the only option being specified, that's neither surprising nor significant. Most people don't go to the trouble of learning about and setting an environment variable just to reinforce the default behavior.
I'm not sure how you got that conclusion from the linked discussion. Some of the comments—see those by Alex Zavatone—if correct, strongly suggest otherwise. |
@tjnycum There’s also the very small sample size in this issue, and most importantly this was already decided on and was going to be implemented anyway.
Yes, but you know what many of them did before there were that many blog posts talking about homebrew-cask? They opened issues and talked to us asking about how to do it. Just because most people don’t do it, doesn’t mean they don’t want to. The amount of people I’ve encountered here that is afraid to even try a small cask fix because they’re afraid they’ll break something is surprising. Defaults matter. I understand you might be disappointed by the new changes, and you seem overly worried about that, but please don’t turn this into a vendetta. I’d really hate to waste my time getting notifications of you commenting on old decided-on posts and having to explain reasonings again and again. We’re not making changes to annoy you, but because we think they’re the best for the project and the community. We’ve been doing this for a few years now (that doesn’t mean we have all the answers), we were (and are) always open to hear new ideas, and we’re willing to change how things work (case in point), but we’ve seen a lot of casks and ways of handling them, and I personally do so daily and have done it since I first became a maintainer, in homebrew-cask’s infancy. We know a thing or two about what works and doesn’t, and that gives us a lot of context about what the steps to take should be. We always take the community into account, yes, and this last change is no exception, but if you’re going to argue, please start with searching and reading old issues to try and get context beforehand. It’s the second time today I have to answer you at length with things that are explained in the post itself, and that’s really not how I intend to spend my day. |
Can this happen already? It's been punted to #13201 and locked for months, and yet there's no way to change the default installation root to Edit: of course even that doesn't work, because cask doesn't know how to sudo to make symlinks. Unbelievable. #21238 |
Good news! This can happen today, and all you have to do is submit the fix yourself! No good? Well, then please do tell how much you’re contributing monetarily for a kind soul that will do it. Make it good, though, no sense is wasting people’s time with low proposals. We do not work for you. You’re getting this software for free and without guarantees. Either help or go away. We know this is slow in happening, and that is because we’re very low in core developers. Your complaining is contributing nothing. Look for |
@vitorgalvao I'm happy to do either. 2 questions: where do I locally edit homebrew-cask source (i.e. where's the git repo—it's not /usr/local I take it)? And where's the best place in the source to declare such a global directory root? Alternatively, how much to donate to fix it this week? |
@alexchandel Thank you! With that, we can work. To take a stab at it, look into hacking.md first, as it describes how to setup yourself to contribute to the core. After that, look at #13966 that has a bunch of work already done, but some standing issues. Like I said, a big part of the issue is our lack of core developers. That even makes it hard to do reviews. If you take that issue and review it/fix the latest problems, either alone or with @mwean, we can proceed. After that, if you’d still rather donate to have the work done, please let me know, and I’ll put out a warning on #13201 and contact the rest of @caskroom/maintainers to see what we can arrange. |
@alexchandel FWIW I'll try to take a look at my branch tonight. |
I would like to propose /Applications as the default installation path, changing from the current ~/Applications. For past opinions surrounding this issue, see #30.
To better direct the discussion, note that I am not arguing that installing to /Applications is strictly better practice than installing to ~/Applications. My suggestion is that symlinking apps to /Applications would be a better default, as it is where most users expect to find their apps based on common practice. Consider the following:
brew linkapps
to use the global /Applications folder legacy-homebrew#22378. (--linkapps symlinks certain programs, e.g. Emacs, to a folder, similarly to Cask.) Given that Cask is implemented as an external brew command, it should be desirable to mantain consistent behavior for shared functionality.I find these to be increasingly good reasons to adapt our current default path; the trend appears rather clear. Of course, Cask would remain configurable, and those who prefer to keep Cask application separate will be able to change their installation folder with
export HOMEBREW_CASK_OPTS
. However, most users (particularly new ones) would be better served by the more common /Applications as default.The text was updated successfully, but these errors were encountered: