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

Include sha of rulesets in version command #228

Open
dymurray opened this issue May 8, 2024 · 2 comments
Open

Include sha of rulesets in version command #228

dymurray opened this issue May 8, 2024 · 2 comments
Labels
needs-kind Indicates an issue or PR lacks a `kind/foo` label and requires one. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@dymurray
Copy link
Contributor

dymurray commented May 8, 2024

It would be useful to be able to track what rulesets are being executed within Kantra especially when handling bug reports. We should include a hash of the rulesets included in the version command.

@konveyor-ci-bot konveyor-ci-bot bot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label May 8, 2024
@konveyor-ci-bot
Copy link

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.

@konveyor-ci-bot konveyor-ci-bot bot added needs-kind Indicates an issue or PR lacks a `kind/foo` label and requires one. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. labels May 8, 2024
@ascheman
Copy link
Contributor

ascheman commented May 8, 2024

Looks like analyzer-lsp leaves a trace of the rules in analysis.log, e.g.,

time="2024-05-08T10:25:46Z" level=unknown msg="taking rule" rule=local-storage-00001 ruleset=cloud-readiness worker=7
time="2024-05-08T10:25:46Z" level=unknown msg="finished rule" error=null found=27 rule=local-storage-00001 worker=7
time="2024-05-08T10:25:46Z" level=info msg="rule returned" rule=local-storage-00001

Wrt. konveyor/rulesets#73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-kind Indicates an issue or PR lacks a `kind/foo` label and requires one. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants