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

Create new non-version-specific Inquisit lab recipes #397

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

Conversation

homebysix
Copy link
Member

This PR adds new recipes for Inquisit Lab that aren't tied to a specific major version of the software. A MAJOR_VERSION input variable has been added, set to the current major version (7) by default, which users can leverage to replicate the behavior of the current Inquisit Lab 6 recipes. This should enable seamless transition to future major versions, as long as other attributes of the app and package don't change significantly.

MAJOR_VERSION has been tested successfully with 6 and 7. 5 and earlier are no longer available for download.

Verbose recipe run with default major version (7):

% autopkg run -vvq Inquisit\ Lab.*.recipe
Processing Inquisit Lab.download.recipe...
WARNING: Inquisit Lab.download.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLTextSearcher
{'Input': {'re_pattern': '(https://inquisit\\.millisecond\\.com/7/[\\d_]+/mac/Inquisit_\\d+\\.pkg)',
           'result_output_var_name': 'url',
           'url': 'https://www.millisecond.com/download/releases'}}
URLTextSearcher: Found matching text (url): https://inquisit.millisecond.com/7/7_0/mac/Inquisit_703.pkg
{'Output': {'url': 'https://inquisit.millisecond.com/7/7_0/mac/Inquisit_703.pkg'}}
URLDownloader
{'Input': {'url': 'https://inquisit.millisecond.com/7/7_0/mac/Inquisit_703.pkg'}}
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, 22 Nov 2024 16:25:02 GMT
URLDownloader: Storing new ETag header: "f58fb7e6d6313cab511ba68ddd0ea066-10"
URLDownloader: Downloaded ~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.download.Inquisit Lab/downloads/Inquisit_703.pkg
{'Output': {'download_changed': True,
            'etag': '"f58fb7e6d6313cab511ba68ddd0ea066-10"',
            'last_modified': 'Fri, 22 Nov 2024 16:25:02 GMT',
            'pathname': '~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.download.Inquisit '
                        'Lab/downloads/Inquisit_703.pkg',
            'url_downloader_summary_result': {'data': {'download_path': '~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.download.Inquisit '
                                                                        'Lab/downloads/Inquisit_703.pkg'},
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'expected_authority_names': ['Developer ID Installer: Millisecond '
                                        'Software, LLC (J9JYE5M476)',
                                        'Developer ID Certification Authority',
                                        'Apple Root CA'],
           'input_path': '~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.download.Inquisit '
                         'Lab/downloads/Inquisit_703.pkg'}}
CodeSignatureVerifier: Verifying installer package signature...
CodeSignatureVerifier: Package "Inquisit_703.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-11-20 22:01:29 +0000
CodeSignatureVerifier:    Certificate Chain:
CodeSignatureVerifier:     1. Developer ID Installer: Millisecond Software, LLC (J9JYE5M476)
CodeSignatureVerifier:        Expires: 2025-05-10 05:45:42 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            0C 3A 46 A9 2D 41 F9 C5 26 AB 3A B0 0F 57 4E 32 93 01 DA 77 F1 EC
CodeSignatureVerifier:            92 D0 81 C7 14 2A FA 48 3F 50
CodeSignatureVerifier:        ------------------------------------------------------------------------
CodeSignatureVerifier:     2. Developer ID Certification Authority
CodeSignatureVerifier:        Expires: 2027-02-01 22:12:15 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03
CodeSignatureVerifier:            F2 9C 88 CF B0 B1 BA 63 58 7F
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 ~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.download.Inquisit Lab/receipts/Inquisit Lab.download-receipt-20241230-115435.plist
Processing Inquisit Lab.munki.recipe...
WARNING: Inquisit Lab.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLTextSearcher
{'Input': {'re_pattern': '(https://inquisit\\.millisecond\\.com/7/[\\d_]+/mac/Inquisit_\\d+\\.pkg)',
           'result_output_var_name': 'url',
           'url': 'https://www.millisecond.com/download/releases'}}
URLTextSearcher: Found matching text (url): https://inquisit.millisecond.com/7/7_0/mac/Inquisit_703.pkg
{'Output': {'url': 'https://inquisit.millisecond.com/7/7_0/mac/Inquisit_703.pkg'}}
URLDownloader
{'Input': {'url': 'https://inquisit.millisecond.com/7/7_0/mac/Inquisit_703.pkg'}}
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, 22 Nov 2024 16:25:02 GMT
URLDownloader: Storing new ETag header: "f58fb7e6d6313cab511ba68ddd0ea066-10"
URLDownloader: Downloaded ~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.Inquisit Lab/downloads/Inquisit_703.pkg
{'Output': {'download_changed': True,
            'etag': '"f58fb7e6d6313cab511ba68ddd0ea066-10"',
            'last_modified': 'Fri, 22 Nov 2024 16:25:02 GMT',
            'pathname': '~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.Inquisit '
                        'Lab/downloads/Inquisit_703.pkg',
            'url_downloader_summary_result': {'data': {'download_path': '~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.Inquisit '
                                                                        'Lab/downloads/Inquisit_703.pkg'},
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'expected_authority_names': ['Developer ID Installer: Millisecond '
                                        'Software, LLC (J9JYE5M476)',
                                        'Developer ID Certification Authority',
                                        'Apple Root CA'],
           'input_path': '~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.Inquisit '
                         'Lab/downloads/Inquisit_703.pkg'}}
CodeSignatureVerifier: Verifying installer package signature...
CodeSignatureVerifier: Package "Inquisit_703.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-11-20 22:01:29 +0000
CodeSignatureVerifier:    Certificate Chain:
CodeSignatureVerifier:     1. Developer ID Installer: Millisecond Software, LLC (J9JYE5M476)
CodeSignatureVerifier:        Expires: 2025-05-10 05:45:42 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            0C 3A 46 A9 2D 41 F9 C5 26 AB 3A B0 0F 57 4E 32 93 01 DA 77 F1 EC
CodeSignatureVerifier:            92 D0 81 C7 14 2A FA 48 3F 50
CodeSignatureVerifier:        ------------------------------------------------------------------------
CodeSignatureVerifier:     2. Developer ID Certification Authority
CodeSignatureVerifier:        Expires: 2027-02-01 22:12:15 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03
CodeSignatureVerifier:            F2 9C 88 CF B0 B1 BA 63 58 7F
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': {}}
MunkiImporter
{'Input': {'MUNKI_REPO': '/Users/Shared/munki_repo',
           'pkg_path': '~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.Inquisit '
                       'Lab/downloads/Inquisit_703.pkg',
           'pkginfo': {'catalogs': ['testing'],
                       'category': 'Development',
                       'description': 'Inquisit Lab is a powerful tool for '
                                      'designing and administering rich '
                                      'psychological tests and experiments on '
                                      'dedicated computers, whether in the '
                                      'lab, the clinic, or out in the field. '
                                      'Use any of the tests in the Millisecond '
                                      'Test Library, customize them, or '
                                      'program your own.',
                       'developer': 'Millisecond Software',
                       'display_name': 'Inquisit Lab',
                       'name': 'InquisitLab',
                       'unattended_install': True,
                       'uninstall_method': 'uninstall_script',
                       'uninstall_script': '#!/bin/bash\n'
                                           '# Unload kexts\n'
                                           '/sbin/kextunload -q -b '
                                           'com.millisecond.driver.InquisitParallelPort\n'
                                           '\n'
                                           '# Delete app bundle\n'
                                           'if [ -d /Applications/Inquisit\\ '
                                           '7.app ]\n'
                                           'then\n'
                                           '\t/bin/rm -rf '
                                           '/Applications/Inquisit\\ 7.app\n'
                                           'fi\n'
                                           '\n'
                                           '# Delete Library kext\n'
                                           'if [ -d '
                                           '/Library/Extensions/InquisitParallelPort.kext '
                                           ']\n'
                                           'then\n'
                                           '\t/bin/rm -rf '
                                           '/Library/Extensions/InquisitParallelPort.kext\n'
                                           'fi\n'
                                           '\n'
                                           '# Delete System kext\n'
                                           'if [ -d '
                                           '/System/Library/Extensions/InquisitParallelPort.kext '
                                           ']\n'
                                           'then\n'
                                           '\t/bin/rm -rf '
                                           '/System/Library/Extensions/InquisitParallelPort.kext\n'
                                           'fi'},
           'repo_subdirectory': 'apps/InquisitLab'}}
MunkiImporter: No value supplied for MUNKI_REPO_PLUGIN, setting default value of: FileRepo
MunkiImporter: No value supplied for MUNKILIB_DIR, setting default value of: /usr/local/munki
MunkiImporter: No value supplied for force_munki_repo_lib, setting default value of: False
MunkiImporter: Using repo lib: AutoPkgLib
MunkiImporter:         plugin: FileRepo
MunkiImporter:           repo: /Users/Shared/munki_repo
MunkiImporter: Copied pkginfo to: /Users/Shared/munki_repo/pkgsinfo/apps/InquisitLab/InquisitLab-7.0.3.plist
MunkiImporter:            pkg to: /Users/Shared/munki_repo/pkgs/apps/InquisitLab/Inquisit_703-7.0.3.pkg
{'Output': {'munki_importer_summary_result': {'data': {'catalogs': 'testing',
                                                       'icon_repo_path': '',
                                                       'name': 'InquisitLab',
                                                       'pkg_repo_path': 'apps/InquisitLab/Inquisit_703-7.0.3.pkg',
                                                       'pkginfo_path': 'apps/InquisitLab/InquisitLab-7.0.3.plist',
                                                       'version': '7.0.3'},
                                              'report_fields': ['name',
                                                                'version',
                                                                'catalogs',
                                                                'pkginfo_path',
                                                                'pkg_repo_path',
                                                                'icon_repo_path'],
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'imported into '
                                                              'Munki:'},
            'munki_info': {'_metadata': {'created_by': 'testuser',
                                         'creation_date': datetime.datetime(2024, 12, 30, 19, 54, 38),
                                         'munki_version': '6.6.3.4704',
                                         'os_version': '15.2'},
                           'autoremove': False,
                           'catalogs': ['testing'],
                           'category': 'Development',
                           'description': 'Inquisit Lab is a powerful tool for '
                                          'designing and administering rich '
                                          'psychological tests and experiments '
                                          'on dedicated computers, whether in '
                                          'the lab, the clinic, or out in the '
                                          'field. Use any of the tests in the '
                                          'Millisecond Test Library, customize '
                                          'them, or program your own.',
                           'developer': 'Millisecond Software',
                           'display_name': 'Inquisit Lab',
                           'installed_size': 187852,
                           'installer_item_hash': 'f6d52cc20e346ea5a3993b94a9883dccf416c3458e7bee16f1127922a533cda6',
                           'installer_item_location': 'apps/InquisitLab/Inquisit_703-7.0.3.pkg',
                           'installer_item_size': 77183,
                           'minimum_os_version': '10.5.0',
                           'name': 'InquisitLab',
                           'receipts': [{'installed_size': 187852,
                                         'packageid': 'com.millisecond.Inquisit-7',
                                         'version': '7.0.3'}],
                           'unattended_install': True,
                           'uninstall_method': 'uninstall_script',
                           'uninstall_script': '#!/bin/bash\n'
                                               '# Unload kexts\n'
                                               '/sbin/kextunload -q -b '
                                               'com.millisecond.driver.InquisitParallelPort\n'
                                               '\n'
                                               '# Delete app bundle\n'
                                               'if [ -d '
                                               '/Applications/Inquisit\\ 7.app '
                                               ']\n'
                                               'then\n'
                                               '\t/bin/rm -rf '
                                               '/Applications/Inquisit\\ '
                                               '7.app\n'
                                               'fi\n'
                                               '\n'
                                               '# Delete Library kext\n'
                                               'if [ -d '
                                               '/Library/Extensions/InquisitParallelPort.kext '
                                               ']\n'
                                               'then\n'
                                               '\t/bin/rm -rf '
                                               '/Library/Extensions/InquisitParallelPort.kext\n'
                                               'fi\n'
                                               '\n'
                                               '# Delete System kext\n'
                                               'if [ -d '
                                               '/System/Library/Extensions/InquisitParallelPort.kext '
                                               ']\n'
                                               'then\n'
                                               '\t/bin/rm -rf '
                                               '/System/Library/Extensions/InquisitParallelPort.kext\n'
                                               'fi',
                           'uninstallable': True,
                           'version': '7.0.3'},
            'munki_repo_changed': True,
            'pkg_repo_path': '/Users/Shared/munki_repo/pkgs/apps/InquisitLab/Inquisit_703-7.0.3.pkg',
            'pkginfo_repo_path': '/Users/Shared/munki_repo/pkgsinfo/apps/InquisitLab/InquisitLab-7.0.3.plist'}}
Receipt written to ~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.Inquisit Lab/receipts/Inquisit Lab.munki-receipt-20241230-115438.plist

The following new items were downloaded:
    Download Path
    -------------
    ~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.download.Inquisit Lab/downloads/Inquisit_703.pkg
    ~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.Inquisit Lab/downloads/Inquisit_703.pkg

The following new items were imported into Munki:
    Name         Version  Catalogs  Pkginfo Path                              Pkg Repo Path                            Icon Repo Path
    ----         -------  --------  ------------                              -------------                            --------------
    InquisitLab  7.0.3    testing   apps/InquisitLab/InquisitLab-7.0.3.plist  apps/InquisitLab/Inquisit_703-7.0.3.pkg

Verbose recipe run with major version 6:

% autopkg run -vvq Inquisit\ Lab.*.recipe -k MAJOR_VERSION=6
Processing Inquisit Lab.download.recipe...
WARNING: Inquisit Lab.download.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLTextSearcher
{'Input': {'re_pattern': '(https://inquisit\\.millisecond\\.com/6/[\\d_]+/mac/Inquisit_\\d+\\.pkg)',
           'result_output_var_name': 'url',
           'url': 'https://www.millisecond.com/download/releases'}}
URLTextSearcher: Found matching text (url): https://inquisit.millisecond.com/6/6_6/mac/Inquisit_663.pkg
{'Output': {'url': 'https://inquisit.millisecond.com/6/6_6/mac/Inquisit_663.pkg'}}
URLDownloader
{'Input': {'url': 'https://inquisit.millisecond.com/6/6_6/mac/Inquisit_663.pkg'}}
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, 15 Jul 2024 23:18:19 GMT
URLDownloader: Storing new ETag header: "9a268b1f02be13053bd24fba286e3be1-3"
URLDownloader: Downloaded ~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.download.Inquisit Lab/downloads/Inquisit_663.pkg
{'Output': {'download_changed': True,
            'etag': '"9a268b1f02be13053bd24fba286e3be1-3"',
            'last_modified': 'Mon, 15 Jul 2024 23:18:19 GMT',
            'pathname': '~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.download.Inquisit '
                        'Lab/downloads/Inquisit_663.pkg',
            'url_downloader_summary_result': {'data': {'download_path': '~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.download.Inquisit '
                                                                        'Lab/downloads/Inquisit_663.pkg'},
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'expected_authority_names': ['Developer ID Installer: Millisecond '
                                        'Software, LLC (J9JYE5M476)',
                                        'Developer ID Certification Authority',
                                        'Apple Root CA'],
           'input_path': '~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.download.Inquisit '
                         'Lab/downloads/Inquisit_663.pkg'}}
CodeSignatureVerifier: Verifying installer package signature...
CodeSignatureVerifier: Package "Inquisit_663.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: 2022-07-06 22:03:16 +0000
CodeSignatureVerifier:    Certificate Chain:
CodeSignatureVerifier:     1. Developer ID Installer: Millisecond Software, LLC (J9JYE5M476)
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            5C B5 7E 68 19 BB A6 5E 42 EF 07 8D C2 85 6E 49 02 6D A8 A3 3E DC
CodeSignatureVerifier:            98 84 05 2F 92 AD B6 40 F8 26
CodeSignatureVerifier:        ------------------------------------------------------------------------
CodeSignatureVerifier:     2. Developer ID Certification Authority
CodeSignatureVerifier:        Expires: 2027-02-01 22:12:15 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03
CodeSignatureVerifier:            F2 9C 88 CF B0 B1 BA 63 58 7F
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 ~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.download.Inquisit Lab/receipts/Inquisit Lab.download-receipt-20241230-115447.plist
Processing Inquisit Lab.munki.recipe...
WARNING: Inquisit Lab.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLTextSearcher
{'Input': {'re_pattern': '(https://inquisit\\.millisecond\\.com/6/[\\d_]+/mac/Inquisit_\\d+\\.pkg)',
           'result_output_var_name': 'url',
           'url': 'https://www.millisecond.com/download/releases'}}
URLTextSearcher: Found matching text (url): https://inquisit.millisecond.com/6/6_6/mac/Inquisit_663.pkg
{'Output': {'url': 'https://inquisit.millisecond.com/6/6_6/mac/Inquisit_663.pkg'}}
URLDownloader
{'Input': {'url': 'https://inquisit.millisecond.com/6/6_6/mac/Inquisit_663.pkg'}}
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, 15 Jul 2024 23:18:19 GMT
URLDownloader: Storing new ETag header: "9a268b1f02be13053bd24fba286e3be1-3"
URLDownloader: Downloaded ~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.Inquisit Lab/downloads/Inquisit_663.pkg
{'Output': {'download_changed': True,
            'etag': '"9a268b1f02be13053bd24fba286e3be1-3"',
            'last_modified': 'Mon, 15 Jul 2024 23:18:19 GMT',
            'pathname': '~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.Inquisit '
                        'Lab/downloads/Inquisit_663.pkg',
            'url_downloader_summary_result': {'data': {'download_path': '~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.Inquisit '
                                                                        'Lab/downloads/Inquisit_663.pkg'},
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'downloaded:'}}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'expected_authority_names': ['Developer ID Installer: Millisecond '
                                        'Software, LLC (J9JYE5M476)',
                                        'Developer ID Certification Authority',
                                        'Apple Root CA'],
           'input_path': '~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.Inquisit '
                         'Lab/downloads/Inquisit_663.pkg'}}
CodeSignatureVerifier: Verifying installer package signature...
CodeSignatureVerifier: Package "Inquisit_663.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: 2022-07-06 22:03:16 +0000
CodeSignatureVerifier:    Certificate Chain:
CodeSignatureVerifier:     1. Developer ID Installer: Millisecond Software, LLC (J9JYE5M476)
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            5C B5 7E 68 19 BB A6 5E 42 EF 07 8D C2 85 6E 49 02 6D A8 A3 3E DC
CodeSignatureVerifier:            98 84 05 2F 92 AD B6 40 F8 26
CodeSignatureVerifier:        ------------------------------------------------------------------------
CodeSignatureVerifier:     2. Developer ID Certification Authority
CodeSignatureVerifier:        Expires: 2027-02-01 22:12:15 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03
CodeSignatureVerifier:            F2 9C 88 CF B0 B1 BA 63 58 7F
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': {}}
MunkiImporter
{'Input': {'MUNKI_REPO': '/Users/Shared/munki_repo',
           'pkg_path': '~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.Inquisit '
                       'Lab/downloads/Inquisit_663.pkg',
           'pkginfo': {'catalogs': ['testing'],
                       'category': 'Development',
                       'description': 'Inquisit Lab is a powerful tool for '
                                      'designing and administering rich '
                                      'psychological tests and experiments on '
                                      'dedicated computers, whether in the '
                                      'lab, the clinic, or out in the field. '
                                      'Use any of the tests in the Millisecond '
                                      'Test Library, customize them, or '
                                      'program your own.',
                       'developer': 'Millisecond Software',
                       'display_name': 'Inquisit Lab',
                       'name': 'InquisitLab',
                       'unattended_install': True,
                       'uninstall_method': 'uninstall_script',
                       'uninstall_script': '#!/bin/bash\n'
                                           '# Unload kexts\n'
                                           '/sbin/kextunload -q -b '
                                           'com.millisecond.driver.InquisitParallelPort\n'
                                           '\n'
                                           '# Delete app bundle\n'
                                           'if [ -d /Applications/Inquisit\\ '
                                           '6.app ]\n'
                                           'then\n'
                                           '\t/bin/rm -rf '
                                           '/Applications/Inquisit\\ 6.app\n'
                                           'fi\n'
                                           '\n'
                                           '# Delete Library kext\n'
                                           'if [ -d '
                                           '/Library/Extensions/InquisitParallelPort.kext '
                                           ']\n'
                                           'then\n'
                                           '\t/bin/rm -rf '
                                           '/Library/Extensions/InquisitParallelPort.kext\n'
                                           'fi\n'
                                           '\n'
                                           '# Delete System kext\n'
                                           'if [ -d '
                                           '/System/Library/Extensions/InquisitParallelPort.kext '
                                           ']\n'
                                           'then\n'
                                           '\t/bin/rm -rf '
                                           '/System/Library/Extensions/InquisitParallelPort.kext\n'
                                           'fi'},
           'repo_subdirectory': 'apps/InquisitLab'}}
MunkiImporter: No value supplied for MUNKI_REPO_PLUGIN, setting default value of: FileRepo
MunkiImporter: No value supplied for MUNKILIB_DIR, setting default value of: /usr/local/munki
MunkiImporter: No value supplied for force_munki_repo_lib, setting default value of: False
MunkiImporter: Using repo lib: AutoPkgLib
MunkiImporter:         plugin: FileRepo
MunkiImporter:           repo: /Users/Shared/munki_repo
MunkiImporter: Copied pkginfo to: /Users/Shared/munki_repo/pkgsinfo/apps/InquisitLab/InquisitLab-6.6.1.plist
MunkiImporter:            pkg to: /Users/Shared/munki_repo/pkgs/apps/InquisitLab/Inquisit_663-6.6.1.pkg
{'Output': {'munki_importer_summary_result': {'data': {'catalogs': 'testing',
                                                       'icon_repo_path': '',
                                                       'name': 'InquisitLab',
                                                       'pkg_repo_path': 'apps/InquisitLab/Inquisit_663-6.6.1.pkg',
                                                       'pkginfo_path': 'apps/InquisitLab/InquisitLab-6.6.1.plist',
                                                       'version': '6.6.1'},
                                              'report_fields': ['name',
                                                                'version',
                                                                'catalogs',
                                                                'pkginfo_path',
                                                                'pkg_repo_path',
                                                                'icon_repo_path'],
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'imported into '
                                                              'Munki:'},
            'munki_info': {'_metadata': {'created_by': 'testuser',
                                         'creation_date': datetime.datetime(2024, 12, 30, 19, 54, 48),
                                         'munki_version': '6.6.3.4704',
                                         'os_version': '15.2'},
                           'autoremove': False,
                           'catalogs': ['testing'],
                           'category': 'Development',
                           'description': 'Inquisit Lab is a powerful tool for '
                                          'designing and administering rich '
                                          'psychological tests and experiments '
                                          'on dedicated computers, whether in '
                                          'the lab, the clinic, or out in the '
                                          'field. Use any of the tests in the '
                                          'Millisecond Test Library, customize '
                                          'them, or program your own.',
                           'developer': 'Millisecond Software',
                           'display_name': 'Inquisit Lab',
                           'installed_size': 56166,
                           'installer_item_hash': '469cce2ecd6e3d8b752490ce3413f049f7baa966bc3f33c1b8dd3835c539c309',
                           'installer_item_location': 'apps/InquisitLab/Inquisit_663-6.6.1.pkg',
                           'installer_item_size': 22746,
                           'minimum_os_version': '10.5.0',
                           'name': 'InquisitLab',
                           'receipts': [{'installed_size': 56166,
                                         'packageid': 'com.millisecond.Inquisit6',
                                         'version': '6.6.1'}],
                           'unattended_install': True,
                           'uninstall_method': 'uninstall_script',
                           'uninstall_script': '#!/bin/bash\n'
                                               '# Unload kexts\n'
                                               '/sbin/kextunload -q -b '
                                               'com.millisecond.driver.InquisitParallelPort\n'
                                               '\n'
                                               '# Delete app bundle\n'
                                               'if [ -d '
                                               '/Applications/Inquisit\\ 6.app '
                                               ']\n'
                                               'then\n'
                                               '\t/bin/rm -rf '
                                               '/Applications/Inquisit\\ '
                                               '6.app\n'
                                               'fi\n'
                                               '\n'
                                               '# Delete Library kext\n'
                                               'if [ -d '
                                               '/Library/Extensions/InquisitParallelPort.kext '
                                               ']\n'
                                               'then\n'
                                               '\t/bin/rm -rf '
                                               '/Library/Extensions/InquisitParallelPort.kext\n'
                                               'fi\n'
                                               '\n'
                                               '# Delete System kext\n'
                                               'if [ -d '
                                               '/System/Library/Extensions/InquisitParallelPort.kext '
                                               ']\n'
                                               'then\n'
                                               '\t/bin/rm -rf '
                                               '/System/Library/Extensions/InquisitParallelPort.kext\n'
                                               'fi',
                           'uninstallable': True,
                           'version': '6.6.1'},
            'munki_repo_changed': True,
            'pkg_repo_path': '/Users/Shared/munki_repo/pkgs/apps/InquisitLab/Inquisit_663-6.6.1.pkg',
            'pkginfo_repo_path': '/Users/Shared/munki_repo/pkgsinfo/apps/InquisitLab/InquisitLab-6.6.1.plist'}}
Receipt written to ~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.Inquisit Lab/receipts/Inquisit Lab.munki-receipt-20241230-115448.plist

The following new items were downloaded:
    Download Path
    -------------
    ~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.download.Inquisit Lab/downloads/Inquisit_663.pkg
    ~/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.Inquisit Lab/downloads/Inquisit_663.pkg

The following new items were imported into Munki:
    Name         Version  Catalogs  Pkginfo Path                              Pkg Repo Path                            Icon Repo Path
    ----         -------  --------  ------------                              -------------                            --------------
    InquisitLab  6.6.1    testing   apps/InquisitLab/InquisitLab-6.6.1.plist  apps/InquisitLab/Inquisit_663-6.6.1.pkg

@paul-cossey paul-cossey self-assigned this Jan 7, 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