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

Fix brew bundle --cleanup from stdin #1379

Merged
merged 1 commit into from
Jun 7, 2024
Merged

Conversation

MikeMcQuaid
Copy link
Member

@MikeMcQuaid MikeMcQuaid commented Jun 7, 2024

This was previously failing to read a valid Brewfile on repeated reads so attempting to cleanup everything.

Instead, cache the Brewfile DSL in the install command and pass it to the cleanup command.

While we're here, make some dsl usage elsewhere a little more consistent.

Fixes #1378

This was previously failing to read a valid `Brewfile` on repeated reads
so attempting to cleanup everything.

Instead, cache the `Brewfile` DSL in the `install` command and pass it
to the `cleanup` command.

Fixes #1378
@MikeMcQuaid MikeMcQuaid merged commit 0450821 into master Jun 7, 2024
2 checks passed
@MikeMcQuaid MikeMcQuaid deleted the fix_stdin_install_cleanup branch June 7, 2024 09:16
@motohedgehog
Copy link

Thanks for a quick turnaround @MikeMcQuaid! Bit ashamed that I didn't try to fix it myself, but I'd need an approval from my employer to contribute, and that could take ages :/

@MikeMcQuaid
Copy link
Member Author

@motohedgehog No worries, you made it much easier through the write-up!

but I'd need an approval from my employer to contribute, and that could take ages :/

If I can ever help put anything in writing (or even just this) to nudge them in the right direction: shout.

It is incredibly selfish of companies to make it easy to use open source internally but hard to contribute fixes back.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

brew bundle [install] --cleanup removes dependencies when reading from stdin
2 participants