Tw93
a3cbf5258e
feat: add automatic Homebrew Core formula update support
...
- Add workflow step to auto-create PRs to Homebrew/homebrew-core
- Keep personal tap auto-update for immediate releases
- Set continue-on-error to prevent blocking on core update failures
- Use action's default commit message format for consistency
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2025-12-30 15:51:19 +08:00
Tw93
8e45da97b5
chore: auto format code
2025-12-30 07:45:31 +00:00
Tw93
7eb26ccb3a
Merge branch 'main' of github.com:tw93/Mole
2025-12-30 15:44:57 +08:00
Tw93
f0c9683048
feat: Add new system optimizations, refine existing tasks with safety checks, and update whitelisting options.
2025-12-30 15:44:52 +08:00
Tw93
91935dcedf
Merge pull request #208 from zeldrisho/brew
...
docs: brew official formula
2025-12-30 15:44:52 +08:00
Zeldris
7f431e775e
docs: brew official formula
2025-12-30 14:22:29 +07:00
Tw93
08aec02283
fix: ensure 0KB files or du failures are still cleaned (potential under-cleaning fix)
...
- Refactor safe_clean to decouple deletion logic from size calculation
- Attempt deletion for all existing paths, even if size is 0 or unknown
- Correctly count failures only for files that existed but couldn't be removed
2025-12-30 15:02:35 +08:00
Tw93
1c4b033cf7
refactor: rename total_size_bytes to total_size_kb in clean.sh for clarity
2025-12-30 14:55:43 +08:00
Tw93
3ba406b5e7
Merge branch 'main' of github.com:tw93/Mole
2025-12-30 14:48:15 +08:00
Tw93
f5dad048ff
refactor: improve pagination robustness and reduce code duplication
2025-12-30 14:48:10 +08:00
Tw93
dab8136da5
chore: auto format code
2025-12-30 06:46:48 +00:00
Tw93
91351d9440
docs: clarify comment for 1Password sync helpers
2025-12-30 14:46:02 +08:00
Tw93
8711c5b5fc
feat: add cloud storage protection and bump version to 1.16.2
...
- Protect Dropbox, OneDrive, Google Drive, Backblaze, Box (Issue #204 )
- Add homebrew.mxcl.* services protection
- Document mo optimize --dry-run in help and README
- Bump version to 1.16.2
2025-12-30 14:38:22 +08:00
Tw93
73f3d43308
feat: improve mo purge UX with pagination and smart project detection
...
- Add pagination for project list based on terminal height
- Show position indicator [5/25] when scrolling
- Fix GB display for values < 1 (0.6GB instead of .6GB)
- Improve project name detection by walking up to find project root
- Change default editor from nano to vim
2025-12-30 14:38:16 +08:00
Tw93
184aab5f60
feat: add --dry-run support for mo optimize
...
- Skip destructive operations (killall, launchctl unload, sudo) in dry-run mode
- Add opt_msg() helper for consistent output formatting
- Refactor opt_system_services_refresh() with service array
- Show appropriate summary for dry-run vs actual execution
- Skip sudo session prompt in dry-run mode
2025-12-30 14:38:09 +08:00
Tw93
34d202eb01
fix: resolve syntax error in size calculation (Issue #203 )
...
- Add numeric validation for size variables in safe_clean()
- Fix get_path_size_kb() to handle non-numeric du output
- Display custom whitelist patterns in dry-run output (Issue #206 )
2025-12-30 14:38:02 +08:00
dependabot[bot]
21a921c986
chore(deps): bump actions/download-artifact from 4.1.8 to 7.0.0 ( #201 )
2025-12-30 07:04:47 +08:00
dependabot[bot]
02eaf3d645
chore(deps): bump actions/upload-artifact from 4.6.0 to 6.0.0 ( #200 )
2025-12-30 07:04:21 +08:00
Tw93
a7337280a8
feat: package binaries into tar.gz for Homebrew resource
...
- Add packaging step to create binaries-darwin-{arch}.tar.gz
- These packages will be downloaded by Homebrew resource mechanism
- Enables faster installation without Go dependency
- Separate packages for arm64 and amd64 architectures
2025-12-29 22:40:53 +08:00
Tw93
3fd1dbe89a
fix: resolve version tag normalization bug (VV prefix) and improve network detection
2025-12-29 22:29:01 +08:00
Tw93
c962b6f4b9
update install V tag
2025-12-29 22:11:43 +08:00
Tw93
c94e26d531
ci: Update macOS runners to macos-latest in release workflow.
V1.16.1
2025-12-29 20:57:48 +08:00
Tw93
0e6b595d8a
chore: Bump version to 1.16.1 and refactor CI/CD to build separate macOS architectures with CGO enabled.
2025-12-29 20:52:13 +08:00
Tw93
3c38790d38
feat: bump version to 1.16.0 and normalize release tags in the installer for consistent version handling.
2025-12-29 20:31:14 +08:00
Tw93
ac73c0c249
Merge branch 'main' of github.com:tw93/Mole
2025-12-29 20:26:22 +08:00
Tw93
3eccb7c094
feat: improve project clean module's common utility sourcing and bump version to 1.15.10
2025-12-29 20:26:16 +08:00
Tw93
2528169d41
chore: auto format code
2025-12-29 12:23:50 +00:00
Tw93
af61748977
release binaries via GH releases and update installer fallback
2025-12-29 20:23:11 +08:00
Tw93
a95355c002
Merge branch 'main' of github.com:tw93/Mole
2025-12-29 19:40:14 +08:00
Tw93
7485af0bee
chore: Remove --force-rescan option from uninstall command and script.
2025-12-29 19:40:09 +08:00
Tw93
fd95e2f3fc
chore: auto format code
2025-12-29 11:38:50 +00:00
Tw93
6328bf158d
feat(purge): smart project discovery and optimization
2025-12-29 19:38:14 +08:00
Tw93
bb83362195
feat(purge): add --paths option to configure scan directories
...
- Add lib/manage/purge_paths.sh for interactive path management
- Shows current paths status and opens editor for customization
- Update bin/purge.sh to handle --paths option
- Update README with new command
2025-12-29 19:23:54 +08:00
Tw93
fefb831c1f
docs: simplify purge config section with collapsible details
2025-12-29 19:19:51 +08:00
Tw93
bf36d3d6b6
chore: polish PR #197 and add Xcode Archives whitelist option
...
- Remove duplicate comment in project.sh
- Fix color code issue in purge.sh help message
- Add proper spacing after load_purge_config function
- Add shell syntax highlighting in README code block
- Add Xcode Archives to whitelist options (fixes #195 )
2025-12-29 19:18:41 +08:00
Tw93
ad43c92fa1
chore: auto format code
2025-12-29 11:16:45 +00:00
Andrii Medvediev
7e62ed19f9
feat: add configurable purge paths ( #197 )
2025-12-29 19:16:16 +08:00
Tw93
657d7e767c
Merge branch 'main' of github.com:tw93/Mole
2025-12-29 19:09:41 +08:00
Tw93
376d7fb8cd
remove
2025-12-29 19:07:36 +08:00
Tw93
c8b2e3691b
chore: auto format code
2025-12-29 11:07:20 +00:00
Tw93
580548876a
Merge branch 'main' of github.com:tw93/Mole
2025-12-29 19:06:24 +08:00
Tw93
44e91be007
feat: add new system optimization tasks and implement orphaned startup item cleanup
2025-12-29 19:06:04 +08:00
dependabot[bot]
69d92566a1
chore(deps): bump actions/cache from 4.3.0 to 5.0.1 ( #191 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 4.3.0 to 5.0.1.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](0057852bfa...9255dc7a25 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: 5.0.1
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-29 16:56:31 +08:00
dependabot[bot]
afc0f7b410
chore(deps): bump actions/checkout from 4.3.1 to 6.0.1 ( #192 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.3.1 to 6.0.1.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](34e114876b...8e8c483db8 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.1
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-29 16:56:18 +08:00
dependabot[bot]
e3cea029e5
chore(deps): bump golang.org/x/sync from 0.18.0 to 0.19.0 ( #193 )
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/sync/compare/v0.18.0...v0.19.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-version: 0.19.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-29 16:56:03 +08:00
dependabot[bot]
db220746dc
chore(deps): bump actions/setup-go from 5.6.0 to 6.1.0 ( #194 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.6.0 to 6.1.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](40f1582b24...4dc6199c7b )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: 6.1.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-29 16:55:51 +08:00
Tw93
7af6b39875
chore(ci): pin actions to SHAs and add dependabot for gomod
2025-12-29 16:53:51 +08:00
Aman Thanvi
600afbbee8
security(ci): pin mislav/bump-homebrew-formula-action to SHA ( #187 )
...
* security(ci): pin third-party GitHub Action
Pin mislav/bump-homebrew-formula-action to a full commit SHA and add Dependabot updates for GitHub Actions.
* ci: fix checkout for fork PRs
Use merge ref for forked pull requests and skip auto-commit when the PR comes from a fork.
2025-12-29 16:50:47 +08:00
Tw93
2b30a24ffc
chore: update binaries for V1.15.8
2025-12-29 07:52:26 +00:00
Tw93
88ecdb595c
Merge branch 'main' of github.com:tw93/Mole
V1.15.8
2025-12-29 15:51:20 +08:00