[QGIS-Developer] LTR version info in version.txt?

Jürgen E. Fischer jef at norbit.de
Tue Sep 12 23:54:01 PDT 2023


Hi Nyall,

On Wed, 13. Sep 2023 at 13:50:09 +1000, Nyall Dawson via QGIS-Developer wrote:
> Hi list,
> 
> Has something changed in the format of https://version.qgis.org/version.txt
> recently? It used to be that this file included a string "current LTR
> version of QGIS is xxxx", but that's no longer present and I can only see
> the 3.32 release details now.

There are version.txt and version-ltr.txt and requests from a LTR version
are taken to version-ltr.txt if they request version.txt.

> (on a related note... would it be tricky to make a "version.json"
> equivalent of this file with content like
> {
>     'latest': {'major': 3, 'minor': 32, 'subversion': 3 },
>     'ltr': {'major': 3, 'minor': 28, 'subversion': 10 }
> } ? )

Simple.  
https://github.com/qgis/QGIS-Website/commit/23da801f7c186d3c796d6e1407a17b959c92a3d6

{
    "latest": {
        "versionint": 33202,
        "version": "3.32.2",
        "name": "Lima",
        "note": "\u200b",
        "binary": "1",
        "date": "2023-08-18",
        "major": 3,
        "minor": 32,
        "patch": 2
    },
    "ltr": {
        "versionint": 32810,
        "version": "3.28.10",
        "name": "Firenze",
        "note": "LTR",
        "binary": "1",
        "date": "2023-08-18",
        "major": 3,
        "minor": 28,
        "patch": 10
    },
    "dev": {
        "version": "3.33",
        "versionint": 33300,
        "major": 3,
        "minor": 33,
        "patch": 0
    },
    "freezedate": "2023-09-15 12:00:00 UTC",
    "nextreleasedate": "2023-10-27 12:00:00 UTC",
    "nextversion": "3.34"
}


Jürgen

-- 
Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31
Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50
Software Engineer           D-26506 Norden            https://www.norbit.de
QGIS release manager (PSC)  Germany                 IRC: jef on Libera|OFTC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20230913/ecd50a77/attachment.sig>


More information about the QGIS-Developer mailing list