autopkg / hansen-m-recipes

My recipes for Autopkg - https://github.com/autopkg
27 stars 50 forks source link

Updated Search URL to https://posit.co/download/rstudio-desktop/ #254

Closed melathh closed 2 months ago

melathh commented 2 months ago

Hi....The RStudio.download.recipe was failing as RStudio changed the URL. I tested with the updated URL (https://posit.co/download/rstudio-desktop/) and the download is working as expected. Below is the recipe run results. Could you please verify and update the recipe. Again thanks a lot for the recipe.

'SEARCH_PATTERN': '(?PRStudio-(?P([0-9.]+){1,3}?.).dmg)', 'SEARCH_URL': 'https://posit.co/download/rstudio-desktop/', 'dmg': 'RStudio-2024.09.0-375.dmg', 'download_changed': True, 'etag': '"8d85a137a21e3fb5cf9d56ffc7ac7022-75"', 'filename': 'RStudio.dmg', 'input_path': '/Users/xxxxxx/Library/AutoPkg/Cache/com.github.hansen-m.download.RStudio/downloads/RStudio.dmg/RStudio.app', 'jcds2_mode': True, 'jcds_mode': False, 'last_modified': 'Mon, 23 Sep 2024 16:29:46 GMT', 'match': 'RStudio-2024.09.0-375.dmg', 'pathname': '/Users/xxxxxxxx/Library/AutoPkg/Cache/com.github.hansen-m.download.RStudio/downloads/RStudio.dmg', 'prefetch_filename': False, 're_pattern': '(?PRStudio-(?P([0-9.]+){1,3}?.).dmg)', 'requirement': 'identifier "org.rstudio.RStudio" and anchor apple generic and ' 'certificate 1[field.1.2.840.113635.100.6.2.6] / exists / ' 'and certificate leaf[field.1.2.840.113635.100.6.1.13] / ' 'exists / and certificate leaf[subject.OU] = FYF2F5GFX4', 'result_output_var_name': 'match', 'url': 'https://download1.rstudio.org/electron/macos/RStudio-2024.09.0-375.dmg', 'url_downloader_summary_result': {'data': {'download_path': '/Users/melathh/Library/AutoPkg/Cache/com.github.hansen-m.download.RStudio/downloads/RStudio.dmg'}, 'summary_text': 'The following new items ' 'were downloaded:'}, 'verbose': 3, 'version': '2024.09.0-375'} Receipt written to /Users/xxxxxxx/Library/AutoPkg/Cache/com.github.hansen-m.download.RStudio/receipts/RStudio.download-receipt-20240926-172055.plist

The following new items were downloaded: Download Path


/Users/xxxxxx/Library/AutoPkg/Cache/com.github.hansen-m.download.RStudio/downloads/RStudio.dmg