Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only first --target option is included in kantra analyze command #729

Closed
djzager opened this issue Dec 5, 2023 · 1 comment
Closed

Only first --target option is included in kantra analyze command #729

djzager opened this issue Dec 5, 2023 · 1 comment

Comments

@djzager
Copy link
Contributor

djzager commented Dec 5, 2023

When selecting multiple targets, only the first one is added to the analyze command.

Recreation steps:

  1. Activate the extension
  2. Open the MTA: Explorer
  3. Create a new configuration
  4. Select multiple targets (ie. cloud-readiness and jakarta-ee)
  5. Run the configuration

Expected results:
Both targets included

Actual results:

time="2023-12-05T13:41:59-05:00" level=info msg="running source code analysis" args="--provider-settings=/opt/input/config/settings.json --rules=/opt/rulesets/ --output-file=/opt/output/output.yaml --context-lines=100 --dep-label-selector=(!konveyor.io/dep-source=open-source) --verbose=4 --label-selector=((konveyor.io/target=cloud-readiness) && konveyor.io/source) || (discovery)" input=/Users/dzager/Workspace/kyma_poc/data/coolstuff-javaee log=/Users/dzager/.windup/tooling/vscode/xjmsw61l5-nos88yyps/analysis.log output=/Users/dzager/.windup/tooling/vscode/xjmsw61l5-nos88yyps volumes="{\"/Users/dzager/.windup/tooling/vscode/xjmsw61l5-nos88yyps\":\"/opt/output\",\"/Users/dzager/Workspace/kyma_poc/data/coolstuff-javaee\":\"/opt/input/source\",\"/var/folders/rm/h4pf5h4j1z39vkywmhyfcgrh0000gn/T/analyze-config-196555721\":\"/opt/input/config\"}"
@djzager
Copy link
Contributor Author

djzager commented Dec 6, 2023

Closed by #730

@djzager djzager closed this as completed Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant