Comments (12)
@benbor Apologies that I saw all except that they were still listed by brew tap
.
@reitermarkus can you fix this regression, thanks.
from brew.
... but it would be good if
brew bundle dump
didn't create those entries in theBrewfile
Opened Homebrew/homebrew-bundle#1317 to address this.
from brew.
It's already uninstalled.
from brew.
@MikeMcQuaid thanks for your answer.
Could you please specify how did you figure it out?
command > brew tap
shows the following output
> brew tap
homebrew/bundle
homebrew/cask
homebrew/cask-fonts
homebrew/core
And command brew bundle
adds taps homebrew/cask
and homebrew/core
into Brewfile.
Even I remove this two taps from Brewfile manually, brew bundle cleanup
couldn't manage to deal with it
> brew bundle cleanup
Would untap:
homebrew/cask
Run `brew bundle cleanup --force` to make these changes.
> brew bundle cleanup --force
Error: No available tap homebrew/cask.
Run brew tap --force homebrew/cask to tap homebrew/cask!
I'm sure it is still some bug with that two taps in my scenario.
from brew.
brew tap
behaviour did indeed change in #16710. I agree it is perhaps unclear that brew tap
shows things but brew untap
says they never existed.
brew bundle cleanup
looks like a regression since #16710 involved breaking public API changes so everything that used it probably needs checking.
from brew.
@MikeMcQuaid No problem
Thank you so much for maintaining Homebrew! Your hard work makes my daily routine much easier
from brew.
Will take a look.
So I guess it's only the error message that is unclear? Basically, you cannot untap homebrew/cask
because it's always available when using the API.
from brew.
It's well-documented that running brew tap
on homebrew/core|cask
will give you a local git clone so the concept of "tapped" has largely been around that concept of having a local git clone. Similarly you run brew untap
to get rid of a local git clone and return to API-only state. So it's a bit confusing that the brew tap
list doesn't reflect the same idea and that you can run brew tap
again on something from that list to actually fully install it.
brew bundle
also seems to also now not work in API-only mode properly after the changes and thinks it needs to do a brew tap/untap.
from brew.
So should we only show taps that have a local clone, or show something like
homebrew/core (using API)
?
from brew.
I'd say show taps with local clone. If you want API information, it maybe could be added with --verbose
- I'm cautious adding it in regular output given brew tap
is machine-parsable, as demonstrated by how $(brew tap)
is used in our zsh completions and in many other places around the internet: https://github.com/search?q=%22%24%28brew+tap%29%22&type=code
from brew.
It appears that brew bundle dump
is still being affected by this issue - the created Brewfile
includes:
tap "homebrew/cask"
tap "homebrew/core"
... which means when attempting to install using this created file, I get this error:
Error: No available tap homebrew/cask.
Run brew tap --force homebrew/cask to tap homebrew/cask!
from brew.
I've worked around the issue for now using:
brew tap --force homebrew/core
brew tap --force homebrew/cask
... but it would be good if brew bundle dump
didn't create those entries in the Brewfile
from brew.
Related Issues (20)
- `brew upgrade -g` sometime will install old version app HOT 3
- `brew upgrade -g` sometime will install old version app
- @PizzaShift @ligi Hello.
- Support GitHub App installation access tokens HOT 2
- Command "brew update" shows "/dev/stdin: No such file or directory - /tmp/sh-thd-2853475760 (deleted) (Errno::ENOENT)" HOT 8
- How should we store installed cask information? HOT 18
- Integrating attestation verification into `brew install` (and `brew verify`) HOT 17
- `brew bump --open-pr` fails to fetch repology data HOT 5
- Add a RuboCop rule for sorting EnvConfig keys
- Make `update <formula>` actually `upgrade formula` HOT 2
- `brew info` should always print whether formula installed HOT 5
- `cask upgrade` will be downloaded and installed repeatedly HOT 10
- `brew log` regression after port to `abstract_command` HOT 1
- option to install package to home directory or a custom directory HOT 1
- Running the macOS installer changes permissions on `~/.gitconfig` HOT 5
- Introduce additional versioning information for casks HOT 6
- Using kickstart? HOT 4
- Add `brew asdf-sync`; equivalent to `brew nodenv-sync` / `brew pyenv-sync` / `brew rbenv-sync` HOT 2
- simple command to list all user installed items (not installed only as dependency) HOT 4
- Add new url scheme for the GitDownloadStrategy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brew.