Chatterino / chatterino2

Chat client for https://twitch.tv
MIT License
2.06k stars 449 forks source link

chore: clarify Lua submodule version #5693

Closed brian6932 closed 2 weeks ago

brian6932 commented 2 weeks ago

Updating submodules causes

lib\sol2\include\sol/compatibility/compat-5.3.h(404): fatal error C1189: #error: "unsupported Lua version (i.e. not Lua 5.1, 5.2, 5.3, or 5.4)"
Nerixyz commented 2 weeks ago

lua master uses 505

That shouldn't matter. We're checked out on the v5.4.7 tag. If we'd use the latest master commit, Sol would break in CI.

brian6932 commented 2 weeks ago

We're checked out on the v5.4.7 tag

Yes, but it's not exactly clear that updating submodules will break the build. Imo the branch should just be specified in .gitmodules, especially since lua releases are set to their own branches anyway.

pajlada commented 2 weeks ago

This is less of a fix, and more of a hint to future developers clarifying what branch we're tracking. It also makes it easier for us to be able to track changes to that specific branch, since Lua maintains old versions as branches