Template talk:AlpineLatest

From Alpine Linux
Revision as of 08:54, 7 September 2024 by Prabuanand (talk | contribs)

This needs to be updated to the latest version (currently 3.18), but I can't do so as it is protected. Arrogance (talk) 11:24, 7 June 2023 (UTC)

Needs to be bumped again as we're now at 3.18.2 zcrayfish (talk) 19:48, 26 July 2023 (UTC)

There is a need for fixing AlpineLatest Template

There is a need for fixing AlpineLatest Template. This template currently makes the truncation for 3.20.2 to appear as 3.2. The correct truncation should be 3.20 and not 3.2.

When the following is used {{#expr:{{AlpineLatest}}}} , it evaluates to 3.2 and when used like {{AlpineLatest}} it evaluates to 3.20.2.

This affects wiki documentation pages . For example, https://wiki.alpinelinux.org/wiki/Upgrading_Alpine#Upgrading_to_latest_release, appears as follows:

To upgrade, in this example, from version 3.3 to 3.2, simply change: http://dl-3.alpinelinux.org/alpine/v3.3/main to http://dl-3.alpinelinux.org/alpine/v3.2/main


Please fix this asap, as this issue affects multiple pages

Prabuanand (talk) 17:45, 5 September 2024 (UTC)

It's not an issue with the template, but it is my fault because I was the one who inserted {{#expr:{{AlpineLatest}}}} all over the place in a lame effort to automatically update pages upon version changes... I gotta think about how best to fix this... Might be best to make the template smarter though. –zcrayfish (talkcontribssend email) 16:06, 6 September 2024 (UTC)
My proposal is to change Template:AlpineLatest to what I currently have at Template:Sandbox, and then change all instances of {{#expr:{{AlpineLatest}}}} to {{AlpineLatest|v}} or {{AlpineLatest|short}} as appropriate. –zcrayfish (talkcontribssend email) 18:32, 6 September 2024 (UTC)

Has the work been completed? The output in the sandbox still shows the same for both 3.20.3 and 3.20.3. Refer screenshot of what i see. Am i missing something?

Prabuanand (talk) 08:54, 7 September 2024 (UTC)