-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Lua 5.2 -> 5.3 #35787
Comments
ping @DomT4 |
This is going to be hell, heh. I'll locally compile @MikeMcQuaid, @jacknagel, @tdsmith, @mistydemeo, Adam & Brett, any strong feelings about how you want to handle this? I presume we don't want to maintain three different There's only a couple of remaining deps on |
Really I'd like to only maintain one version in core. Lua 5.3 should live in |
I've got a pull request up at homebrew/homebrew-versions#619 to add lua53 over there. Still needs some work to be put up (mirror needs to be added if possible and patches need to be verified) |
What happens with that if someone installs Lua52 or Lua51 alongside that formula? |
I commented out the symlinking part so it will only install as lua53. Not sure how that should be handled in transition. |
Will we allow formulas in core to have an optional dependency on versions/lua53? Letting stuff that embeds lua use lua53 is probably important. I'd like to have a mechanism for supporting luarocks with lua53, too. |
We generally permit optional deps on taps, so I guess so?
I don't really want to open this flood-gate again, tbh. We've been consistently 👎 on making the Luarocks formula complicated again for the last 4/5 months or so, to the point that we only support it with |
Won't this mean it installs as |
I hear you re: adding complexity to the luarocks formula but I wonder what the point of carrying lua53 at all is, when nothing in Homebrew depends on it, if we're not committed to making it useful for lua developers. We've had people asking about luarocks support on lua51 in IRC. I understand there are other factors to consider but I think the way we manage luarocks has been a net negative for lua devs's experiences with Homebrew. If we can start bundling luarocks like pip or like npm, maybe that's simpler. |
Well, to be honest, we've been trying to get the I guess there's a whole discussion around what is Homebrew to be had here, who it's designed to appeal to, etc. That's probably a discussion for another time/place.
It's not simpler, really. It's not a step I'm opposed to, and it's actually something I've wanted to ponder over for a while, but it's not a particularly simple transition, and it would involve boneyarding the actual |
What is the complexity with the luarocks formula? On my debian and arch systems it lives in harmony. |
Don't Debian and Ubuntu ship Luarocks natively with |
No, It is a seperate package.
Yes. Though interestingly enough, they have the same contents in different directories. If you can manage this correctly, you can have a single luarocks installation shared by all versions. |
Apologies,
To be honest, I personally stress about how prone to breakage this could be. I'd feel more comfortable having different I don't know. I'd like to get more maintainer feedback, and ideally, feedback from the Lua community before we roll anything major on this. Otherwise, at the moment, we roll in one direction for months, and then suddenly switch around and roll in the opposite direction, and I don't think that's a great system for anyone involved. |
We do this for a bunch of other things in
@daurnimator If you want this you'll need to be the one working on it and submitting pull requests. |
It kinda frustrates me that we can't move I'd be happy having just
Still pondering this though. It's not a bad idea at all. |
What exactly is involved with that? Does it need to be done by someone “official”? |
@tdsmith maintains a Homebrew/Python tap which is a decent example here. You'd basically just create a repo which was Doesn't need to be done by anyone official, just someone who's comfortable on a basic level with Ruby, Homebrew and ideally, knows the language involved well. |
If anyone really wants to maintain a tap they can but I can volunteer to do it. |
Would the tap contain lua.rb (and relating versions) itself or just formulae relating to lua? If the latter then I suppose this is off the original topic. |
Not completely sure. That's a maintainer call. If we look at the Python situation as a comparison, it'd perhaps hint the main/most popular Lua would remain in Homebrew/Homebrew and the rest outsourced to Example/Homebrew-Lua. |
I started this |
Closes #619 Closes Homebrew/legacy-homebrew#35787 Closes #640. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
Lua 5.3 came out this morning, lets get it available from homebrew :)
Related issue: #32354
The text was updated successfully, but these errors were encountered: