Unable to analyze local repositories
Describe the bug I'm facing an "exit status 1" error with no way to understand what happens.
I'm running your docker image in a Kali Linux Guest system running on a Virtualbox Windows host. I tried with a projectfolder shared as a vagrant filesystem, and as a native folder : same issue.
To Reproduce
┌──(user㉿host)-[~/workspace/host-workspace/project]
└─$ docker run -it -v ~/native-folder/:/app ghcr.io/boostsecurityio/poutine:latest -verbose -scm gitlab analyze_local /app
12:43PM | ERROR | error="failed to analyze repoPath /app: failed to parse repository: exit status 1"
Expected behavior A clear and concise description of the error when turning on the "-verbose" flag.
Besides the verbose output not being verbose, I believe this issue is in part caused by https://github.com/boostsecurityio/poutine/issues/78. There's a few oddities in using analyze_local with a mounted directory at the moment.
Can you give this command a try?
docker run -it -v ~/native-folder/:/app --entrypoint sh ghcr.io/boostsecurityio/poutine:0.9.12 -c "git config --global --add safe.directory /app; poutine -verbose analyze_local /app"
Thanks, this made the trick !