Skip to content

jetdrive-toolbox 4.5 (new cask) #212187

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

Merged
merged 1 commit into from
May 21, 2025
Merged

Conversation

onnimonni
Copy link
Contributor

Important: Do not tick a checkbox if you haven’t performed its action. Honesty is indispensable for a smooth review process.

In the following questions <cask> is the token of the cask you're submitting.

After making any changes to a cask, existing or new, verify:

Additionally, if adding a new cask:

  • Named the cask according to the token reference.
  • Checked the cask was not already refused (add your cask's name to the end of the search field).
  • brew audit --cask --new <cask> worked successfully.
  • HOMEBREW_NO_INSTALL_FROM_API=1 brew install --cask <cask> worked successfully.
  • brew uninstall --cask <cask> worked successfully.

It's a quite cheap way to expand macbook storage with 1TB SD card from Transcend. Yes it's slow but it works.

The only problem is that MacOS automatically ejects the SD-card when power saving gets toggled and then contents can be corrupted and the SD-card doesn't get automatically mounted when the machine is used next time.

The included cask fixes these power saving issues.

@BrewTestBot BrewTestBot added new cask missing zap Cask is missing a zap stanza, please add one. labels May 13, 2025
@onnimonni onnimonni force-pushed the add-jetdrive-toolbox branch from d444153 to 0f07b9c Compare May 13, 2025 20:24
@BrewTestBot BrewTestBot removed the missing zap Cask is missing a zap stanza, please add one. label May 13, 2025
@onnimonni onnimonni force-pushed the add-jetdrive-toolbox branch from 0f07b9c to 5b6dd30 Compare May 13, 2025 20:27
Copy link
Member

@bevanjkay bevanjkay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @onnimonni
I have left a couple of comments for review.

@khipp khipp changed the title Add cask Jetdrive Toolbox jetdrive-toolbox 4.5 (new cask) May 17, 2025
@khipp khipp force-pushed the add-jetdrive-toolbox branch from 8c40238 to 2df034b Compare May 21, 2025 07:29
@onnimonni
Copy link
Contributor Author

Thanks for the fixes to the PR.

It still seems to fail on intel machines and at least when I checked on my computer the installed app works only on ARM cpus:

$ file /Applications/JetDriveToolbox.app/Contents/MacOS/JetDriveToolbox
/Applications/JetDriveToolbox.app/Contents/MacOS/JetDriveToolbox: Mach-O 64-bit executable arm64

I will still alter the depends_on to skip this cask for Intel based macs.

@onnimonni onnimonni force-pushed the add-jetdrive-toolbox branch from 2df034b to 67fd778 Compare May 21, 2025 16:04
@onnimonni
Copy link
Contributor Author

I tried to look at other repos and I hope that by including only arm arch it's enough to skip intel based tests.

@onnimonni onnimonni force-pushed the add-jetdrive-toolbox branch from 67fd778 to 0d1e7af Compare May 21, 2025 16:10
@khipp
Copy link
Member

khipp commented May 21, 2025

I tried to look at other repos and I hope that by including only arm arch it's enough to skip intel based tests.

We can specify the hardware requirement using depends_on arch: :arm64 (see documentation). Intel-based tests will then be skipped.

Never mind, you were faster! 😄

@onnimonni
Copy link
Contributor Author

onnimonni commented May 21, 2025

Never mind, you were faster! 😄

Well only by few seconds 😅. Thanks for the help anyway!

Homebrew is such a nice community and it's far easier to get stuff merged here than eg in nix packages.

I'm super happy that you improved the formula with the :header_match option and @bevanjkay gave meaningful review too.

If I can help in anyway let me know 🙇

Copy link
Member

@khipp khipp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be good to go now. Thanks, @onnimonni!

@khipp khipp added this pull request to the merge queue May 21, 2025
Merged via the queue into Homebrew:master with commit e0ee27a May 21, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants