Skip to content

Comments

Fix flaky connectfonts app new version#1599

Merged
BigMacAdmin merged 2 commits intoInstallomator:mainfrom
BonnierNews:fix_flaky_connectfonts_appNewVersion
Aug 31, 2024
Merged

Fix flaky connectfonts app new version#1599
BigMacAdmin merged 2 commits intoInstallomator:mainfrom
BonnierNews:fix_flaky_connectfonts_appNewVersion

Conversation

@pmex
Copy link
Contributor

@pmex pmex commented Apr 12, 2024

Using https://www.extensis.com/support/connect-fonts for version checking is bit flaky. It doesn't seem to be updated as new releases of the app are released.

Here's the assemble.sh output with current setup (notice the info for Latest version):

username@computer Installomator % utils/assemble.sh connectfonts
2024-04-12 16:32:57 : REQ   : connectfonts : ################## Start Installomator v. 10.6beta, date 2024-04-12
2024-04-12 16:32:57 : INFO  : connectfonts : ################## Version: 10.6beta
2024-04-12 16:32:57 : INFO  : connectfonts : ################## Date: 2024-04-12
2024-04-12 16:32:57 : INFO  : connectfonts : ################## connectfonts
2024-04-12 16:32:57 : DEBUG : connectfonts : DEBUG mode 1 enabled.
2024-04-12 16:32:57 : DEBUG : connectfonts : name=Connect Fonts
2024-04-12 16:32:57 : DEBUG : connectfonts : appName=
2024-04-12 16:32:57 : DEBUG : connectfonts : type=dmg
2024-04-12 16:32:57 : DEBUG : connectfonts : archiveName=
2024-04-12 16:32:57 : DEBUG : connectfonts : downloadURL=https://links.extensis.com/connect_fonts/cf_latest?language=en&platform=mac
2024-04-12 16:32:57 : DEBUG : connectfonts : curlOptions=
2024-04-12 16:32:57 : DEBUG : connectfonts : appNewVersion=25.0.2
2024-04-12 16:32:57 : DEBUG : connectfonts : appCustomVersion function: Not defined
2024-04-12 16:32:57 : DEBUG : connectfonts : versionKey=CFBundleShortVersionString
2024-04-12 16:32:57 : DEBUG : connectfonts : packageID=
2024-04-12 16:32:57 : DEBUG : connectfonts : pkgName=
2024-04-12 16:32:57 : DEBUG : connectfonts : choiceChangesXML=
2024-04-12 16:32:57 : DEBUG : connectfonts : expectedTeamID=J6MMHGD9D6
2024-04-12 16:32:57 : DEBUG : connectfonts : blockingProcesses=
2024-04-12 16:32:57 : DEBUG : connectfonts : installerTool=
2024-04-12 16:32:57 : DEBUG : connectfonts : CLIInstaller=
2024-04-12 16:32:57 : DEBUG : connectfonts : CLIArguments=
2024-04-12 16:32:57 : DEBUG : connectfonts : updateTool=
2024-04-12 16:32:57 : DEBUG : connectfonts : updateToolArguments=
2024-04-12 16:32:57 : DEBUG : connectfonts : updateToolRunAsCurrentUser=
2024-04-12 16:32:57 : INFO  : connectfonts : BLOCKING_PROCESS_ACTION=tell_user
2024-04-12 16:32:57 : INFO  : connectfonts : NOTIFY=success
2024-04-12 16:32:57 : INFO  : connectfonts : LOGGING=DEBUG
2024-04-12 16:32:57 : INFO  : connectfonts : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2024-04-12 16:32:57 : INFO  : connectfonts : Label type: dmg
2024-04-12 16:32:57 : INFO  : connectfonts : archiveName: Connect Fonts.dmg
2024-04-12 16:32:57 : INFO  : connectfonts : no blocking processes defined, using Connect Fonts as default
2024-04-12 16:32:58 : DEBUG : connectfonts : Changing directory to /path_to_Installomator_files/Installomator/build
2024-04-12 16:32:58 : INFO  : connectfonts : App(s) found: /Applications/Connect Fonts.app
2024-04-12 16:32:58 : INFO  : connectfonts : found app at /Applications/Connect Fonts.app, version 25.1.0, on versionKey CFBundleShortVersionString
2024-04-12 16:32:58 : INFO  : connectfonts : appversion: 25.1.0
2024-04-12 16:32:58 : INFO  : connectfonts : Latest version of Connect Fonts is 25.0.2
2024-04-12 16:32:58 : INFO  : connectfonts : Connect Fonts.dmg exists and DEBUG mode 1 enabled, skipping download
2024-04-12 16:32:58 : DEBUG : connectfonts : DEBUG mode 1, not checking for blocking processes
2024-04-12 16:32:58 : REQ   : connectfonts : Installing Connect Fonts
2024-04-12 16:32:58 : INFO  : connectfonts : Mounting /path_to_Installomator_files/Installomator/build/Connect Fonts.dmg
2024-04-12 16:32:58 : DEBUG : connectfonts : Debugging enabled, dmgmount output was:
förväntade   CRC32 $6658D1B5
/dev/disk4              GUID_partition_scheme
/dev/disk4s1            Apple_HFS                       /Volumes/Connect Fonts

2024-04-12 16:32:58 : INFO  : connectfonts : Mounted: /Volumes/Connect Fonts
2024-04-12 16:32:58 : INFO  : connectfonts : Verifying: /Volumes/Connect Fonts/Connect Fonts.app
2024-04-12 16:32:58 : DEBUG : connectfonts : App size: 188M     /Volumes/Connect Fonts/Connect Fonts.app
2024-04-12 16:32:59 : DEBUG : connectfonts : Debugging enabled, App Verification output was:
/Volumes/Connect Fonts/Connect Fonts.app: accepted
source=Notarized Developer ID
origin=Developer ID Application: Extensis (J6MMHGD9D6)

2024-04-12 16:32:59 : INFO  : connectfonts : Team ID matching: J6MMHGD9D6 (expected: J6MMHGD9D6 )
2024-04-12 16:32:59 : INFO  : connectfonts : Downloaded version of Connect Fonts is 25.1.0 on versionKey CFBundleShortVersionString, same as installed.
2024-04-12 16:32:59 : DEBUG : connectfonts : Unmounting /Volumes/Connect Fonts
2024-04-12 16:32:59 : DEBUG : connectfonts : Debugging enabled, Unmounting output was:
"disk4" ejected.
2024-04-12 16:32:59 : DEBUG : connectfonts : DEBUG mode 1, not reopening anything
2024-04-12 16:32:59 : REG   : connectfonts : No new version to install
2024-04-12 16:32:59 : REQ   : connectfonts : ################## End Installomator, exit code 0 

username@computer Installomator % 

And here's the output, parsing the linked download url instead:

username@computer Installomator % utils/assemble.sh connectfonts
2024-04-12 16:31:46 : REQ   : connectfonts : ################## Start Installomator v. 10.6beta, date 2024-04-12
2024-04-12 16:31:46 : INFO  : connectfonts : ################## Version: 10.6beta
2024-04-12 16:31:46 : INFO  : connectfonts : ################## Date: 2024-04-12
2024-04-12 16:31:46 : INFO  : connectfonts : ################## connectfonts
2024-04-12 16:31:46 : DEBUG : connectfonts : DEBUG mode 1 enabled.
2024-04-12 16:31:46 : DEBUG : connectfonts : name=Connect Fonts
2024-04-12 16:31:46 : DEBUG : connectfonts : appName=
2024-04-12 16:31:46 : DEBUG : connectfonts : type=dmg
2024-04-12 16:31:46 : DEBUG : connectfonts : archiveName=
2024-04-12 16:31:46 : DEBUG : connectfonts : downloadURL=https://links.extensis.com/connect_fonts/cf_latest?language=en&platform=mac
2024-04-12 16:31:46 : DEBUG : connectfonts : curlOptions=
2024-04-12 16:31:46 : DEBUG : connectfonts : appNewVersion=25.1.0
2024-04-12 16:31:46 : DEBUG : connectfonts : appCustomVersion function: Not defined
2024-04-12 16:31:46 : DEBUG : connectfonts : versionKey=CFBundleShortVersionString
2024-04-12 16:31:46 : DEBUG : connectfonts : packageID=
2024-04-12 16:31:46 : DEBUG : connectfonts : pkgName=
2024-04-12 16:31:47 : DEBUG : connectfonts : choiceChangesXML=
2024-04-12 16:31:47 : DEBUG : connectfonts : expectedTeamID=J6MMHGD9D6
2024-04-12 16:31:47 : DEBUG : connectfonts : blockingProcesses=
2024-04-12 16:31:47 : DEBUG : connectfonts : installerTool=
2024-04-12 16:31:47 : DEBUG : connectfonts : CLIInstaller=
2024-04-12 16:31:47 : DEBUG : connectfonts : CLIArguments=
2024-04-12 16:31:47 : DEBUG : connectfonts : updateTool=
2024-04-12 16:31:47 : DEBUG : connectfonts : updateToolArguments=
2024-04-12 16:31:47 : DEBUG : connectfonts : updateToolRunAsCurrentUser=
2024-04-12 16:31:47 : INFO  : connectfonts : BLOCKING_PROCESS_ACTION=tell_user
2024-04-12 16:31:47 : INFO  : connectfonts : NOTIFY=success
2024-04-12 16:31:47 : INFO  : connectfonts : LOGGING=DEBUG
2024-04-12 16:31:47 : INFO  : connectfonts : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2024-04-12 16:31:47 : INFO  : connectfonts : Label type: dmg
2024-04-12 16:31:47 : INFO  : connectfonts : archiveName: Connect Fonts.dmg
2024-04-12 16:31:47 : INFO  : connectfonts : no blocking processes defined, using Connect Fonts as default
2024-04-12 16:31:47 : DEBUG : connectfonts : Changing directory to /path_to_Installomator_files/Installomator/build
2024-04-12 16:31:47 : INFO  : connectfonts : App(s) found: /Applications/Connect Fonts.app
2024-04-12 16:31:47 : INFO  : connectfonts : found app at /Applications/Connect Fonts.app, version 25.1.0, on versionKey CFBundleShortVersionString
2024-04-12 16:31:47 : INFO  : connectfonts : appversion: 25.1.0
2024-04-12 16:31:47 : INFO  : connectfonts : Latest version of Connect Fonts is 25.1.0
2024-04-12 16:31:47 : WARN  : connectfonts : DEBUG mode 1 enabled, not exiting, but there is no new version of app.
2024-04-12 16:31:47 : INFO  : connectfonts : Connect Fonts.dmg exists and DEBUG mode 1 enabled, skipping download
2024-04-12 16:31:47 : DEBUG : connectfonts : DEBUG mode 1, not checking for blocking processes
2024-04-12 16:31:47 : REQ   : connectfonts : Installing Connect Fonts
2024-04-12 16:31:47 : INFO  : connectfonts : Mounting /path_to_Installomator_files/Installomator/build/Connect Fonts.dmg
2024-04-12 16:31:47 : DEBUG : connectfonts : Debugging enabled, dmgmount output was:
förväntade   CRC32 $6658D1B5
/dev/disk4              GUID_partition_scheme
/dev/disk4s1            Apple_HFS                       /Volumes/Connect Fonts

2024-04-12 16:31:47 : INFO  : connectfonts : Mounted: /Volumes/Connect Fonts
2024-04-12 16:31:47 : INFO  : connectfonts : Verifying: /Volumes/Connect Fonts/Connect Fonts.app
2024-04-12 16:31:47 : DEBUG : connectfonts : App size: 188M     /Volumes/Connect Fonts/Connect Fonts.app
2024-04-12 16:31:48 : DEBUG : connectfonts : Debugging enabled, App Verification output was:
/Volumes/Connect Fonts/Connect Fonts.app: accepted
source=Notarized Developer ID
origin=Developer ID Application: Extensis (J6MMHGD9D6)

2024-04-12 16:31:48 : INFO  : connectfonts : Team ID matching: J6MMHGD9D6 (expected: J6MMHGD9D6 )
2024-04-12 16:31:48 : INFO  : connectfonts : Downloaded version of Connect Fonts is 25.1.0 on versionKey CFBundleShortVersionString, same as installed.
2024-04-12 16:31:48 : DEBUG : connectfonts : Unmounting /Volumes/Connect Fonts
2024-04-12 16:31:48 : DEBUG : connectfonts : Debugging enabled, Unmounting output was:
"disk4" ejected.
2024-04-12 16:31:48 : DEBUG : connectfonts : DEBUG mode 1, not reopening anything
2024-04-12 16:31:48 : REG   : connectfonts : No new version to install
2024-04-12 16:31:48 : REQ   : connectfonts : ################## End Installomator, exit code 0 

username@computer Installomator % 

@BigMacAdmin BigMacAdmin self-assigned this Aug 31, 2024
@BigMacAdmin BigMacAdmin added the application adds or improves an application label label Aug 31, 2024
@BigMacAdmin BigMacAdmin added this to the v10.7 milestone Aug 31, 2024
@BigMacAdmin
Copy link
Collaborator

Thank you!

@BigMacAdmin BigMacAdmin merged commit 0cacc2c into Installomator:main Aug 31, 2024
@pmex pmex deleted the fix_flaky_connectfonts_appNewVersion branch September 1, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

application adds or improves an application label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants