hjuutilainen-recipes icon indicating copy to clipboard operation
hjuutilainen-recipes copied to clipboard

LibreOffice recipe downloads "fresh" when release is set to "still"

Open dhmoore opened this issue 8 years ago • 3 comments

The LibreOffice recipes use this pattern to find the download URL: https://www.libreoffice.org/download/libreoffice-%RELEASE%/?type=mac-x86_64

For at least a few days, the "still" URL showed the still version as 5.4.0: https://www.libreoffice.org/download/libreoffice-still/?type=mac-x86_64

That's just been fixed, but for future reference, Christian Lohmaier, a LibreOffice developer, suggested on freenode that this link would be more reliable http://download.documentfoundation.org/libreoffice/stable/

He said the lower version number should always be the still version.

dhmoore avatar Aug 11 '17 16:08 dhmoore

This is still an issue. I went through every LibreOffice recipe file ( download, install, munki, pkg ) and set every RELEASE key to 'still' as well as in my overrides.

Currently, the https://download.documentfoundation.org/libreoffice/stable/ index displays:

 	6.4.7/	21-Oct-2020 11:42	-	 
 	7.0.4/	17-Dec-2020 09:26	-	 
 	7.1.0/	03-Feb-2021 10:27	-	 
 	7.1.1/	04-Mar-2021 12:08	-	 

I keep getting 7.1.1. which, according to the LibreOffice Download page, the still version should be 7.0.4.

I'm using autopkg jss recipes for JamfCloud. Anything I can do to fix this myself?

jitman avatar Mar 05 '21 21:03 jitman

I've now added an additional step to the recipe to determine the latest fresh or still version from the current release notes. It seems to work correctly for now but it's really fragile.

hjuutilainen avatar Mar 06 '21 09:03 hjuutilainen

Confirmed, your change worked. Thanks!

jitman avatar Mar 08 '21 23:03 jitman