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

brew bundle has been removed #6537

Closed
tapeinosyne opened this issue Oct 7, 2014 · 6 comments
Closed

brew bundle has been removed #6537

tapeinosyne opened this issue Oct 7, 2014 · 6 comments

Comments

@tapeinosyne
Copy link
Contributor

The brew bundle command has recently been removed from Homebrew; we relied on it for automation.

Since Cask is a popular tool for provisioning personal machines, it would be desirable to seek a working alternative without external dependencies, or implement our own bundle-like command.

(In the future, bundle-like functionality may be provided by “metacasks” exclusively comprised of cask dependencies, but until then, it would be best to provide an interim solution.)

@MikeMcQuaid
Copy link
Member

I'd recommend attempting to strip dependencies from https://github.com/andrew/brewdler and using that.

@MikeMcQuaid
Copy link
Member

Also, you may be interested to learn that we now source our PATH from taps so you can add subcommands to brew on a brew tap alone: https://github.com/Homebrew/homebrew/blob/e494a8407f128908a61fd0ebd7c1dc240dd29515/Library/brew.rb#L111-L113

@lukateras
Copy link

Preparing a pull request.

@tapeinosyne
Copy link
Contributor Author

@MikeMcQuaid, thanks for the recommendation. “Command taps” are a welcome addition.

@yegortimoschenko, quite sorry for the late response. We would gladly accept an external contribution for the new bundle. Are you still planning to work on it? If so, let us know if we can help.

Also, if you have already done some work, feel free to open an incomplete PR and mark it as "WIP". This would help other contributors to focus on a single proposal.

@vitorgalvao
Copy link
Member

I say we move the whole discussion to the concept of metacasks (and decide there if we should do it or not), as that could conceivably do the same (and possibly more) than bundle.

it would be desirable to seek a working alternative without external dependencies

Solution that fills the requisites:

bundle() {
  sed '/^\s*$/d;s/^/brew /' "$1" | sh
}

@ndr-qef If there’s something here I’m missing, feel free to reopen for further discussion.

@MikeMcQuaid
Copy link
Member

For anyone following this thread: this is the new official replacement built by @andrew: https://github.com/Homebrew/homebrew-brewdler

@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants