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

Feat: add a warning when an imported file is not accessed during container builds #542

Open
mikemccracken opened this issue Nov 9, 2023 · 0 comments

Comments

@mikemccracken
Copy link
Contributor

Is your feature request related to a problem? Please describe.

if imports are not used, they should be removed from the stacker file

it'd be nice if stacker warned you that an import was unused

Describe the solution you'd like

It's Hard to look at a script statically and determine that it won't use a given path, but stacker could watch the file during the script run and inform you afterward if it was accessed, using inotify watches

Describe alternatives you've considered

No response

Additional context

No response

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