Skip to content

Validator for .gitattributes #48

@michaelblyons

Description

@michaelblyons

There's a check box in the template for new package PRs for using .gitattributes' export-ignore flag to exclude distribution of extraneous files. Some checks could be performed by PC Bot to flag some types of extra files. Which files exactly should be discouraged should be discussed before making a validator (although additional rules or exceptions could be added later).

Some things to consider:

  • Are syntax tests worth distributing?
  • Are Python unit tests identifiable, and if so, worth distributing?
  • Images are probably needed by some packages, especially themes. But others maybe not?
  • Does anyone need to ship videos?
  • Is it helpful to ship the ReadMe?
    • What if it has the license in it?
  • Can we safely assume that workflow stuff is unnecessary? /.github/ etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions