Skip to content

feat: add convert-video, shared bootstrap, common lib, fix sast brew bug#10

Merged
1shooperman merged 2 commits into
mainfrom
feat/video_conversion_helper
Jun 2, 2026
Merged

feat: add convert-video, shared bootstrap, common lib, fix sast brew bug#10
1shooperman merged 2 commits into
mainfrom
feat/video_conversion_helper

Conversation

@1shooperman
Copy link
Copy Markdown
Owner

Summary

  • bin/_bootstrap — symlink-crawl and CLI_TOOL_ROOT export extracted into one file; all bin scripts source it via source "${BASH_SOURCE[0]%/*}/_bootstrap" instead of inlining the while loop
  • lib/common.shgecho, show_progress, and ANSI color vars moved out of gitcmds.sh into a shared lib
  • bin/convert-video + lib/ffmpegcmds.sh — new command: converts video to H.264/AAC MP4 via ffmpeg
  • sast brew bug fixPLUGINS_DIR was defaulting to the script's install path ($REPO_ROOT/plugins), which doesn't exist in brew installs; now defaults to $(pwd)/plugins (closes [Bug] sast does not work when installed from homebrew #9)
  • Tests — new suites for _bootstrap and common.sh; existing test_gitcmds and test_sast updated for the new structure; 40/40 passing
  • README + wiki — README structure section updated; full wiki written out (Installation, Architecture, all tools, Contributing)

Test plan

  • make lint — passes clean
  • make test — 40/40 passing
  • brew install and run gitprune, gitrefresh, sast from outside the repo to verify brew paths resolve correctly
  • convert-video with a real video file
  • sast run from a project root with a plugins/ dir (no arg) and with an explicit path arg

🤖 Generated with Claude Code

1shooperman and others added 2 commits June 2, 2026 11:16
- Add bin/_bootstrap: single location for symlink-crawl and CLI_TOOL_ROOT export
- All bin scripts source _bootstrap instead of inlining the while loop
- Extract gecho/show_progress/color vars into lib/common.sh
- Add bin/convert-video and lib/ffmpegcmds.sh for H.264/AAC MP4 conversion
- Fix sast defaulting PLUGINS_DIR to script install path (broke brew installs)
- Add tests for _bootstrap and common.sh; fix test_gitcmds and test_sast for new structure
- Update README structure section and add convert-video docs

Closes #9

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@1shooperman 1shooperman merged commit d8a9bb1 into main Jun 2, 2026
2 checks passed
@1shooperman 1shooperman deleted the feat/video_conversion_helper branch June 2, 2026 15:19
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.

[Bug] sast does not work when installed from homebrew

1 participant