-
-
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
Cellar location for apps #38
Comments
Putting casks in The proper permanent location for casks depends on whether or not we want to pursue upstream integration of this project. Either way - perhaps we can patch upstream homebrew to play nicer with us. This is something to think about. Ideally I'd like to avoid re-implementing all of homebrew's operations for our subset, but I also don't want to make thinks murky and confusing. |
I see. There is also the space of command line tools like pandoc [1] that come with a .pkg in a .dmg file. It's currently not in homebrew because it could be installed with Haskell's |
Definitely. Once we support On Monday, October 8, 2012 at 2:54 PM, Robert Gieseke wrote:
|
for new users its not cool that it is not in the /Application folder ;-)
|
Good points. I'll work on getting these ideas into the README. On Tuesday, October 9, 2012 at 11:16 AM, muescha wrote:
|
I really like being able to install applications with cask, but why not install applications directly into ~/Applications? How about something like this |
The short answer to this would be: for the same reason that Homebrew does not install applications directly into We don't know up-front precisely what files are going to be in the dmg/zip/tgz/etc, so it's really helpful to have a place to dump all of them safely then iterate through and act on the files we care about. For a The reason I implemented this project on top of Homebrew was because I believe that their methodology for managing applications has a lot of merit. I'd prefer to try and work things so that we can keep ourselves Homebrewy both in implementation and idioms. Trying to manage all of Now all that being said, I'm definitely amenable to the idea that the |
Good points, thanks for the explanation! |
@phinze can we put this word by word to the readme? i think this fit nice in a FAQ section :-) |
thanks to @muescha for the good suggestion
@muescha good idea! done and done 👍 The Keeping this issue open to track the work towards automatically running |
I might be mistaken, but if I understand things correctly, running When I install homebrew in a custom location, say If you plan on linking to PS: I really like this whole project by the way. Much potential. Even though I am concerned (as some people mentioned above) with potential name conflicts in the Cellar directory. I hope people keep track of this integrational problem :) Even though I totally agree with that the homebrew logic should not be reinvented. |
May I just +1 one of @halo's points? Need way more flags/config to customize it all. :) |
There was this idea floating around of using |
Hi @passcod; thanks for the issues cleanup you've been working on today! I'm +1 for getting out of the Cellar. I was thinking of doing this in the On Mon, Jan 28, 2013 at 3:22 PM, Félix Saparelli
|
Install casks into HOMEBREW_PREFIX/"Caskroom" instead of the Cellar. This prevents us from colliding with normal Homebrew Formulae. NOTE: this will be a breaking change, with the following effects: - all installed casks will no longer be reported as installed - orphans all existing casks in the Cellar - no automated facility for cleanup or migration of existing casks refs #38, where we can discuss the implications of this before cutting a new release
Alright so I was feeling bold today and pushed the Caskroom commit! With thanks to @passcod for the name and the original implementation on his fork, let's see if we can pull off this change. As I mention in the commit message, this change will end up breaking every install in the following ways:
The question I have is - should we add any code to make the transition nicer? Or is everyone using this savvy enough to get their installations cleaned up and we can not worry about it as a project? Thoughts and ideas are welcome. |
FWIW here's the one liner I used to migrate my old casks into the Caskroom:
That will print out the commands it wants to run; then if all looks good you can remove the echo to make it so. |
Is there a good way to implement this oneliner into cask? Maybe as 'brew cask doctor'? And then printout this or execute this? |
We could, but this is a one time thing. Your applications will still work, they just won't be managed by cask anymore. Also, this oneliner is brittle: it assumes whatever |
mhhh ... i just care about users who dont read every issue here... because this a 'breaking' change and the fix for it should be communicated in an other way and not hidden somewhere in the (later closed?) issues ... |
Ah, yes, I see your point. |
and since |
The Caskroom is alive and well and we pass |
Running
brew doctor
I get a warningIs
Cellar
the best place for cask apps?What about name conflicts with homebrew cli tools?
The text was updated successfully, but these errors were encountered: