-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Support multiple named sockets
in service
block
#15945
Comments
Makes sense to me. What do you think @SMillerDev? |
I looked at the code yesterday and the |
Yeah, seems fine to me. I never added it because no formulae I knew of needed it. |
@owenthereal It would be great if you could test out the changes on this branch (#16026) to make sure they solve the problem. Also, I looked at your formula and you'll want to use |
@apainintheneck Sorry for not getting back to you sooner. I saw the changes were reverted. I'm happy to help test it when it's ready again. I don't know how to test a branch's code changes. Is there a doc that I could take a look at? |
@owenthereal No worries. I just like to double-check with people who open issues to see if it fits their use case. I'll fix and reopen the original PR in the next few days and ping you so that you can take a look at it when that's ready. I don't think we have documentation for that but that sounds useful since this comes up from time to time. Brew is just a git repo of Ruby code so it's not terribly complex to check out a feature branch locally for testing. I'll provide instructions for testing it in the PR. |
Verification
brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.Provide a detailed description of the proposed feature
It would be nice to declare multiple
sockets
with names in theservice
block in a formula. For example:What is the motivation for the feature?
Some formulas may expose multiple sockets in a
plist
file. For example, owenthereal/homebrew-candy@92aada6 tries to convert the oldplist
function with both port 80 and 443 set in theSockets
plist section but couldn't due tosockets
in theservice
block only allows one entry, althoughsockets
with ans
.How will the feature be relevant to at least 90% of Homebrew users?
This prevents some formula that requires exposing multiple sockets from working. I don't have a number on the number of Homebrew users impacted. But the migration from
plist
toservice
breaks some formulas.What alternatives to the feature have been considered?
I do not know a way. Please share if you have any recommendations.
The text was updated successfully, but these errors were encountered: