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

[Bug]: Download URL for QGIS is incorrect #775

Open
2 tasks done
BronsonMagnan opened this issue Nov 27, 2024 · 1 comment
Open
2 tasks done

[Bug]: Download URL for QGIS is incorrect #775

BronsonMagnan opened this issue Nov 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@BronsonMagnan
Copy link
Contributor

What happened?

#https://download.osgeo.org/qgis/windows/QGIS-OSGeo4W-3.40.1-1.msi <--actual download
#https://download.osgeo.org/qgis/windows/QGIS-OSGeo4W-3.40-1.msi <-- evergreen

PS W:\Evergreen> Find-EverGreenApp -Name QGIS | Get-EvergreenApp | ? channel -eq latest
Version Channel Date URI
3.40-1 latest 2024-10-25 https://download.osgeo.org/qgis/windows/QGIS-OSGeo4W-3.40-1.msi

Version

2411.1644

What PowerShell edition/s are you running Evergreen on?

PowerShell Core, Windows PowerShell

Which operating system/s are you running Evergreen on?

Windows Server 2016+

Have you reviewed the documentation?

Verbose output

Find-EverGreenApp -Name QGIS | Get-EvergreenApp | ? channel -eq latest | Save-EvergreenApp -Path W:\Evergreen\QGIS -Verbose -Force
VERBOSE: Path exists: W:\Evergreen\QGIS.
VERBOSE: URL: https://download.osgeo.org/qgis/windows/QGIS-OSGeo4W-3.40-1.msi.
VERBOSE: New-EvergreenPath: Channel: latest.
VERBOSE: New-EvergreenPath: Path exists: W:\Evergreen\QGIS\latest.
VERBOSE: New-EvergreenPath: Version: 3.40-1.
VERBOSE: New-EvergreenPath: Path exists: W:\Evergreen\QGIS\latest\3.40-1.
VERBOSE: Invoke-WebRequest parameter: OutFile: W:\Evergreen\QGIS\latest\3.40-1\QGIS-OSGeo4W-3.40-1.msi.
VERBOSE: Invoke-WebRequest parameter: Uri: https://download.osgeo.org/qgis/windows/QGIS-OSGeo4W-3.40-1.msi.
VERBOSE: Invoke-WebRequest parameter: ErrorAction: Continue.
VERBOSE: Invoke-WebRequest parameter: UseBasicParsing: True.
VERBOSE: Invoke-WebRequest parameter: UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/127.0.2651.105.
VERBOSE: Performing the operation "Download" on target "https://download.osgeo.org/qgis/windows/QGIS-OSGeo4W-3.40-1.msi".
VERBOSE: Requested HTTP/1.1 GET with 0-byte payload
VERBOSE: Received HTTP/1.1 response of content type text/html of unknown size
Invoke-WebRequest: C:\Program Files\WindowsPowerShell\Modules\Evergreen\2411.1644\Public\Save-EvergreenApp.ps1:168
Line |
 168 |                      Invoke-WebRequest @params
     |                      ~~~~~~~~~~~~~~~~~~~~~~~~~
     |  404 Not Found  404 Not Found nginx/1.18.0
@BronsonMagnan BronsonMagnan added the bug Something isn't working label Nov 27, 2024
@AScott-WWF
Copy link

It appears that they are not populating the version number consistently across each version in their json file, the LTR (Long Term Release) version is missing, instead it returns "", I'm unsure if this is a transient issue or a change to the way they will populate this going forward?

Looking at the current json file which Evergreen reads (https://version.qgis.org/version.json), I think it should be possible for the Evergreen code to programatically construct the version number from the major, minor and patch contents for each release:
"latest":
"major":3,
"minor":40,
"patch":0
i.e: 3.40.0

"ltr":
"major":3,
"minor":34,
"patch":12
i.e: 3.34.12

"dev":
"major":3,
"minor":41,
"patch":0
i.e: 3.41.0

aaronparker added a commit that referenced this issue Nov 28, 2024
@aaronparker aaronparker mentioned this issue Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants