autopkg / hjuutilainen-recipes

Recipes for AutoPkg
MIT License
49 stars 74 forks source link

LibreOffice - wrong url for app download in LibreOffice.download.recipe #275

Open juloski opened 4 months ago

juloski commented 4 months ago

Hello.

Can you please update the download url for LibreOffice?

Executing by autopkg run -vv LibreOffice.munki.recipe

I receive

Processing LibreOffice.munki.recipe... CreateLibreOfficeAuxArchName {'Input': {'arch_name': 'x86_64'}} {'Output': {'aux_arch_name': 'x86-64'}} URLTextSearcher {'Input': {'re_pattern': 'LibreOffice (?P<version>[\\d\\.]+) \\([\\d-]+\\) - ' '(?i)fresh Branch', 'url': 'https://www.libreoffice.org/download/release-notes/'}} URLTextSearcher: No value supplied for result_output_var_name, setting default value of: match No match found on URL: https://www.libreoffice.org/download/release-notes/ Failed.

The following recipes failed: LibreOffice.munki.recipe Error in local.munki.LibreOffice: Processor: URLTextSearcher: Error: No match found on URL: https://www.libreoffice.org/download/release-notes/

Thank you in advance. Juliusz

pandemicus commented 4 months ago

This issue should be fixed now: https://github.com/autopkg/hjuutilainen-recipes/pull/276

You need to update your %RELEASE% variable in your recipe.

doschupp commented 4 months ago

Hmh.. the download URL is still not correct

download recipe:
https://download.documentfoundation.org/libreoffice/stable/24.2/mac/x86_64/LibreOffice_24.2_MacOS_x86-64.dmg correct URL: https://download.documentfoundation.org/libreoffice/stable/24.2.0/mac/x86_64/LibreOffice_24.2.0_MacOS_x86-64.dmg

The version number should be "24.2.0" instead of "24.2"

pandemicus commented 4 months ago

Yes, I have mailed LibreOffice about this. Hopefully they should fix it, but it's really another issue.

pandemicus commented 3 months ago

I got in contact with the LibreOffice devs and they changed the release page to match the versions! (24.2.1 currently).

https://www.libreoffice.org/download/release-notes/

juloski commented 3 months ago

Superb. Thx for info. Checked, it works :)