Homebrew-cask: Installing updating cask locally without waiting for upstream

Created on 6 Nov 2016  路  3Comments  路  Source: Homebrew/homebrew-cask

Ok so lets say you come across and old cask. You update it using the super handy cask-repair tool. However now you want to use this new shinyness straight away, because like me you're an impatient bastard. 馃崯

Doing a brew cask install <x> installs the previous version because the PR is still appending approval. That's no good, so lets do this instead:

image

While that works, how is everyone else achieving this goal? It's seems highly likely I'm going about this wrong, but as a fairly new contributor this particular function appears to be non-obvious.

Most helpful comment

Alternatively, you could go to the open PR, click "Files changed", click "View", click "Raw", copy the URL and brew cask install that. For example, for your recent PR:

brew cask install https://raw.githubusercontent.com/wamatt/homebrew-cask/dc93dae6aead3d312b789954d0671b18073baec7/Casks/keycue.rb

All 3 comments

Your sequence of commands seems efficient and could easily be made into a script or shell function.

That said, I do understand this is suboptimal. I鈥檓 planning some major changes to cask-repair and I鈥檒l make sure to add a --install flag (or something like that) to also install the cask before or right after submitting the PR. I鈥檇 say that would fix your use case nicely.

I鈥檒l leave the issue open for a few days anyway, in case some other non-maintainers want to chime in.

sounds great. good luck with the changes 馃憤

Alternatively, you could go to the open PR, click "Files changed", click "View", click "Raw", copy the URL and brew cask install that. For example, for your recent PR:

brew cask install https://raw.githubusercontent.com/wamatt/homebrew-cask/dc93dae6aead3d312b789954d0671b18073baec7/Casks/keycue.rb
Was this page helpful?
0 / 5 - 0 ratings

Related issues

dentarg picture dentarg  路  3Comments

gebing picture gebing  路  3Comments

GeekOnGadgets picture GeekOnGadgets  路  3Comments

jitendravyas picture jitendravyas  路  4Comments

pablopunk picture pablopunk  路  3Comments