Template talk:AlpineLatest

From Alpine Linux

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)