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

mac-storage-manager 1.0.0 (new formula) #192713

Closed

Conversation

NarekMosisian
Copy link

Mac Storage Manager Formula - PR Summary

Description:

The Mac Storage Manager is a shell script designed to help users manage disk space on macOS by identifying and removing large applications and associated files. The tool provides options to delete application-related data such as caches, preferences, logs, and saved states. It also supports Homebrew formulas and casks, offering a comprehensive cleanup solution for various installed applications.

Key Features:

  • Application Size Calculation: Calculates the size of Homebrew formulas, casks, and applications in /Applications and ~/Applications.
  • Interactive Deletion: Uses a graphical interface (whiptail) to let users select applications for deletion.
  • Optional File Removal: Prompts users to delete application support files, preferences, caches, logs, and saved states.
  • Comprehensive Removal: Deletes associated files across multiple directories and optional files found via sudo find.
  • Logging: Records actions and errors in application_size_checker.log for review.

Enhancements in this PR:

  • Log File Implementation: A new log file records all actions performed by the tool, including details on application sizes and deleted files.
  • Optional Cache and Save State Deletion: Added a feature that prompts users whether they want to delete additional storage elements like caches, save states, and temporary files.
  • Bug Fixes: Fixed issues related to application size calculation and improved error handling for better stability.

This update enhances usability, provides more control over the cleanup process, and adds visibility into actions performed by the tool through logging.

@github-actions github-actions bot added autosquash Automatically squash pull request commits according to Homebrew style. new formula PR adds a new formula to Homebrew/homebrew-core labels Oct 3, 2024
Copy link
Contributor

github-actions bot commented Oct 3, 2024

Thanks for contributing to Homebrew! 🎉 It looks like you're having trouble with a CI failure. See our contribution guide for help. You may be most interested in the section on dealing with CI failures. You can find the CI logs in the Checks tab of your pull request.

@carlocab carlocab changed the title Add mac storage manager formula mac-storage-manager 1.0.0 (new formula) Oct 3, 2024
@NarekMosisian NarekMosisian force-pushed the add-mac-storage-manager branch 14 times, most recently from 76ecf71 to e828035 Compare October 3, 2024 10:48
- Added log file generation to track actions.
- Implemented prompt for cache and save state removal.
- Fixed bugs related to size calculation and error handling.
@NarekMosisian NarekMosisian closed this by deleting the head repository Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosquash Automatically squash pull request commits according to Homebrew style. new formula PR adds a new formula to Homebrew/homebrew-core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant