autopkg / apizz-recipes

MIT License
14 stars 23 forks source link

Update VSCodium.download.recipe #94

Closed opus-nbonenberger closed 6 months ago

opus-nbonenberger commented 6 months ago

Code signature changed.

apizz commented 6 months ago

Please share verbose recipe run output to confirm and I'll merge :)

opus-nbonenberger commented 6 months ago
GitHubReleasesInfoProvider
{'Input': {'asset_regex': '^VSCodium.x64.[\\d.]+.dmg$',
           'github_repo': 'VSCodium/vscodium',
           '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: Matched regex '^VSCodium.x64.[\d.]+.dmg$' among asset(s): codium-1.88.1.24104-el7.aarch64.rpm, codium-1.88.1.24104-el7.aarch64.rpm.sha1, codium-1.88.1.24104-el7.aarch64.rpm.sha256, codium-1.88.1.24104-el7.armv7hl.rpm, codium-1.88.1.24104-el7.armv7hl.rpm.sha1, codium-1.88.1.24104-el7.armv7hl.rpm.sha256, codium-1.88.1.24104-el7.x86_64.rpm, codium-1.88.1.24104-el7.x86_64.rpm.sha1, codium-1.88.1.24104-el7.x86_64.rpm.sha256, codium_1.88.1.24104_amd64.deb, codium_1.88.1.24104_amd64.deb.sha1, codium_1.88.1.24104_amd64.deb.sha256, codium_1.88.1.24104_amd64.snap, codium_1.88.1.24104_arm64.deb, codium_1.88.1.24104_arm64.deb.sha1, codium_1.88.1.24104_arm64.deb.sha256, codium_1.88.1.24104_arm64.snap, codium_1.88.1.24104_armhf.deb, codium_1.88.1.24104_armhf.deb.sha1, codium_1.88.1.24104_armhf.deb.sha256, VSCodium-1.88.1.24104-src.tar.gz, VSCodium-1.88.1.24104-src.tar.gz.sha1, VSCodium-1.88.1.24104-src.tar.gz.sha256, VSCodium-1.88.1.24104-src.zip, VSCodium-1.88.1.24104-src.zip.sha1, VSCodium-1.88.1.24104-src.zip.sha256, VSCodium-1.88.1.24104.glibc2.17-x86_64.AppImage, VSCodium-1.88.1.24104.glibc2.17-x86_64.AppImage.sha1, VSCodium-1.88.1.24104.glibc2.17-x86_64.AppImage.sha256, VSCodium-1.88.1.24104.glibc2.17-x86_64.AppImage.zsync, VSCodium-1.88.1.24104.glibc2.17-x86_64.AppImage.zsync.sha1, VSCodium-1.88.1.24104.glibc2.17-x86_64.AppImage.zsync.sha256, VSCodium-darwin-arm64-1.88.1.24104.zip, VSCodium-darwin-arm64-1.88.1.24104.zip.sha1, VSCodium-darwin-arm64-1.88.1.24104.zip.sha256, VSCodium-darwin-x64-1.88.1.24104.zip, VSCodium-darwin-x64-1.88.1.24104.zip.sha1, VSCodium-darwin-x64-1.88.1.24104.zip.sha256, VSCodium-linux-arm64-1.88.1.24104.tar.gz, VSCodium-linux-arm64-1.88.1.24104.tar.gz.sha1, VSCodium-linux-arm64-1.88.1.24104.tar.gz.sha256, VSCodium-linux-armhf-1.88.1.24104.tar.gz, VSCodium-linux-armhf-1.88.1.24104.tar.gz.sha1, VSCodium-linux-armhf-1.88.1.24104.tar.gz.sha256, VSCodium-linux-x64-1.88.1.24104.tar.gz, VSCodium-linux-x64-1.88.1.24104.tar.gz.sha1, VSCodium-linux-x64-1.88.1.24104.tar.gz.sha256, vscodium-reh-alpine-arm64-1.88.1.24104.tar.gz, vscodium-reh-alpine-arm64-1.88.1.24104.tar.gz.sha1, vscodium-reh-alpine-arm64-1.88.1.24104.tar.gz.sha256, vscodium-reh-alpine-x64-1.88.1.24104.tar.gz, vscodium-reh-alpine-x64-1.88.1.24104.tar.gz.sha1, vscodium-reh-alpine-x64-1.88.1.24104.tar.gz.sha256, vscodium-reh-darwin-arm64-1.88.1.24104.tar.gz, vscodium-reh-darwin-arm64-1.88.1.24104.tar.gz.sha1, vscodium-reh-darwin-arm64-1.88.1.24104.tar.gz.sha256, vscodium-reh-darwin-x64-1.88.1.24104.tar.gz, vscodium-reh-darwin-x64-1.88.1.24104.tar.gz.sha1, vscodium-reh-darwin-x64-1.88.1.24104.tar.gz.sha256, vscodium-reh-linux-arm64-1.88.1.24104.tar.gz, vscodium-reh-linux-arm64-1.88.1.24104.tar.gz.sha1, vscodium-reh-linux-arm64-1.88.1.24104.tar.gz.sha256, vscodium-reh-linux-armhf-1.88.1.24104.tar.gz, vscodium-reh-linux-armhf-1.88.1.24104.tar.gz.sha1, vscodium-reh-linux-armhf-1.88.1.24104.tar.gz.sha256, vscodium-reh-linux-riscv64-1.88.1.24104.tar.gz, vscodium-reh-linux-riscv64-1.88.1.24104.tar.gz.sha1, vscodium-reh-linux-riscv64-1.88.1.24104.tar.gz.sha256, vscodium-reh-linux-x64-1.88.1.24104.tar.gz, vscodium-reh-linux-x64-1.88.1.24104.tar.gz.sha1, vscodium-reh-linux-x64-1.88.1.24104.tar.gz.sha256, vscodium-reh-win32-x64-1.88.1.24104.tar.gz, vscodium-reh-win32-x64-1.88.1.24104.tar.gz.sha1, vscodium-reh-win32-x64-1.88.1.24104.tar.gz.sha256, VSCodium-win32-arm64-1.88.1.24104.zip, VSCodium-win32-arm64-1.88.1.24104.zip.sha1, VSCodium-win32-arm64-1.88.1.24104.zip.sha256, VSCodium-win32-x64-1.88.1.24104.zip, VSCodium-win32-x64-1.88.1.24104.zip.sha1, VSCodium-win32-x64-1.88.1.24104.zip.sha256, VSCodium-x64-1.88.1.24104.msi, VSCodium-x64-1.88.1.24104.msi.sha1, VSCodium-x64-1.88.1.24104.msi.sha256, VSCodium-x64-updates-disabled-1.88.1.24104.msi, VSCodium-x64-updates-disabled-1.88.1.24104.msi.sha1, VSCodium-x64-updates-disabled-1.88.1.24104.msi.sha256, VSCodium.arm64.1.88.1.24104.dmg, VSCodium.arm64.1.88.1.24104.dmg.sha1, VSCodium.arm64.1.88.1.24104.dmg.sha256, VSCodium.x64.1.88.1.24104.dmg, VSCodium.x64.1.88.1.24104.dmg.sha1, VSCodium.x64.1.88.1.24104.dmg.sha256, VSCodiumSetup-arm64-1.88.1.24104.exe, VSCodiumSetup-arm64-1.88.1.24104.exe.sha1, VSCodiumSetup-arm64-1.88.1.24104.exe.sha256, VSCodiumSetup-x64-1.88.1.24104.exe, VSCodiumSetup-x64-1.88.1.24104.exe.sha1, VSCodiumSetup-x64-1.88.1.24104.exe.sha256, VSCodiumUserSetup-arm64-1.88.1.24104.exe, VSCodiumUserSetup-arm64-1.88.1.24104.exe.sha1, VSCodiumUserSetup-arm64-1.88.1.24104.exe.sha256, VSCodiumUserSetup-x64-1.88.1.24104.exe, VSCodiumUserSetup-x64-1.88.1.24104.exe.sha1, VSCodiumUserSetup-x64-1.88.1.24104.exe.sha256
GitHubReleasesInfoProvider: Selected asset 'VSCodium.x64.1.88.1.24104.dmg' from release '1.88.1.24104'
{'Output': {'asset_created_at': '2024-04-13T02:11:53Z',
            'asset_url': 'https://api.github.com/repos/VSCodium/vscodium/releases/assets/161852021',
            'release_notes': 'update vscode to '
                             '[1.88.1](https://code.visualstudio.com/updates/v1_88)\n'
                             '\n'
                             "## What's Changed\n"
                             '* feat: add linux riscv64 reh build and fix some '
                             'ppc64 stuff BTW by @kxxt in '
                             'https://github.com/VSCodium/vscodium/pull/1851\n'
                             '\n'
                             '## New Contributors\n'
                             '* @kxxt made their first contribution in '
                             'https://github.com/VSCodium/vscodium/pull/1851\n'
                             '\n'
                             '**Full Changelog**: '
                             'https://github.com/VSCodium/vscodium/compare/1.88.1.24102...1.88.1.24104',
            'url': 'https://github.com/VSCodium/vscodium/releases/download/1.88.1.24104/VSCodium.x64.1.88.1.24104.dmg',
            'version': '1.88.1.24104'}}
URLDownloader
{'Input': {'filename': 'VSCodium.dmg',
           'url': 'https://github.com/VSCodium/vscodium/releases/download/1.88.1.24104/VSCodium.x64.1.88.1.24104.dmg'}}
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: Item at URL is unchanged.
URLDownloader: Using existing /Users/admin/Library/AutoPkg/Cache/com.github.apizz.download.VSCodium/downloads/VSCodium.dmg
{'Output': {'pathname': '/Users/admin/Library/AutoPkg/Cache/com.github.apizz.download.VSCodium/downloads/VSCodium.dmg'}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'input_path': '/Users/admin/Library/AutoPkg/Cache/com.github.apizz.download.VSCodium/downloads/VSCodium.dmg/VSCodium.app',
           'requirement': 'identifier "com.vscodium" and anchor apple generic '
                          'and 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] = C7S3ZQ2B8V',
           'strict_verification': True}}
CodeSignatureVerifier: Mounted disk image /Users/admin/Library/AutoPkg/Cache/com.github.apizz.download.VSCodium/downloads/VSCodium.dmg
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification enabled...
CodeSignatureVerifier: /private/tmp/dmg.gdp5zG/VSCodium.app: valid on disk
CodeSignatureVerifier: /private/tmp/dmg.gdp5zG/VSCodium.app: satisfies its Designated Requirement
CodeSignatureVerifier: /private/tmp/dmg.gdp5zG/VSCodium.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
{'Output': {}}
PlistReader
{'Input': {'info_path': '/Users/admin/Library/AutoPkg/Cache/com.github.apizz.download.VSCodium/downloads/VSCodium.dmg/VSCodium.app/Contents/Info.plist',
           'plist_keys': {'CFBundleShortVersionString': 'version',
                          'LSMinimumSystemVersion': 'min_os_version'}}}
PlistReader: Mounted disk image /Users/admin/Library/AutoPkg/Cache/com.github.apizz.download.VSCodium/downloads/VSCodium.dmg
PlistReader: Reading: /private/tmp/dmg.xGUPVX/VSCodium.app/Contents/Info.plist
PlistReader: Assigning value of '1.88.1' to output variable 'version'
PlistReader: Assigning value of '10.15' to output variable 'min_os_version'
{'Output': {'plist_reader_output_variables': {'min_os_version': '10.15',
                                              'version': '1.88.1'}}}
Receipt written to /Users/admin/Library/AutoPkg/Cache/com.github.apizz.download.VSCodium/receipts/VSCodium.download-receipt-20240418-130819.plist

@apizz here it is :)

opus-nbonenberger commented 6 months ago

@apizz also i noticed that there is a x86 and an arm64 version available. maybe you can add support for it :)