Closed justinabrahms closed 6 months ago
$ docker build -t specfinder . $ docker run --mount src=/path/tojava-sdk/,target=/appdir,type=bind -it specfinder \ spec_finder.py --code-directory /appdir --diff --json-report
This will generate java-report.json in the java-sdk folder which we can use for other automation.
java-report.json
The report looks like this:
{ "extra": [ "1.1.8", "2.4.2", "2.4.3", "2.4.4", "2.4.5", "4.1.4" ], "missing": [ "1.1.2.4", "1.7.1", "1.7.2.1", "1.7.3", "1.7.4", "1.7.5", "1.7.6", "1.7.7", "1.7.8", "2.4.2.1", "2.5.2", "3.2.2.3", "3.2.2.4", "3.2.4.2", "4.1.4.1", "5.1.5", "5.3.4.1", "5.3.4.2", "5.3.4.3", "5.3.5" ], "different-text": [ "1.1.3", "1.1.6", "1.2.2", "2.4.1", "2.6.1", "3.2.3", "3.2.4.1" ], "good": [ "1.1.1", "1.1.2.1", "1.1.2.2", "1.1.2.3", "1.1.4", "1.1.5", "1.1.7", "1.2.1", "1.3.1.1", "1.3.2.1", "1.3.3.1", "1.3.4", "1.4.1.1", "1.4.10", "1.4.11", "1.4.12", "1.4.13", "1.4.14", "1.4.14.1", "1.4.2.1", "1.4.3", "1.4.4.1", "1.4.5", "1.4.6", "1.4.7", "1.4.8", "1.4.9", "1.5.1", "1.6.1", "2.1.1", "2.2.1", "2.2.10", "2.2.2.1", "2.2.3", "2.2.4", "2.2.5", "2.2.6", "2.2.7", "2.2.8.1", "2.2.9", "2.3.1", "2.3.2", "2.3.3", "2.5.1", "3.1.1", "3.1.2", "3.1.3", "3.1.4", "3.2.1.1", "3.2.2.1", "3.2.2.2", "3.3.1.1", "3.3.1.2.1", "3.3.1.2.2", "3.3.1.2.3", "3.3.2.1", "4.1.1", "4.1.2", "4.1.3", "4.2.1", "4.2.2.1", "4.2.2.2", "4.2.2.3", "4.3.1", "4.3.2.1", "4.3.3.1", "4.3.4", "4.3.5", "4.3.6", "4.3.7", "4.3.8", "4.3.9.1", "4.4.1", "4.4.2", "4.4.3", "4.4.4", "4.4.5", "4.4.6", "4.4.7", "4.5.1", "4.5.2", "4.5.3", "5.1.1", "5.1.2", "5.1.3", "5.1.4", "5.2.1", "5.2.2", "5.2.3", "5.2.4", "5.2.5", "5.2.6", "5.2.7", "5.3.1", "5.3.2", "5.3.3" ] }
This will generate
java-report.json
in the java-sdk folder which we can use for other automation.The report looks like this: