konveyor / kantra

A CLI that unifies analysis and transformation capabilities of Konveyor
Apache License 2.0
9 stars 27 forks source link

[BUG] Containerless-Kantra [Windows -Only] : built-in provider grep is not supported #365

Open kthatipally opened 3 weeks ago

kthatipally commented 3 weeks ago

Is there an existing issue for this?

Konveyor version

https://github.com/konveyor/kantra/releases/tag/v0.6.0-alpha.2

Priority

Undefined (Default)

Current Behavior

I have run the analysis using the command:

.\windows-kantra.exe analyze-bin --input C:\testing\spring-petclinic\ --output .\output-spc --target cloud-readiness --overwrite

I see the analysis log: level=error msg="failed to evaluate rule" error="could not run grep with provided pattern exec: \"grep\": executable file not found in %PATH%" ruleID=discover-license

Expected Behavior

The built-in provider is functioning correctly and is able to locate incidents.

How Reproducible

Always (Default)

Steps To Reproduce

  1. OS: Windows
  2. Run Command: .\windows-kantra.exe analyze-bin --input C:\testing\spring-petclinic\ --output .\output-spc --target cloud-readiness --overwrite
  3. Run via windows-powershell

Environment

Anything else?

No response

konveyor-ci-bot[bot] commented 3 weeks ago

This issue is currently awaiting triage. If contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance. The triage/accepted label can be added by org members.

eemcmullan commented 3 weeks ago

Relies on https://github.com/konveyor/analyzer-lsp/pull/690