Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New app]: Qgis #619

Open
1 task done
jms-du-se opened this issue Jan 30, 2024 · 6 comments
Open
1 task done

[New app]: Qgis #619

jms-du-se opened this issue Jan 30, 2024 · 6 comments
Labels
new application A request for adding an application to the projdct

Comments

@jms-du-se
Copy link
Contributor

What is the new application?

Free and Open Source Geographic Information System. Qgis website

Version information for the Current release: https://version.qgis.org/version.txt
Unknown how the latest LTS release is discovered, since the version check points att the same URL as above.

Download folder containing all downloads: https://download.qgis.org/downloads/?C=M;O=D

Vendor site

https://qgis.org/en/site/

Does the vendor require a sign-in to download the app?

No

Does the application include an updater?

No

Have you reviewed the list of supported applications?

@jms-du-se jms-du-se added the new application A request for adding an application to the projdct label Jan 30, 2024
@AScott-WWF
Copy link

I too could be keen on the addition of this however there are two branches
Current (which you have alluded to)
LTS

As we use the LTS version (installed using the OSGeo4W installer), I wrote a web scrape to check the page for a later 'LTS' version.

$DownloadsUrl = "https://www.qgis.org/en/site/forusers/download.html"
# Now determine the Version of the latest available version of the installer:
$PageContent = (Invoke-WebRequest -UseBasicParsing -Uri $DownloadsUrl).Links
# Obtain Url to the latest .msi, from link below 'Looking for the most stable version? Get QGIS x.xx LTR' text on webpage, and Version number is obtained easiest from the filename within the $SourceUrl
[version]$LatestVersion = ((($PageContent | Where-Object {$_.OuterHtml -like '<a class="reference secondary-download-link" href="https://qgis.org/downloads/QGIS-OSGeo4W-*.msi">*Looking for the most stable version? Get QGIS * LTR*</a>'}).href).split("-")[2]).Trim()
Write-Output "Latest version of QGIS LTR is:    $($LatestVersion)"

It would be nice however if there was an EverGreen function to do this (rather then relying on a webscrape that could break at any time QGIS change the web site)

@jms-du-se
Copy link
Contributor Author

jms-du-se commented Feb 1, 2024

Yes, it would be nice to have an Evergreen function for this.
Somehow the latest LTS version is detected during the version check, even though this check uses the same version.txt file

@aaronparker
Copy link
Owner

version.txt is returning as HTML for me. Is that's what's intended?

The version number can also be gathered from here: https://github.com/qgis/QGIS

@jms-du-se
Copy link
Contributor Author

Hi Aaron,

The version.txt includes html that's being displayed in the update notification window.

I searched their GitHub site before, but didn't find a way to identify the latest LTS release.
The latest regular release isn't a problem.

/Jasper

@SpecterShell
Copy link

https://github.com/qgis/QGIS-Website/blob/master/scripts/mkversion.py

@aaronparker
Copy link
Owner

@SpecterShell thanks, that script is writing https://version.qgis.org/version.json which looks like it will do the trick.

aaronparker added a commit that referenced this issue Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new application A request for adding an application to the projdct
Projects
None yet
Development

No branches or pull requests

4 participants