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

[Feature] Expose --context-lines option and make it configurable #183

Closed
kthatipally opened this issue Mar 26, 2024 · 2 comments · Fixed by #201
Closed

[Feature] Expose --context-lines option and make it configurable #183

kthatipally opened this issue Mar 26, 2024 · 2 comments · Fixed by #201
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/low triage/accepted Indicates an issue or PR is ready to be actively worked on.
Milestone

Comments

@kthatipally
Copy link
Contributor

Requesting an enhancement to Kantra that involves exposing and allowing configurability of the --contextline option, which is currently fixed at a default value of 100. (

fmt.Sprintf("--context-lines=%d", 100),
)

By introducing a configurable option, users will be empowered to adjust the contextline value, thereby adding functionalities such as the exclusion of code snippets from reports by setting the value to 0, similar to Windup's --skipSourceCodeReports. This feature not only enhances customization but also serves as a privacy measure for users who prefer not to display any code snippets in the report.

@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 the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Mar 26, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Planning Mar 26, 2024
@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 Mar 26, 2024
@kthatipally kthatipally changed the title [Feature] Expose --contextline option and make it configurable [Feature] Expose --context-lines option and make it configurable Mar 27, 2024
@pranavgaikwad
Copy link
Contributor

/triage accepted
/priority imoprtant-soon
/kind feature

@konveyor-ci-bot konveyor-ci-bot bot added kind/feature Categorizes issue or PR as related to a new feature. triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-kind Indicates an issue or PR lacks a `kind/foo` label and requires one. labels Mar 29, 2024
@pranavgaikwad pranavgaikwad moved this from 🆕 New to 📋 Backlog in Planning Mar 29, 2024
@pranavgaikwad pranavgaikwad added this to the v0.4.0 milestone Mar 29, 2024
@pranavgaikwad pranavgaikwad added priority/low and removed needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. labels Mar 29, 2024
@pranavgaikwad pranavgaikwad self-assigned this Apr 9, 2024
@pranavgaikwad pranavgaikwad moved this from 📋 Backlog to 🔖 Ready in Planning Apr 24, 2024
@github-project-automation github-project-automation bot moved this from 🔖 Ready to ✅ Done in Planning Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/low triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants