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

Deprecate installing casks/formulae from paths. #18409

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

MikeMcQuaid
Copy link
Member

We've already disabled installing casks/formulae from URLs and we regularly tell people not to install from paths so let's just deprecate this behaviour entirely.

Even Homebrew developers do not need to work this way.

Potential alternative to #18379 or at least a companion.

Copy link
Member

@carlocab carlocab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am in principle ok with this, but -- does this also break installing bottles from paths?

@MikeMcQuaid
Copy link
Member Author

MikeMcQuaid commented Sep 25, 2024

I am in principle ok with this, but -- does this also break installing bottles from paths?

@carlocab I'm pretty sure it does not but CI will test this (and I'll test locally too to be safe). We already have a loader for handling bottles and another for handling paths that's used internally: both of those are still ok.

Note to self: also check that this does actually disable formulae from brew install ./foo.rb

@MikeMcQuaid
Copy link
Member Author

Note to self: also check that this does actually disable formulae from brew install ./foo.rb

Checked: it now does.

@MikeMcQuaid MikeMcQuaid force-pushed the deprecate_formula_cask_path_url branch 2 times, most recently from e493398 to 8b87bfe Compare September 26, 2024 16:51
We've already disabled installing casks/formulae from URLs and we
regularly tell people not to install from paths so let's just deprecate
this behaviour entirely.

Even Homebrew developers do not need to work this way.
@MikeMcQuaid MikeMcQuaid merged commit 8964021 into master Sep 26, 2024
27 checks passed
@MikeMcQuaid MikeMcQuaid deleted the deprecate_formula_cask_path_url branch September 26, 2024 19:44
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

Successfully merging this pull request may close these issues.

4 participants