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

Update Avenue.download.recipe #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

paul-cossey
Copy link
Contributor

Hi, @JDUBZzz

The Avenue download recipe is currently failing with the following error:

Error in local.definition.ResolumeAvenue: Processor: URLTextSearcher: Error: No match found on URL: https://resolume.com/download?file=latest_avenue

This PR has updated regex and download URL and mirrors the changes I made to our recipes for their sibling product Resolve autopkg/dataJAR-recipes@9d900b0

Output from a successful -vv run

autopkg run -vv Avenue.download.recipe
**load_recipe time: 0.0003987499512732029
Processing Avenue.download.recipe...
WARNING: Avenue.download.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLTextSearcher
{'Input': {'re_flags': ['IGNORECASE'],
           're_pattern': 'href=\\"https://resolume\\.com/download/file\\?file=(Resolume_Avenue_([0-9]+(_[0-9]+)+)_rev_[A-Za-z0-9]+_Installer\\.dmg)\\"',
           'request_headers': {'user-agent': 'Mozilla/5.0 (Macintosh; Intel '
                                             'Mac OS X 10_8_3) '
                                             'AppleWebKit/536.28.10 (KHTML, '
                                             'like Gecko) Version/6.0.3 '
                                             'Safari/536.28.10'},
           'result_output_var_name': 'DOWNLOAD_NAME',
           'url': 'https://resolume.com/download?file=latest_avenue'}}
URLTextSearcher: Found matching text (DOWNLOAD_NAME): Resolume_Avenue_7_20_1_rev_35767_Installer.dmg
{'Output': {'DOWNLOAD_NAME': 'Resolume_Avenue_7_20_1_rev_35767_Installer.dmg'}}
URLDownloader
{'Input': {'filename': 'Avenue.dmg',
           'request_headers': {'user-agent': 'Mozilla/5.0 (Macintosh; Intel '
                                             'Mac OS X 10_8_3) '
                                             'AppleWebKit/536.28.10 (KHTML, '
                                             'like Gecko) Version/6.0.3 '
                                             'Safari/536.28.10'},
           'url': 'https://dd5sgwxv3xok.cloudfront.net/Resolume_Avenue_7_20_1_rev_35767_Installer.dmg'}}
URLDownloader: No value supplied for prefetch_filename, setting default value of: False
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
URLDownloader: Storing new Last-Modified header: Wed, 22 May 2024 10:28:17 GMT
URLDownloader: Storing new ETag header: "3b7f65a5aed8930b72d1690f177d2974-168"
URLDownloader: Downloaded /Users/paul.cossey/Library/AutoPkg/Cache/com.github.amsysuk-recipes.download.Avenue/downloads/Avenue.dmg
{'Output': {'download_changed': True,
            'etag': '"3b7f65a5aed8930b72d1690f177d2974-168"',
            'last_modified': 'Wed, 22 May 2024 10:28:17 GMT',
            'pathname': '/Users/paul.cossey/Library/AutoPkg/Cache/com.github.amsysuk-recipes.download.Avenue/downloads/Avenue.dmg',
            'url_downloader_summary_result': {'data': {'download_path': '/Users/paul.cossey/Library/AutoPkg/Cache/com.github.amsysuk-recipes.download.Avenue/downloads/Avenue.dmg'},
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'expected_authority_names': ['Developer ID Installer: Resolume '
                                        '(Z9Y8N6Q4L8)',
                                        'Developer ID Certification Authority',
                                        'Apple Root CA'],
           'input_path': '/Users/paul.cossey/Library/AutoPkg/Cache/com.github.amsysuk-recipes.download.Avenue/downloads/Avenue.dmg/Resolume '
                         'Avenue Installer.pkg'}}
CodeSignatureVerifier: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/com.github.amsysuk-recipes.download.Avenue/downloads/Avenue.dmg
CodeSignatureVerifier: Verifying installer package signature...
CodeSignatureVerifier: Package "Resolume Avenue Installer.pkg":
CodeSignatureVerifier:    Status: signed by a developer certificate issued by Apple for distribution
CodeSignatureVerifier:    Notarization: trusted by the Apple notary service
CodeSignatureVerifier:    Signed with a trusted timestamp on: 2024-05-22 07:50:36 +0000
CodeSignatureVerifier:    Certificate Chain:
CodeSignatureVerifier:     1. Developer ID Installer: Resolume (Z9Y8N6Q4L8)
CodeSignatureVerifier:        Expires: 2029-01-25 08:53:39 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            1A BB 4D B4 53 E3 36 52 11 9F 4D 52 59 FB DC FD 0A 96 5A 48 8F 3D 
CodeSignatureVerifier:            14 D6 D6 D4 38 EC 3A 4A E1 51
CodeSignatureVerifier:        ------------------------------------------------------------------------
CodeSignatureVerifier:     2. Developer ID Certification Authority
CodeSignatureVerifier:        Expires: 2031-09-17 00:00:00 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            F1 6C D3 C5 4C 7F 83 CE A4 BF 1A 3E 6A 08 19 C8 AA A8 E4 A1 52 8F 
CodeSignatureVerifier:            D1 44 71 5F 35 06 43 D2 DF 3A
CodeSignatureVerifier:        ------------------------------------------------------------------------
CodeSignatureVerifier:     3. Apple Root CA
CodeSignatureVerifier:        Expires: 2035-02-09 21:40:36 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C 
CodeSignatureVerifier:            68 C5 BE 91 B5 A1 10 01 F0 24
CodeSignatureVerifier: 
CodeSignatureVerifier: Signature is valid
CodeSignatureVerifier: Authority name chain is valid
{'Output': {}}
Receipt written to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.amsysuk-recipes.download.Avenue/receipts/Avenue.download-receipt-20240612-133121.plist

The following new items were downloaded:
    Download Path                                                                                             
    -------------                                                                                             
    /Users/paul.cossey/Library/AutoPkg/Cache/com.github.amsysuk-recipes.download.Avenue/downloads/Avenue.dmg 

Updated regex and download URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant