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

Duet display #662

Merged
merged 2 commits into from
Nov 10, 2024
Merged

Duet display #662

merged 2 commits into from
Nov 10, 2024

Conversation

paul-cossey
Copy link
Contributor

Hi, @homebysix

Duet have changed the downloaded file format from .zip to .dmg on the latest version DuetDesktop for macOS 11+

Unfortunately the legacy application for 10.13 - 10.15 hasn't yet (and possibly may never be?) been updated to the new format and is still a .zip file.

As per issue: #661 this PR updates to account for the switch from .zip to dmg and removes support for the legacy application.

Output from successful -v runs of the pkg, munki and install recipes

autopkg run -v duet.pkg.recipe
Looking for com.github.homebysix.download.duet...
Did not find com.github.homebysix.download.duet in recipe map
Rebuilding recipe map with current working directories...
Looking for com.github.homebysix.download.duet...
Found com.github.homebysix.download.duet in recipe map
**load_recipe time: 0.0070136249996721745
Processing duet.pkg.recipe...
WARNING: duet.pkg.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
URLDownloader: Storing new Last-Modified header: Wed, 30 Oct 2024 19:48:56 GMT
URLDownloader: Storing new ETag header: "8a10fcd2576e68c12a22ae78bc3b1946-1"
URLDownloader: Downloaded /Users/paul.cossey/Library/AutoPkg/Cache/com.github.homebysix.pkg.duet/downloads/duet.dmg
EndOfCheckPhase
CodeSignatureVerifier
CodeSignatureVerifier: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/com.github.homebysix.pkg.duet/downloads/duet.dmg
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /private/tmp/dmg.gTab5F/duet.app: valid on disk
CodeSignatureVerifier: /private/tmp/dmg.gTab5F/duet.app: satisfies its Designated Requirement
CodeSignatureVerifier: /private/tmp/dmg.gTab5F/duet.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
Copier
Copier: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/com.github.homebysix.pkg.duet/downloads/duet.dmg
Copier: Copied /private/tmp/dmg.O1X52h/duet.app to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.homebysix.pkg.duet/duet/Applications/duet.app
PlistReader
PlistReader: Reading: /Users/paul.cossey/Library/AutoPkg/Cache/com.github.homebysix.pkg.duet/duet/Applications/duet.app/Contents/Info.plist
PlistReader: Assigning value of '3.20.0.0' to output variable 'version'
PkgCreator
PkgCreator: Connecting
PkgCreator: Sending packaging request
PkgCreator: Disconnecting
PathDeleter
PathDeleter: Deleted /Users/paul.cossey/Library/AutoPkg/Cache/com.github.homebysix.pkg.duet/duet
Receipt written to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.homebysix.pkg.duet/receipts/duet.pkg-receipt-20241104-193342.plist

The following new items were downloaded:
    Download Path                                                                              
    -------------                                                                              
    /Users/paul.cossey/Library/AutoPkg/Cache/com.github.homebysix.pkg.duet/downloads/duet.dmg  

The following packages were built:
    Identifier       Version   Pkg Path                                                                                  
    ----------       -------   --------                                                                                  
    com.kairos.duet  3.20.0.0  /Users/paul.cossey/Library/AutoPkg/Cache/com.github.homebysix.pkg.duet/duet-3.20.0.0.pkg  



autopkg run -v duet.munki.recipe 
Looking for com.github.homebysix.download.duet...
Did not find com.github.homebysix.download.duet in recipe map
Rebuilding recipe map with current working directories...
Looking for com.github.homebysix.download.duet...
Found com.github.homebysix.download.duet in recipe map
**load_recipe time: 0.00705158400523942
Processing duet.munki.recipe...
WARNING: duet.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
URLDownloader: Storing new Last-Modified header: Wed, 30 Oct 2024 19:48:56 GMT
URLDownloader: Storing new ETag header: "8a10fcd2576e68c12a22ae78bc3b1946-1"
URLDownloader: Downloaded /Users/paul.cossey/Library/AutoPkg/Cache/com.github.homebysix.munki.duet/downloads/duet.dmg
EndOfCheckPhase
CodeSignatureVerifier
CodeSignatureVerifier: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/com.github.homebysix.munki.duet/downloads/duet.dmg
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /private/tmp/dmg.uCeKVg/duet.app: valid on disk
CodeSignatureVerifier: /private/tmp/dmg.uCeKVg/duet.app: satisfies its Designated Requirement
CodeSignatureVerifier: /private/tmp/dmg.uCeKVg/duet.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
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/duet/duet-3.20.0.0__1.plist
MunkiImporter:            pkg to: /Users/Shared/munki_repo/pkgs/apps/duet/duet-3.20.0.0__1.dmg
Receipt written to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.homebysix.munki.duet/receipts/duet.munki-receipt-20241104-193508.plist

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

The following new items were imported into Munki:
    Name  Version   Catalogs  Pkginfo Path                      Pkg Repo Path                   Icon Repo Path  
    ----  -------   --------  ------------                      -------------                   --------------  
    duet  3.20.0.0  testing   apps/duet/duet-3.20.0.0__1.plist  apps/duet/duet-3.20.0.0__1.dmg                  



autopkg run -v duet.install.recipe 
Looking for com.github.homebysix.download.duet...
Did not find com.github.homebysix.download.duet in recipe map
Rebuilding recipe map with current working directories...
Looking for com.github.homebysix.download.duet...
Found com.github.homebysix.download.duet in recipe map
**load_recipe time: 0.005769166004029103
Processing duet.install.recipe...
WARNING: duet.install.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
URLDownloader: Storing new Last-Modified header: Wed, 30 Oct 2024 19:48:56 GMT
URLDownloader: Storing new ETag header: "8a10fcd2576e68c12a22ae78bc3b1946-1"
URLDownloader: Downloaded /Users/paul.cossey/Library/AutoPkg/Cache/com.github.homebysix.install.duet/downloads/duet.dmg
EndOfCheckPhase
CodeSignatureVerifier
CodeSignatureVerifier: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/com.github.homebysix.install.duet/downloads/duet.dmg
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /private/tmp/dmg.QP6qmv/duet.app: valid on disk
CodeSignatureVerifier: /private/tmp/dmg.QP6qmv/duet.app: satisfies its Designated Requirement
CodeSignatureVerifier: /private/tmp/dmg.QP6qmv/duet.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
InstallFromDMG
InstallFromDMG: Mounted disk image /Users/paul.cossey/Library/AutoPkg/Cache/com.github.homebysix.install.duet/downloads/duet.dmg
InstallFromDMG: Connecting
InstallFromDMG: Sending installation request
InstallFromDMG: STATUS:Copying duet.app to /Applications/duet.app
InstallFromDMG: Disconnecting
InstallFromDMG: Result: DONE
Receipt written to /Users/paul.cossey/Library/AutoPkg/Cache/com.github.homebysix.install.duet/receipts/duet.install-receipt-20241104-193534.plist

The following new items were downloaded:
    Download Path                                                                                  
    -------------                                                                                  
    /Users/paul.cossey/Library/AutoPkg/Cache/com.github.homebysix.install.duet/downloads/duet.dmg  

Items from the following disk images were successfully installed:
    Dmg Path                                                                                       
    --------                                                                                       
    /Users/paul.cossey/Library/AutoPkg/Cache/com.github.homebysix.install.duet/downloads/duet.dmg

Removes support for the legacy version of DuetDesktop as per autopkg#661

Updates the pkg and install recipe to account for the new dmg format.
@homebysix homebysix merged commit 64e97ce into autopkg:master Nov 10, 2024
1 check passed
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