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 request] Please introduce a default location for debcvescan.whitelist and/or a --config-dir[ectory] option #7

Open
m-ueberall opened this issue Aug 21, 2021 · 0 comments

Comments

@m-ueberall
Copy link

The new whitelisting feature introduced in v0.1.19/0.1.20 currently expects a list of whitelisted entries to reside in the current working directory:

file, err := os.Open("./debcvescan.whitelist")

It would be helpful if another location of said whitelist could be specified by the user using a --config-dir[ectory] option, e.g. defaulting to ~/.debcvescan/ or ~/.config/debcvescan/. (In case a ./debcvescan.whitelist file exists, this could/should take precedence for backwards compatibility.)

@m-ueberall m-ueberall changed the title [feature request] Please introduce a default location for debcvescan.whitelist and/or introduce a --config-dir[ectory] option [feature request] Please introduce a default location for debcvescan.whitelist and/or a --config-dir[ectory] option Aug 21, 2021
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