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

Change parent of ScrollReverser pkg recipe, deprecate download/munki recipes #120

Merged
merged 2 commits into from
Jan 2, 2025

Conversation

homebysix
Copy link
Member

This PR changes the ScrollReverser.pkg parent recipe to the download recipe in dataJAR-recipes, and deprecates the download and munki recipes in this repo.

Verbose pkg recipe run output:

% autopkg run -vvq ScrollReverser.pkg.recipe
Processing ScrollReverser.pkg.recipe...
WARNING: ScrollReverser.pkg.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
GitHubReleasesInfoProvider
{'Input': {'github_repo': 'pilotmoon/Scroll-Reverser',
           'include_prereleases': ''}}
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: Selected asset 'ScrollReverser-1.9.zip' from release 'Scroll Reverser 1.9'
{'Output': {'asset_created_at': '2024-06-21T08:37:09Z',
            'asset_url': 'https://api.github.com/repos/pilotmoon/Scroll-Reverser/releases/assets/175086894',
            'release_notes': '- Fixed issues with the Start at login setting '
                             'not working correctly on recent versions of '
                             'macOS.\r\n'
                             '- New app icon in "Big Sur" style.\r\n'
                             '- Re-launching the app while it is running now '
                             'shows the prefs window instead of unhiding the '
                             'status bar icon.\r\n'
                             '- Only show the step size setting if a scroll '
                             'wheel is actually used.\r\n'
                             '- Updates and corrections to the Czech, Slovak, '
                             'Spanish and Turkish translations. Thanks to '
                             'community contributors.\r\n'
                             '- Updated Sparkle (auto-update framework) to '
                             'latest version.\r\n'
                             '- Minimum system requirement is now macOS 13.5 '
                             '(Ventura).',
            'url': 'https://github.com/pilotmoon/Scroll-Reverser/releases/download/v1.9/ScrollReverser-1.9.zip',
            'version': '1.9'}}
URLDownloader
{'Input': {'filename': 'ScrollReverser-1.9.zip',
           'url': 'https://github.com/pilotmoon/Scroll-Reverser/releases/download/v1.9/ScrollReverser-1.9.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: Fri, 21 Jun 2024 08:37:12 GMT
URLDownloader: Storing new ETag header: "0x8DC91CD5894957A"
URLDownloader: Downloaded ~/Library/AutoPkg/Cache/com.github.apizz.pkg.ScrollReverser/downloads/ScrollReverser-1.9.zip
{'Output': {'download_changed': True,
            'etag': '"0x8DC91CD5894957A"',
            'last_modified': 'Fri, 21 Jun 2024 08:37:12 GMT',
            'pathname': '~/Library/AutoPkg/Cache/com.github.apizz.pkg.ScrollReverser/downloads/ScrollReverser-1.9.zip',
            'url_downloader_summary_result': {'data': {'download_path': '~/Library/AutoPkg/Cache/com.github.apizz.pkg.ScrollReverser/downloads/ScrollReverser-1.9.zip'},
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
Unarchiver
{'Input': {'archive_path': '~/Library/AutoPkg/Cache/com.github.apizz.pkg.ScrollReverser/downloads/ScrollReverser-1.9.zip',
           'destination_path': '~/Library/AutoPkg/Cache/com.github.apizz.pkg.ScrollReverser/ScrollReverser',
           'purge_destination': True}}
Unarchiver: No value supplied for USE_PYTHON_NATIVE_EXTRACTOR, setting default value of: False
Unarchiver: Guessed archive format 'zip' from filename ScrollReverser-1.9.zip
Unarchiver: Unarchived ~/Library/AutoPkg/Cache/com.github.apizz.pkg.ScrollReverser/downloads/ScrollReverser-1.9.zip to ~/Library/AutoPkg/Cache/com.github.apizz.pkg.ScrollReverser/ScrollReverser
{'Output': {}}
CodeSignatureVerifier
{'Input': {'input_path': '~/Library/AutoPkg/Cache/com.github.apizz.pkg.ScrollReverser/ScrollReverser/Scroll '
                         'Reverser.app',
           'requirement': 'anchor apple generic and identifier '
                          '"com.pilotmoon.scroll-reverser" 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] = "6W6K75YWQ9")'}}
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: ~/Library/AutoPkg/Cache/com.github.apizz.pkg.ScrollReverser/ScrollReverser/Scroll Reverser.app: valid on disk
CodeSignatureVerifier: ~/Library/AutoPkg/Cache/com.github.apizz.pkg.ScrollReverser/ScrollReverser/Scroll Reverser.app: satisfies its Designated Requirement
CodeSignatureVerifier: ~/Library/AutoPkg/Cache/com.github.apizz.pkg.ScrollReverser/ScrollReverser/Scroll Reverser.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
{'Output': {}}
AppPkgCreator
{'Input': {'app_path': '~/Library/AutoPkg/Cache/com.github.apizz.pkg.ScrollReverser/ScrollReverser/Scroll '
                       'Reverser.app',
           'version': '1.9'}}
AppPkgCreator: BundleID: com.pilotmoon.scroll-reverser
AppPkgCreator: Copied ~/Library/AutoPkg/Cache/com.github.apizz.pkg.ScrollReverser/ScrollReverser/Scroll Reverser.app to ~/Library/AutoPkg/Cache/com.github.apizz.pkg.ScrollReverser/payload/Applications/Scroll Reverser.app
AppPkgCreator: Connecting
AppPkgCreator: Sending packaging request
AppPkgCreator: Disconnecting
AppPkgCreator: Failed to close socket: [Errno 9] Bad file descriptor
{'Output': {'app_pkg_creator_summary_result': {'data': {'identifier': 'com.pilotmoon.scroll-reverser',
                                                        'pkg_path': '~/Library/AutoPkg/Cache/com.github.apizz.pkg.ScrollReverser/Scroll '
                                                                    'Reverser-1.9.pkg',
                                                        'version': '1.9'},
                                               'report_fields': ['identifier',
                                                                 'version',
                                                                 'pkg_path'],
                                               'summary_text': 'The following '
                                                               'packages were '
                                                               'built:'},
            'new_package_request': True,
            'version': '1.9'}}
Receipt written to ~/Library/AutoPkg/Cache/com.github.apizz.pkg.ScrollReverser/receipts/ScrollReverser.pkg-receipt-20250101-153250.plist

The following new items were downloaded:
    Download Path
    -------------
    ~/Library/AutoPkg/Cache/com.github.apizz.pkg.ScrollReverser/downloads/ScrollReverser-1.9.zip

The following packages were built:
    Identifier                     Version  Pkg Path
    ----------                     -------  --------
    com.pilotmoon.scroll-reverser  1.9      ~/Library/AutoPkg/Cache/com.github.apizz.pkg.ScrollReverser/Scroll Reverser-1.9.pkg

@apizz apizz merged commit 9754bab into autopkg:master Jan 2, 2025
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