-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
Should we deprecate cask DSL versions? #15782
Comments
The way I see it, these are the problem scenarios:
In either case, we would error out regardless of whether we checked the cask's DSL version. So I don't see the point in the added maintenance burden. @MikeMcQuaid, I'm curious to hear your take on this. How does Homebrew handle breaking DSL changes? |
I’m all in favour of this. |
Also in favor of this. Would also encourage contributions like #15643 as they purely add functionality - and we should make that contribution process as easy as possible. |
@jawshooah We basically never (intentionally) break backwards compatibility and just tell people to |
@MikeMcQuaid That sounds like a good strategy going forward. Closing this, since it seems we have a consensus. Maintainers, feel free to re-open if you think this requires more discussion. |
With #15381 out of the way, casks should no longer be out of sync with the core library. From here on out, no cask should ever be using a DSL that's newer than the one in core (since updating casks requires running
brew update
, which will update core as well).So what's the point of maintaining a DSL version? Keep in mind that if we do so, every time a cask update includes a new DSL element, we'll need to remember to bump the header as well.
/cc @caskroom/maintainers
The text was updated successfully, but these errors were encountered: