okta-aws-cli icon indicating copy to clipboard operation
okta-aws-cli copied to clipboard

Add homebrew downgrade path

Open joshgch opened this issue 11 months ago • 2 comments

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.

joshgch avatar Feb 26 '24 17:02 joshgch

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]

monde avatar Feb 26 '24 17:02 monde

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.

joshgch avatar Feb 26 '24 19:02 joshgch