Code Monkey home page Code Monkey logo

Comments (9)

blacktop avatar blacktop commented on August 28, 2024 3

Is there a way to have updates use the same appdir used to install them? I am trying to use cask as a non-admin and when brew cu updates it trys to place it in /Application by default?

from homebrew-cask-upgrade.

sebma avatar sebma commented on August 28, 2024 2

@buo Let me just congratulate you and your team for this great app !

from homebrew-cask-upgrade.

buo avatar buo commented on August 28, 2024 1

@Saklad5 I have seen the updated code, but it doesn't affect this project so far.

from homebrew-cask-upgrade.

Saklad5 avatar Saklad5 commented on August 28, 2024

Failing that, could you add a “dry run” option that doesn’t do anything after checking each Cask for updates? That would let the user make sure that nothing will be messed up.

from homebrew-cask-upgrade.

buo avatar buo commented on August 28, 2024

@Saklad5 Thanks for your suggestion. I'm gonna add the --dry-run option soon.

from homebrew-cask-upgrade.

jcrben avatar jcrben commented on August 28, 2024

I think dry-run should be the default behavior. Kicking off something that could take hours to complete is something that should be done carefully.

In addition, people might feel reluctant to interrupt the install as they don't want to leave the system in a weird state (whether that is possible or not)...

from homebrew-cask-upgrade.

Saklad5 avatar Saklad5 commented on August 28, 2024

I’ve recently “discovered” the brew bundle project, which introduces a unified record (a “Brewfile) of installation from Homebrew, Homebrew-Cask, and even the Mac App Store among other things. Most importantly, it uses easily parsable syntax and can store install arguments.

Would it be possible to, given a path to a Brewfile with the desired arguments added for each Cask, do what I’m asking for here? This seems like it should be quite simple to do, and I might even try my hand if I get the time.

Speaking of which, I appreciate that you are taking the time to consider these changes. So long as you respond to these comments in a timely fashion (within a month, really), I don’t care how long it ends up taking for you to implement these ideas. In the meantime, I can just run brew cu with my hand over Control-C to stop it if it tries to update anything outside of /Applications.

from homebrew-cask-upgrade.

buo avatar buo commented on August 28, 2024

For your information, dry-run became the default behavior in #38.

from homebrew-cask-upgrade.

Saklad5 avatar Saklad5 commented on August 28, 2024

I noticed, thank you. I feel the command is much approved now that I don't have to rest my hands on Control-C.

By the way, have you noticed that brew cask outdated has been implemented?

from homebrew-cask-upgrade.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.