1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 18:34:46 +00:00
Commit Graph

1253 Commits

Author SHA1 Message Date
Tw93
a671c63401 feat: smart vendor directory handling in purge
- Only clean PHP Composer vendor (regeneratable)
  - Protect Rails, Go, and unknown vendor directories
  - Enhanced test coverage for all scenarios

  Builds on PR #229 with improved multi-language support
2026-01-02 00:03:17 +08:00
Tw93
70f427d861 Merge PR #229: Skip Rails vendor during purge 2026-01-02 00:00:12 +08:00
Jalen Yan
9e84883de5 fix: skip Rails vendor during purge 2026-01-01 23:37:02 +08:00
Jean-Jacques Martrès
553bd47127 feat: add shell completion script
This commit introduces a new `completion` command that provides shell
completion for bash, zsh, and fish.

The completion is implemented as a shell script in `bin/completion.sh`
and the main `mole` script has been updated to use it.

This approach was chosen to keep the completion logic in shell script,
as the `mole` command is primarily a set of shell scripts.
2026-01-01 15:27:23 +01:00
Tw93
7d125e1a95 Merge branch 'main' of github.com:tw93/Mole 2026-01-01 13:48:13 +08:00
Tw93
b64f7df357 feat: add Zig build artifacts and project files to cleanup script. 2026-01-01 13:48:08 +08:00
Tw93
b66102baac Merge pull request #226 from LmanTW/main
Add support for cleaning up Zig projects
2026-01-01 13:46:33 +08:00
LmanTW
40cfc363f2 feat: add support for cleaning up Zig projects 2026-01-01 13:08:57 +08:00
Tw93
f53d440bb8 feat: Add Chrome old versions cleanup and whitelist Poetry virtualenvs from cleaning. 2026-01-01 10:26:59 +08:00
Tw93
2bede99e94 fix: enhance local snapshot warning and improve disk space calculation for macOS 2026-01-01 10:12:43 +08:00
Tw93
fdcaa7fa25 Fix workflow errors 2025-12-31 22:54:51 +08:00
Tw93
592f02e6e2 feat: overhaul quality checks and expand test suite for clean and optimize features 2025-12-31 18:13:37 +08:00
Tw93
1e8ff30fa1 chore: auto format code 2025-12-31 08:24:02 +00:00
Tw93
9aa569cbb6 feat: Enhance clean, optimize, analyze, and status commands, and update security audit documentation. 2025-12-31 16:23:31 +08:00
Tw93
8ac59da0e2 chore: auto format code 2025-12-31 06:46:46 +00:00
Tw93
108563ed9b refactor: enhance install script robustness with improved error handling, option validation, and safer file operations, and add error checking for alias removal during uninstall. 2025-12-31 14:46:14 +08:00
Tw93
e30dfd3c57 feat: add --update flag to install.sh to set update action 2025-12-31 14:25:50 +08:00
Tw93
bb142429e3 docs: clarify installation method headers in README 2025-12-31 14:03:14 +08:00
Tw93
1f7a8b1bcb docs: streamline installation instructions by moving script method to Quick Start and clarifying Homebrew header. 2025-12-31 14:00:15 +08:00
Tw93
01eff633e8 fix: safely handle sparse/empty arrays with set -u in install.sh 2025-12-31 11:58:27 +08:00
Tw93
0ad1573aef fix: Ensure set -- correctly clears positional parameters when no arguments are collected. 2025-12-31 11:57:13 +08:00
Tw93
31b8821dfd feat: Add versioned and edge installation support to install.sh and update README, removing old install script options. 2025-12-31 11:55:55 +08:00
Tw93
884a095534 Merge branch 'main' of github.com:tw93/Mole 2025-12-31 10:59:56 +08:00
Tw93
b5b09461c7 feat: add spinner feedback to optimization tasks, enhance app discovery for uninstall, and improve UI robustness and signal handling 2025-12-31 10:59:50 +08:00
Tw93
aca0f66688 chore: auto format code 2025-12-31 02:25:09 +00:00
Tw93
97ed11cd42 refactor: clean_local_snapshots now uses an array for snapshot processing and includes a read_key fallback, with new tests. 2025-12-31 10:23:11 +08:00
Tw93
8d935c6140 feat: Improve clean_local_snapshots robustness and simplify Raycast quick launcher setup. 2025-12-31 10:22:53 +08:00
Tw93
7247ded783 fix: prompt before cleaning local snapshots and keep latest 2025-12-31 09:24:59 +08:00
Tw93
6cf6a995cd Fix: Improve Homebrew uninstallation feedback in 'mo remove'
When 'mole remove' is used and Mole was installed via Homebrew, the script
now provides more explicit feedback if the 'brew uninstall --force mole'
command fails. Previously, errors were silently ignored.

This change ensures that if Homebrew uninstallation encounters an issue,
the user is informed with the error output and instructed on how to
manually complete the uninstallation, preventing inconsistencies where
Homebrew still believes Mole is installed.

Additionally, a minor improvement to config_dir resolution in update_mole
was included for robustness.
2025-12-31 00:17:40 +08:00
Tw93
13e735d58a fix: replace safe_sudo with sudo for local snapshot removal 2025-12-30 23:53:17 +08:00
Tw93
bd1c37d627 fix: reduce raycast setup prompts after first run 2025-12-30 23:40:19 +08:00
Tw93
f33304ae12 chore: auto format code 2025-12-30 15:06:41 +00:00
Tw93
98afaabcff fix: make raycast setup safe in non-interactive 2025-12-30 23:05:53 +08:00
Tw93
e2c1b62046 chore: auto format code 2025-12-30 15:02:31 +00:00
Tw93
9e10ab2925 Merge pull request #211 from thijsvanhal/main
feat: enhance raycast quick launcher setup script
2025-12-30 23:01:58 +08:00
Thijs van Hal
5d6a4640a8 enhance raycast quick launcher setup script 2025-12-30 12:01:27 +01:00
Tw93
fff27a7578 1.17.0 V1.17.0 2025-12-30 18:18:11 +08:00
Tw93
a7b071e8f6 refactor: improve database optimization spinner handling and network optimization success tracking. 2025-12-30 18:16:22 +08:00
Tw93
bb49ec3170 fix: Improve shell script robustness by adding variable validation and safer du output parsing. 2025-12-30 18:07:48 +08:00
Tw93
fcde129d2f fix: expand default whitelist patterns for accurate comparison and list all active patterns in dry-run output 2025-12-30 17:46:21 +08:00
Tw93
5f6448b99d perf: Increase section tracking overhead test threshold and ensure note_activity is defined for testing. 2025-12-30 17:22:22 +08:00
Tw93
6c1fcd23d7 feat: optimize clean operation performance by pre-expanding whitelist patterns, improving size calculation, and adapting parallel processing based on file types, alongside test suite enhancements. 2025-12-30 17:13:43 +08:00
Tw93
41ce597f02 fix: improve CI stability and Bluetooth audio detection 2025-12-30 16:27:52 +08:00
Tw93
389cae21c9 update 2025-12-30 15:57:01 +08:00
Tw93
b156bf85d9 Merge branch 'main' of github.com:tw93/Mole 2025-12-30 15:55:53 +08:00
Tw93
1ee5ab86c7 feat: add automatic Homebrew Core formula update support 2025-12-30 15:55:21 +08:00
Tw93
e6a0b58797 Merge branch 'main' of github.com:tw93/Mole 2025-12-30 15:52:37 +08:00
Tw93
af93011b28 feat: add automatic Homebrew Core formula update support 2025-12-30 15:52:32 +08:00
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