GithubHelp home page GithubHelp logo

Comments (12)

MikeMcQuaid avatar MikeMcQuaid commented on May 23, 2024 1

@benbor Apologies that I saw all except that they were still listed by brew tap.

@reitermarkus can you fix this regression, thanks.

from brew.

MikeMcQuaid avatar MikeMcQuaid commented on May 23, 2024 1

... but it would be good if brew bundle dump didn't create those entries in the Brewfile

Opened Homebrew/homebrew-bundle#1317 to address this.

from brew.

MikeMcQuaid avatar MikeMcQuaid commented on May 23, 2024

It's already uninstalled.

from brew.

benbor avatar benbor commented on May 23, 2024

@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.

Bo98 avatar Bo98 commented on May 23, 2024

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.

benbor avatar benbor commented on May 23, 2024

@MikeMcQuaid No problem

Thank you so much for maintaining Homebrew! Your hard work makes my daily routine much easier

from brew.

reitermarkus avatar reitermarkus commented on May 23, 2024

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.

Bo98 avatar Bo98 commented on May 23, 2024

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.

reitermarkus avatar reitermarkus commented on May 23, 2024

So should we only show taps that have a local clone, or show something like

homebrew/core (using API)

?

from brew.

Bo98 avatar Bo98 commented on May 23, 2024

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.

madAndroid avatar madAndroid commented on May 23, 2024

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.

madAndroid avatar madAndroid commented on May 23, 2024

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)

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.