-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Conversation
|
sha1 "3cfe2eb027b51202923d20042ae37f3249508664" | ||
end if build.with? "completion" | ||
# See: https://github.com/mxcl/homebrew/pull/5043 | ||
def patches |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to modernize patch syntax.
Is there no |
|
|
|
|
|
|
|
|
@adamv Is there anything I can help with? |
|
@asparagui researching patches for things that use 5.1-only features I suppose |
|
|
|
|
|
|
|
|
Metalua issue from 2 years ago: fab13n/metalua#12 Suggest metaula be moved out of core when Lua 5.2.3 is merged. |
|
Closes #27270. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
No, I wasn't suggesting depreciating it entirely, just either having them side by side as |
Having |
btw @DomT4 it is Lua 5.1, 5.2 and 5.3 we're talking about here. Lua 2 came out long ago in 1995 :) In regards to naming, most linux distros went with calling the executables
Here is the list FWIW: https://gist.github.com/anonymous/99326de36e55d1b25257 |
@daurnimator Yeah I know, I'm just simplifying really. I'm not sure how Homebrew would want to handle the naming, since @sdegutis Eh. Easy = Probably a few hundred lines of code that need to be changed and pushed, and then merge conflicts resolved, and then everything rebottled as applicable 😉. |
@DomT4 If all we're talking about is adding a new package |
We'd probably want to add a new |
@MikeMcQuaid 👍 Let me know if I can help with this in any way, it's a high priority for me. |
@sdegutis Ah I see, I slightly misunderstood you. There remains the issue that one of the luas would either need to be keg_only or the executables would need to be renamed as we do with the Pythons, because right now you can't install |
Like this:
|
@DomT4 Fortunately that should be pretty easy, as Lua is extremely small and has very few file and very sanely written configuration scripts. |
Okay. Well, what if we go about this in 3 stages. Someone can tell me if I'm over-complicating this or being downright stupid or causing build problems elsewhere.
|
@DomT4 Pretty much, yep. |
Alright. Well, I can probably take care of number 1 this evening if we want to press ahead on this. Chronic insomnia has its upsides 👍. |
@DomT4 I like that plan, as each step can be done as three different pull requests. And step 1 seems pretty easy, mostly just a find/replace! |
Sounds good, though we should call it
Sounds good :) There will no doubt be a couple of stragglers, I suppose we keep 5.1 around until they upgrade? |
I don't know if Homebrew uses |
Yeh, our format is |
Alternatively we can look into other punctuation such as |
The reason I point this out, is that people regularly write and distribute lua scripts starting with:
It'd be a pain in the arse if they worked everywhere except homebrew. |
Could we create an Alias for Lua51 so that it works when people type in Lua5.1 and such? That'd get around that problem. |
The binaries can be called that, it's just the filenames for the formula will be |
Plus, the names |
Don't worry about these type of things though, we'll catch them in review. |
Alright. I'll go make myself a large jug of tea and start work on this. I'm pretty familiar with the way we handle Python, and Lua is nice and small so testing should be near instant. |
Closed by 1fed492 |
Taken from Homebrew-versions.