gitrob icon indicating copy to clipboard operation
gitrob copied to clipboard

Feature Request - Add --no-server feature

Open josephmilla opened this issue 7 years ago • 5 comments

Instead of serving up the files right after analysis, it would be great to have an option without the server feature.

josephmilla avatar Jul 05 '18 19:07 josephmilla

Need this functionality as well. Prefer having gitrob generate just the JSON session file that can be diff'd over time without spinning up its own web server to show results.

dcepler avatar Aug 27 '18 17:08 dcepler

Def would love this - want to add to an automated CI process.

rayterrill avatar May 02 '19 15:05 rayterrill

I found a workaround to stop the webserver automatically (requires expect):

#!/usr/bin/env bash

args=$@
expect <<- DONE
	set timeout -1
	spawn /path/to/gitrob $args
	expect "*to stop web server and exit.*"
	send BYE
DONE

You can pass parameters to the script as you would do with gitrob

jurelou avatar Dec 07 '19 15:12 jurelou

I forked this repo and added this ability with a new command-line switch "noweb", as well as the ability to pull code from private org repos (@betobrandao wrote the majority of that, just adapted it a bit). https://github.com/PortOfPortland/gitrob for anyone who'd like to check it out.

rayterrill avatar Dec 08 '19 06:12 rayterrill

@rayterrill @jurelou @dcepler @josephmilla This has been merged into the new fork as this one is no longer maintained. Please open up any additional issues or bugs in that repo. Thanks!

mattyjones avatar May 23 '20 03:05 mattyjones