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

Deprecate Spectacle recipes #86

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

homebysix
Copy link
Member

This PR updates the Spectacle download source to GitHub, and also deprecates the Spectacle recipes since the software is no longer being actively developed (details).

Verbose recipe run output:

% autopkg run -vvq 'ECzarny/Spectacle.download.recipe'
Processing ECzarny/Spectacle.download.recipe...
WARNING: ECzarny/Spectacle.download.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
GitHubReleasesInfoProvider
{'Input': {'asset_regex': 'Spectacle.*\\.zip',
           'github_repo': 'eczarny/spectacle'}}
GitHubReleasesInfoProvider: No value supplied for CURL_PATH, setting default value of: /usr/bin/curl
GitHubReleasesInfoProvider: No value supplied for GITHUB_URL, setting default value of: https://api.github.com
GitHubReleasesInfoProvider: No value supplied for GITHUB_TOKEN_PATH, setting default value of: ~/.autopkg_gh_token
GitHubReleasesInfoProvider: Matched regex 'Spectacle.*\.zip' among asset(s): Spectacle+1.2.zip
GitHubReleasesInfoProvider: Selected asset 'Spectacle+1.2.zip' from release 'Spectacle 1.2'
{'Output': {'asset_created_at': '2022-01-15T14:08:18Z',
            'asset_url': 'https://api.github.com/repos/eczarny/spectacle/releases/assets/54051774',
            'release_notes': 'This is the last stable release of Spectacle.',
            'url': 'https://github.com/eczarny/spectacle/releases/download/1.2/Spectacle%2B1.2.zip',
            'version': '1.2'}}
URLDownloader
{'Input': {'filename': 'Spectacle-1.2.zip',
           'url': 'https://github.com/eczarny/spectacle/releases/download/1.2/Spectacle%2B1.2.zip'}}
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: Sat, 15 Jan 2022 14:08:20 GMT
URLDownloader: Storing new ETag header: "0x8D9D8307C086CBD"
URLDownloader: Downloaded ~/Library/AutoPkg/Cache/com.github.jaharmi.download.Spectacle/downloads/Spectacle-1.2.zip
{'Output': {'download_changed': True,
            'etag': '"0x8D9D8307C086CBD"',
            'last_modified': 'Sat, 15 Jan 2022 14:08:20 GMT',
            'pathname': '~/Library/AutoPkg/Cache/com.github.jaharmi.download.Spectacle/downloads/Spectacle-1.2.zip',
            'url_downloader_summary_result': {'data': {'download_path': '~/Library/AutoPkg/Cache/com.github.jaharmi.download.Spectacle/downloads/Spectacle-1.2.zip'},
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
Unarchiver
{'Input': {'archive_path': '~/Library/AutoPkg/Cache/com.github.jaharmi.download.Spectacle/downloads/Spectacle-1.2.zip',
           'destination_path': '~/Library/AutoPkg/Cache/com.github.jaharmi.download.Spectacle/Spectacle/Applications',
           'purge_destination': True}}
Unarchiver: No value supplied for USE_PYTHON_NATIVE_EXTRACTOR, setting default value of: False
Unarchiver: Guessed archive format 'zip' from filename Spectacle-1.2.zip
Unarchiver: Unarchived ~/Library/AutoPkg/Cache/com.github.jaharmi.download.Spectacle/downloads/Spectacle-1.2.zip to ~/Library/AutoPkg/Cache/com.github.jaharmi.download.Spectacle/Spectacle/Applications
{'Output': {}}
CodeSignatureVerifier
{'Input': {'input_path': '~/Library/AutoPkg/Cache/com.github.jaharmi.download.Spectacle/Spectacle/Applications/Spectacle.app',
           'requirement': 'anchor apple generic and identifier '
                          '"com.divisiblebyzero.Spectacle" and (certificate '
                          'leaf[field.1.2.840.113635.100.6.1.9] /* exists */ '
                          'or 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] = P8TAT4Q25S)'}}
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: ~/Library/AutoPkg/Cache/com.github.jaharmi.download.Spectacle/Spectacle/Applications/Spectacle.app: valid on disk
CodeSignatureVerifier: ~/Library/AutoPkg/Cache/com.github.jaharmi.download.Spectacle/Spectacle/Applications/Spectacle.app: satisfies its Designated Requirement
CodeSignatureVerifier: ~/Library/AutoPkg/Cache/com.github.jaharmi.download.Spectacle/Spectacle/Applications/Spectacle.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
{'Output': {}}
Versioner
{'Input': {'input_plist_path': '~/Library/AutoPkg/Cache/com.github.jaharmi.download.Spectacle/Spectacle/Applications/Spectacle.app/Contents/Info.plist',
           'plist_version_key': 'CFBundleShortVersionString'}}
Versioner: No value supplied for skip_single_root_dir, setting default value of: False
Versioner: Found version 1.2 in file ~/Library/AutoPkg/Cache/com.github.jaharmi.download.Spectacle/Spectacle/Applications/Spectacle.app/Contents/Info.plist
{'Output': {'version': '1.2'}}
Receipt written to ~/Library/AutoPkg/Cache/com.github.jaharmi.download.Spectacle/receipts/Spectacle.download-receipt-20241226-173600.plist

The following new items were downloaded:
    Download Path
    -------------
    ~/Library/AutoPkg/Cache/com.github.jaharmi.download.Spectacle/downloads/Spectacle-1.2.zip

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