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

Add homebrew downgrade path #195

Open
joshgch opened this issue Feb 26, 2024 · 2 comments
Open

Add homebrew downgrade path #195

joshgch opened this issue Feb 26, 2024 · 2 comments

Comments

@joshgch
Copy link

joshgch commented Feb 26, 2024

The current Homebrew release has no built-in way to specify a previous release. The current v2.1.1 breaks our usage pattern for my entire org, and there is no straightforward way for users to downgrade.

A few stable releases should be published to Homebrew to allow for downgrading in these scenarios.

@monde
Copy link
Collaborator

monde commented Feb 26, 2024

hi @joshgch down grading to which version? If it's one of the v1.x.x versions we won't do that, we aren't supporting v1 releases. Also, can you point me at docs on homebrew downgrading? Is there something more to it than targeting a version at install? e.g. brew install [email protected]

@joshgch
Copy link
Author

joshgch commented Feb 26, 2024

Hey @monde

I have seen it with other packages, but don't know the technical details of how it's achieved. Node is one example where several versions are available.

https://github.com/Homebrew/homebrew-core/blob/e6dc812e9a3dfaf0b8c997f2dc6ce94475d20eaa/Formula/n/[email protected]

As you mentioned, it would just be referenced with @ 2.0.0. No need to downgrade to v1, we just need a way to back out of the latest update for cases like today where a change broke our usage pattern.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants