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 file pattern for OpenKiosk download #117

Merged
merged 1 commit into from
Dec 29, 2024

Conversation

homebysix
Copy link
Member

This PR updates the file pattern used to download OpenKiosk.

I notice the old pattern captured version and date variables but didn't do anything with them, so I left them out for simplicity.

Verbose recipe run output:

% autopkg run -vvq 'OpenKiosk/OpenKiosk.download.recipe'
Processing OpenKiosk/OpenKiosk.download.recipe...
WARNING: OpenKiosk/OpenKiosk.download.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLTextSearcher
{'Input': {'re_pattern': 'https://www\\.mozdevgroup\\.com/dropbox/okcd/\\d+/release/OpenKiosk[\\d\\.-]+-universal\\.dmg',
           'result_output_var_name': 'url',
           'url': 'https://openkiosk.mozdevgroup.com/'}}
URLTextSearcher: Found matching text (url): https://www.mozdevgroup.com/dropbox/okcd/115/release/OpenKiosk115.18.0-2024-12-02-universal.dmg
{'Output': {'url': 'https://www.mozdevgroup.com/dropbox/okcd/115/release/OpenKiosk115.18.0-2024-12-02-universal.dmg'}}
URLDownloader
{'Input': {'filename': 'OpenKiosk.dmg',
           'url': 'https://www.mozdevgroup.com/dropbox/okcd/115/release/OpenKiosk115.18.0-2024-12-02-universal.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: Mon, 02 Dec 2024 21:26:23 GMT
URLDownloader: Storing new ETag header: "71cb5e0-628503350be3b"
URLDownloader: Downloaded ~/Library/AutoPkg/Cache/com.github.apizz.download.OpenKiosk/downloads/OpenKiosk.dmg
{'Output': {'download_changed': True,
            'etag': '"71cb5e0-628503350be3b"',
            'last_modified': 'Mon, 02 Dec 2024 21:26:23 GMT',
            'pathname': '~/Library/AutoPkg/Cache/com.github.apizz.download.OpenKiosk/downloads/OpenKiosk.dmg',
            'url_downloader_summary_result': {'data': {'download_path': '~/Library/AutoPkg/Cache/com.github.apizz.download.OpenKiosk/downloads/OpenKiosk.dmg'},
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
Receipt written to ~/Library/AutoPkg/Cache/com.github.apizz.download.OpenKiosk/receipts/OpenKiosk.download-receipt-20241228-230116.plist

The following new items were downloaded:
    Download Path
    -------------
    ~/Library/AutoPkg/Cache/com.github.apizz.download.OpenKiosk/downloads/OpenKiosk.dmg

@apizz apizz merged commit 0386675 into autopkg:master Dec 29, 2024
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.

2 participants