Skip to content

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

Open
@mads-hartmann

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions