Description of problem:
If the user tries to perform an analysis on a .NET application without providing the "provider" argument, the analysis won't start.
Version-Release number of selected component (if applicable): 7.1.0-9
How reproducible: Always
Steps to Reproduce:
1. Run the following command:
/mta-cli analyze --input ~/apps/dotnet-HelloWorld/ --output ~/Desktop/report-hello --overwrite --rules ~/apps/dotnet-david-rules/
Actual results:
INFO[0000] running windup shim args="convert --outputdir=/opt/shimoutput /opt/xmlrules" output=/home/abrugaro/Desktop/report-hello volumes="{\"/home/abrugaro/apps/dotnet-david-rules/\":\"/opt/xmlrules/dotnet-david-rules\",\"/tmp/transform-output-997458456\":\"/opt/shimoutput\"}" INFO[0000] generating shim log in file file=/home/abrugaro/Desktop/report-hello/shim.log /usr/bin/podman run --rm --name hpywbzjrcGEbAlzu --entrypoint /usr/local/bin/windup-shim -v /tmp/transform-output-997458456:/opt/shimoutput:z -v /home/abrugaro/apps/dotnet-david-rules:/opt/xmlrules/dotnet-david-rules:z registry.redhat.io/mta/mta-cli-rhel9:7.1.0 convert --outputdir=/opt/shimoutput /opt/xmlrulesError: provider c# not supported. Use --providerOverride or --provider option
Expected results:
MTA should detect if the application provided is a .NET application and select the dotnet provider.
Additional info: