Ghostflow container
Several issues prevent me from using the docker ghostflow container to do reformatting locally (before pushing to gitlab):
- The
git config alias.ghostflow ...
alias in !2032 (merged) did not work on macos because the leading bang(!) needs escaping. - The
git config alias.ghostflow ...
alias in !2032 (merged) did not work on macos because of restrictions on mounting local directories: a. The source path.
is too short and had to be changed from-v .:/root:Z
to-v $(pwd):/root:Z
. b. The macos docker application must be told to allow remounts of your SMTK repo. - Even with the fixes above, ghostflow does not appear to find the git repository:
% git ghostflow -d check run topic -t master
thread 'main' panicked at 'FindGitDir { output: "fatal: not a git repository (or any parent up to mount point /)\nStopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).\n" }', /usr/local/cargo/git/checkouts/rust-ghostflow-85ea5c8e1c9c24a2/e7ee220/ghostflow-cli/src/main.rs:310:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace