Topic on Module talk:Version/Flow

Compute LTS with mod math?

3
Summary by Legoktm

Implemented!

BDavis (WMF) (talkcontribs)

Can we replace the hardcoded LTS version in the `isLTS` test with a mod test? If we are strictly sticking with the "every fourth release" starting from 1.19 is LTS then for any 1.x >= 1.19, if (x - 19) % 4 == 0 it is an LTS release. This does break down when the alpha will be an LTS though... maybe it is really not worth worrying about.

Legoktm (talkcontribs)

Please do :) The comment "-- yeah don't do this" was supposed to be an invitation for someone to improve it and implement it properly.

BDavis (WMF) (talkcontribs)