Comments (6)
@SpecterShell thanks, that script is writing https://version.qgis.org/version.json which looks like it will do the trick.
from evergreen.
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)
from evergreen.
https://github.com/qgis/QGIS-Website/blob/master/scripts/mkversion.py
from evergreen.
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
from evergreen.
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
from evergreen.
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
from evergreen.
Related Issues (20)
- [Bug]: GoogleChrome reports "Method invocation failed because [System.String] does not contain a method named 'ToShortDateString'"
- [Bug]: Recent change to Resolve-SystemNetWebRequest appears to have broken URL's returned for Sourceforge based Apps HOT 9
- [Bug]: McneelRhino reports "Cannot validate argument on parameter 'Uri'"
- [Bug]: ChromiumChromeDriver reports HTTP 410
- [Bug]: MozillaFirefox outputs HTTP 403/404 HOT 2
- SourceForge changes affecting downloads with Save-EvergreenApp HOT 6
- [Bug]: VMware applications fail due to changes to product API HOT 3
- [Enhancement]: Add new Fast/Slow releases to Zoom HOT 3
- [Bug]: Firefox Error 404 HOT 1
- [Feature]: Microsoft ODBC Driver mulitple languages and Additional 'Base Version' attribute HOT 1
- [Feature]: Microsoft OLE DB Driver mulitple languages and Additional 'Base Version' attribute HOT 1
- [Feature]: Microsoft SSMS Additional 'Base Version' attribute HOT 3
- [Bug]: Get-EvergreenApp for AzureCLI does not return 64 bit installer HOT 2
- [Bug]: 7zip not working HOT 7
- [Bug]: GoogleChrome Version in Evergreen is 112 but when you download is it the expected 113 HOT 1
- [Bug]: Can't retrieve a list of Google Chrome Enterprise installs HOT 3
- [Bug]: Google Chrome Returning 410 error HOT 3
- [Bug]: MicrosoftAzureDataStudio - No update feed found for win32-x64 and insider HOT 2
- [Bug]: The Download size for 7zip is incorrect HOT 3
- [Bug]: VLC not currently returning latest version (3.0.21) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evergreen.