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.
There's a check box in the template for new package PRs for using
.gitattributes'export-ignoreflag 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:
/.github/etc.