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

Updated MySQL Workbench URLs #689

Merged
merged 1 commit into from
Feb 1, 2025
Merged

Conversation

bryanheinz
Copy link
Contributor

I started getting the following download error using the MySQL Workbench recipe:

The following recipes failed:
com.github.homebysix.download.MySQLWorkbench
Error in com.github.homebysix.download.MySQLWorkbench: Processor: URLDownloader: Error: curl: (56) The requested URL returned error: 403

This PR resolves the issue by updating the version check and download URL.

Version check URL — I'm not entirely sure why, but when using arm64 the URL worked fine, but x86_64 it was getting redirected to append a / to the URL. So, I simply added a trailing / and now the version check recipe is working for me using either architecture.

The download URL now seems to redirect to a CDN host. I've updated the URL with the CDN host.

Here's output from both architecture runs:

 ▶ autopkg run -d $(pwd) com.github.homebysix.download.MySQLWorkbench
Processing com.github.homebysix.download.MySQLWorkbench...
WARNING: com.github.homebysix.download.MySQLWorkbench is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...

The following new items were downloaded:
    Download Path
    -------------
    ~/Library/AutoPkg/Cache/com.github.homebysix.download.MySQLWorkbench/downloads/MySQLWorkbench-x86_64-8.0.41.dmg

 ▶ autopkg run -d $(pwd) com.github.homebysix.download.MySQLWorkbench
Processing com.github.homebysix.download.MySQLWorkbench...
WARNING: com.github.homebysix.download.MySQLWorkbench is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...

The following new items were downloaded:
    Download Path
    -------------
    ~/Library/AutoPkg/Cache/com.github.homebysix.download.MySQLWorkbench/downloads/MySQLWorkbench-arm64-8.0.41.dmg

@homebysix homebysix merged commit 76544ee into autopkg:master Feb 1, 2025
1 check passed
@homebysix
Copy link
Member

Thanks!

@homebysix
Copy link
Member

I was able to discover an even simpler method here. Let me know whether that works for you.

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