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 Karabiner-Elements Recipes #101

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

paul-cossey
Copy link
Contributor

Hi, @apizz

This PR

  • Updates CodeSignatureVerifier in the download recipe with new App name
  • Updates MunkiInstallsItemsCreator in the Munki recipe with new App name

Output from a -v run

autopkg run -v Karabiner-Elements.munki.recipe
Looking for com.github.apizz.pkg.Karabiner-Elements...
Did not find com.github.apizz.pkg.Karabiner-Elements in recipe map
Rebuilding recipe map with current working directories...
Looking for com.github.apizz.pkg.Karabiner-Elements...
Found com.github.apizz.pkg.Karabiner-Elements in recipe map
Looking for com.github.apizz.download.Karabiner-Elements...
Found com.github.apizz.download.Karabiner-Elements in recipe map
**load_recipe time: 0.006343083001411287
Processing Karabiner-Elements.munki.recipe...
WARNING: Karabiner-Elements.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
GitHubReleasesInfoProvider
WARNING: This is an unathenticated Github session, some API features may not work
GitHubReleasesInfoProvider: Matched regex '^.*\.dmg$' among asset(s): Karabiner-Elements-15.0.0.dmg
GitHubReleasesInfoProvider: Selected asset 'Karabiner-Elements-15.0.0.dmg' from tag 'v15.0.0' at url https://github.com/pqrs-org/Karabiner-Elements/releases/download/v15.0.0/Karabiner-Elements-15.0.0.dmg
URLDownloader
URLDownloader: Storing new Last-Modified header: Thu, 08 Aug 2024 23:53:14 GMT
URLDownloader: Storing new ETag header: "0x8DCB80544AB5967"
URLDownloader: Downloaded /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/downloads/Karabiner-Elements.dmg
EndOfCheckPhase
FileFinder
FileFinder: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/downloads/Karabiner-Elements.dmg
FileFinder: Found file match: '/private/tmp/dmg.G6Lbrb/Karabiner-Elements.pkg' from globbed '/private/tmp/dmg.G6Lbrb/*.pkg'
FileFinder: DMG-relative file match: 'Karabiner-Elements.pkg'
FileFinder: Basename match: 'Karabiner-Elements.pkg'
CodeSignatureVerifier
CodeSignatureVerifier: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/downloads/Karabiner-Elements.dmg
CodeSignatureVerifier: Verifying installer package signature...
CodeSignatureVerifier: Package "Karabiner-Elements.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-08-08 23:49:18 +0000
CodeSignatureVerifier:    Certificate Chain:
CodeSignatureVerifier:     1. Developer ID Installer: Fumihiko Takayama (G43BCU2T37)
CodeSignatureVerifier:        Expires: 2027-02-01 22:12:15 +0000
CodeSignatureVerifier:        SHA256 Fingerprint:
CodeSignatureVerifier:            6B FA EF 82 19 7D 9E 77 22 A5 EC 20 7C B1 33 A5 9C 70 37 88 1D 30 
CodeSignatureVerifier:            2B 04 DB 19 95 CA 44 04 FE B8
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
FlatPkgUnpacker
FlatPkgUnpacker: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/downloads/Karabiner-Elements.dmg
FlatPkgUnpacker: Unpacked /private/tmp/dmg.Sk0K0S/Karabiner-Elements.pkg to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/unpack
PkgPayloadUnpacker
PkgPayloadUnpacker: Unpacked /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/unpack/Installer.pkg/Payload to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/Karabiner-Elements
CodeSignatureVerifier
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification enabled...
CodeSignatureVerifier: /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/Karabiner-Elements/Applications/Karabiner-Elements.app: valid on disk
CodeSignatureVerifier: /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/Karabiner-Elements/Applications/Karabiner-Elements.app: satisfies its Designated Requirement
CodeSignatureVerifier: /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/Karabiner-Elements/Applications/Karabiner-Elements.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
PkgPayloadUnpacker
PkgPayloadUnpacker: Unpacked /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/unpack/Karabiner-DriverKit-VirtualHIDDevice.pkg/Payload to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/Karabiner-Elements
CodeSignatureVerifier
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification enabled...
CodeSignatureVerifier: /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/Karabiner-Elements/Library/Application Support/org.pqrs/Karabiner-DriverKit-VirtualHIDDevice/Applications/Karabiner-VirtualHIDDevice-Daemon.app: valid on disk
CodeSignatureVerifier: /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/Karabiner-Elements/Library/Application Support/org.pqrs/Karabiner-DriverKit-VirtualHIDDevice/Applications/Karabiner-VirtualHIDDevice-Daemon.app: satisfies its Designated Requirement
CodeSignatureVerifier: /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/Karabiner-Elements/Library/Application Support/org.pqrs/Karabiner-DriverKit-VirtualHIDDevice/Applications/Karabiner-VirtualHIDDevice-Daemon.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
PlistReader
PlistReader: Reading: /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/Karabiner-Elements/Applications/Karabiner-Elements.app/Contents/Info.plist
PlistReader: Assigning value of '15.0.0' to output variable 'version'
PlistReader: Assigning value of '13.0' to output variable 'min_os_version'
PkgCopier
PkgCopier: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/downloads/Karabiner-Elements.dmg
PkgCopier: Copied /private/tmp/dmg.qhbGQw/Karabiner-Elements.pkg to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/Karabiner-Elements.pkg
MunkiInstallsItemsCreator
MunkiInstallsItemsCreator: Created installs item for /Applications/Karabiner-Elements.app
MunkiInstallsItemsCreator: Created installs item for /Applications/Karabiner-EventViewer.app
MunkiInstallsItemsCreator: Created installs item for /Library/Application Support/org.pqrs/Karabiner-DriverKit-VirtualHIDDevice/Applications/Karabiner-VirtualHIDDevice-Daemon.app
MunkiInstallsItemsCreator: Created installs item for /Library/Application Support/org.pqrs/Karabiner-Elements/Karabiner-Menu.app
MunkiInstallsItemsCreator: Created installs item for /Library/Application Support/org.pqrs/Karabiner-Elements/Karabiner-MultitouchExtension.app
MunkiInstallsItemsCreator: Created installs item for /Library/Application Support/org.pqrs/Karabiner-Elements/Karabiner-NotificationWindow.app
MunkiPkginfoMerger
MunkiPkginfoMerger: Merged {'installs': [{'CFBundleIdentifier': 'org.pqrs.Karabiner-Elements.Settings', 'CFBundleName': 'Karabiner-Elements', 'CFBundleShortVersionString': '15.0.0', 'CFBundleVersion': '15.0.0', 'minosversion': '13.0', 'path': '/Applications/Karabiner-Elements.app', 'type': 'application', 'version_comparison_key': 'CFBundleShortVersionString'}, {'CFBundleIdentifier': 'org.pqrs.Karabiner-EventViewer', 'CFBundleName': 'Karabiner-EventViewer', 'CFBundleShortVersionString': '15.0.0', 'CFBundleVersion': '15.0.0', 'minosversion': '13.0', 'path': '/Applications/Karabiner-EventViewer.app', 'type': 'application', 'version_comparison_key': 'CFBundleShortVersionString'}, {'CFBundleIdentifier': 'org.pqrs.Karabiner-VirtualHIDDevice-Daemon', 'CFBundleName': 'Karabiner-VirtualHIDDevice-Daemon', 'CFBundleShortVersionString': '4.3.0', 'CFBundleVersion': '4.3.0', 'minosversion': '13.0', 'path': '/Library/Application Support/org.pqrs/Karabiner-DriverKit-VirtualHIDDevice/Applications/Karabiner-VirtualHIDDevice-Daemon.app', 'type': 'application', 'version_comparison_key': 'CFBundleShortVersionString'}, {'CFBundleIdentifier': 'org.pqrs.Karabiner-Menu', 'CFBundleName': 'Karabiner-Menu', 'CFBundleShortVersionString': '15.0.0', 'CFBundleVersion': '15.0.0', 'minosversion': '13.0', 'path': '/Library/Application Support/org.pqrs/Karabiner-Elements/Karabiner-Menu.app', 'type': 'application', 'version_comparison_key': 'CFBundleShortVersionString'}, {'CFBundleIdentifier': 'org.pqrs.Karabiner-MultitouchExtension', 'CFBundleName': 'Karabiner-MultitouchExtension', 'CFBundleShortVersionString': '15.0.0', 'CFBundleVersion': '15.0.0', 'minosversion': '13.0', 'path': '/Library/Application Support/org.pqrs/Karabiner-Elements/Karabiner-MultitouchExtension.app', 'type': 'application', 'version_comparison_key': 'CFBundleShortVersionString'}, {'CFBundleIdentifier': 'org.pqrs.Karabiner-NotificationWindow', 'CFBundleName': 'Karabiner-NotificationWindow', 'CFBundleShortVersionString': '15.0.0', 'CFBundleVersion': '15.0.0', 'minosversion': '13.0', 'path': '/Library/Application Support/org.pqrs/Karabiner-Elements/Karabiner-NotificationWindow.app', 'type': 'application', 'version_comparison_key': 'CFBundleShortVersionString'}]} into pkginfo
MunkiPkginfoMerger
MunkiPkginfoMerger: Merged {'minimum_os_version': '13.0', 'version': '15.0.0'} into pkginfo
MunkiImporter
MunkiImporter: Using repo lib: AutoPkgLib
MunkiImporter:         plugin: FileRepo
MunkiImporter:           repo: /Users/Shared/munki_repo
MunkiImporter: Copied pkginfo to: /Users/Shared/munki_repo/pkgsinfo/apps/karabiner-elements/Karabiner-Elements-15.0.0__2.plist
MunkiImporter:            pkg to: /Users/Shared/munki_repo/pkgs/apps/karabiner-elements/Karabiner-Elements-15.0.0__2.dmg
PathDeleter
PathDeleter: Deleted /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/Karabiner-Elements
PathDeleter: Deleted /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/unpack
Receipt written to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/receipts/Karabiner-Elements.munki-receipt-20240815-152806.plist

The following new items were downloaded:
    Download Path                                                                                                        
    -------------                                                                                                        
    /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/downloads/Karabiner-Elements.dmg  

The following packages were copied:
    Pkg Path                                                                                                   
    --------                                                                                                   
    /Users/paul.cossey/Library/AutoPkg/Cache/com.github.apizz.munki.Karabiner-Elements/Karabiner-Elements.pkg  

The following new items were imported into Munki:
    Name                Version  Catalogs  Pkginfo Path                                                Pkg Repo Path                                             Icon Repo Path  
    ----                -------  --------  ------------                                                -------------                                             --------------  
    Karabiner-Elements  15.0.0   testing   apps/karabiner-elements/Karabiner-Elements-15.0.0__2.plist  apps/karabiner-elements/Karabiner-Elements-15.0.0__2.dmg 

Updates CodeSignatureVerifier with new App name
Updates MunkiInstallsItemsCreator with new App name
@apizz apizz merged commit b6622b0 into autopkg:master Aug 15, 2024
@apizz
Copy link
Member

apizz commented Aug 15, 2024

Perfect, thanks much and for the verbose output ❤️

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