Skip to content
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

Prompt to uninstall forumuae upon upgrade #5687

Closed
ghost opened this Issue Feb 7, 2019 · 5 comments

Comments

Projects
None yet
2 participants
@ghost
Copy link

ghost commented Feb 7, 2019

A detailed description of the proposed feature

The current behavior of brew install upgrade <formulae> is to remove all other installed versions. If a package has previously been installed using brew install <formulae>@tag then brew upgrade should not remove those.

The motivation for the feature

I'm no longer able to back down to hugo@0.44 or reinstall it using brew install and the current version feels slower perceptually during the development workflow. I'm unable to debug. I also have 0.44 signified as the minimum required version for a design system I need to be able to quickly toggle back and forth between versions of this pre-1.0.0 software.

How the feature would be relevant to at least 90% of Homebrew users

Whatever happened to Pareto?

What alternatives to the feature have been considered

I could stop using using Homebrew and run the Docker container I created to build from source.

@ghost

This comment has been minimized.

Copy link
Author

ghost commented Feb 7, 2019

docs master* ❯ brew upgrade hugo
==> Upgrading 1 outdated package:
hugo 0.44 -> 0.54.0
==> Upgrading hugo 
==> Downloading https://homebrew.bintray.com/bottles/hugo-0.54.0.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring hugo-0.54.0.mojave.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
🍺  /usr/local/Cellar/hugo/0.54.0: 31 files, 38.0MB
Removing: /usr/local/Cellar/hugo/0.40.1... (32 files, 28.2MB)
Removing: /usr/local/Cellar/hugo/0.40.2... (32 files, 28.2MB)
Removing: /usr/local/Cellar/hugo/0.42.1... (32 files, 28.3MB)
Removing: /usr/local/Cellar/hugo/0.44... (32 files, 54.6MB)
Removing: /usr/local/Cellar/hugo/0.46... (32 files, 54.9MB)
Removing: /usr/local/Cellar/hugo/0.53... (31 files, 37.9MB)
@MikeMcQuaid

This comment has been minimized.

Copy link
Member

MikeMcQuaid commented Feb 7, 2019

I'm no longer able to back down to hugo@0.44 or reinstall it using brew install and the current version feels slower perceptually during the development workflow.

We do not support installing older versions. You can use brew extract to add it to your own tap.

Whatever happened to Pareto?

That's not a design principle we're adopting. Please fill out the template in future.

I could stop using using Homebrew

Again, this is not helpful language. It makes no difference to us whether you choose to use Homebrew or not: use whatever is best for you.

You may be interested in the HOMEBREW_NO_INSTALL_CLEANUP variable. Please ensure you read man brew in future before creating issues, thanks.

@MikeMcQuaid MikeMcQuaid closed this Feb 7, 2019

@ghost

This comment has been minimized.

Copy link
Author

ghost commented Feb 7, 2019

You may be interested in the HOMEBREW_NO_INSTALL_CLEANUP variable.

This could indeed be helpful. But I would expect 99.7 percent of developers don't want dependencies they expressly installed removed without a simple prompt for cleanup especially if Homebrew can't maintain historical packages and doesn't afford its users a method of recovery.

P.s. Please work on your soft skills.

@Homebrew Homebrew locked as too heated and limited conversation to collaborators Feb 7, 2019

@iMichka

This comment has been minimized.

Copy link
Member

iMichka commented Feb 7, 2019

Please be nice with the maintainers, which work on this project on their free time. We all do our best. Watch your tone. Thanks!

@MikeMcQuaid

This comment has been minimized.

Copy link
Member

MikeMcQuaid commented Feb 7, 2019

But I would expect 99.7 percent of developers don't want dependencies they expressly installed removed without a simple prompt for cleanup especially if Homebrew can't maintain historical packages and doesn't afford its users a method of recovery.

You don't want that but you are incorrect that the vast majority want that.

P.s. Please work on your soft skills.

As @iMichka has pointed out: watch your tone. You also need to read our code of conduct: https://github.com/Homebrew/brew/blob/master/CODE_OF_CONDUCT.md

I will happily communicate in whatever way you choose on the issue tracker of your open source projects but you will have to operate how we wish here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.