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

Feature request: add --cleanup option to brew cask install #22647

Closed
kdeldycke opened this issue Jul 7, 2016 · 2 comments
Closed

Feature request: add --cleanup option to brew cask install #22647

kdeldycke opened this issue Jul 7, 2016 · 2 comments
Labels
core Issue with Homebrew itself rather than with a specific cask. enhancement

Comments

@kdeldycke
Copy link
Contributor

kdeldycke commented Jul 7, 2016

Description of feature/enhancement

The feature consist in adding a --cleanup parameter to brew cask install, which will remove all temporary assets like downloads, once a package is successfully installed or upgraded.

This will mirrors the same --cleanup option from vanilla Homebrew.

This feature seems to depends on the completion of #23398 (ex-#21763).

Justification

This feature helps to keep a system clean and tidy without regular call to the broader brew cask cleanup command.

Example use case

Here is an example from vanilla Homebrew:

$ brew upgrade --cleanup
==> Upgrading 1 outdated package, with result:
node 6.3.0
==> Upgrading node
==> Downloading https://homebrew.bintray.com/bottles/node-6.3.0.el_capitan.bottle.tar.gz
Already downloaded: /Users/kdeldycke/Library/Caches/Homebrew/node-6.3.0.el_capitan.bottle.tar.gz
==> Pouring node-6.3.0.el_capitan.bottle.tar.gz
==> Caveats
Please note by default only English locale support is provided. If you need
full locale support you should either rebuild with full icu:
  `brew reinstall node --with-full-icu`
or add full icu data at runtime following:
  https://github.com/nodejs/node/wiki/Intl#using-and-customizing-the-small-icu-build

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
🍺  /usr/local/Cellar/node/6.3.0: 3,829 files, 39.8M
Removing: /usr/local/Cellar/node/6.2.2... (3,771 files, 38.7M)
@daylightbrightledlight
Copy link
Contributor

Has this been successfully integrated?

@vitorgalvao
Copy link
Member

Not problematic enough and not enough interest in implementing this, so closing as part of issues cleanup.

@lock lock bot added the outdated label Jan 14, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jan 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
core Issue with Homebrew itself rather than with a specific cask. enhancement
Projects
None yet
Development

No branches or pull requests

4 participants