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

Extend vet so that it produces a warning if any .gitignore files are in the srcs input to a package. #140

Open
mads-hartmann opened this issue Dec 2, 2022 · 0 comments

Comments

@mads-hartmann
Copy link
Contributor

Is your feature request related to a problem? Please describe

  1. It's normal to add build artefacts to .gitignore
  2. Leeways' srcs globs makes it easy to include unintended files

Describe the behaviour you'd like

I'd like for vet to provide a warning if any files that are .gitignored are part of the expanded srcs.

Describe alternatives you've considered

Today you can probably manually check for this using a combination of leeway describe, jq and a bit of bash.

Additional context

See gitpod-io/gitpod#14157

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

1 participant