File types to exclude from packages
For example, .sh shell scripts, Thumbs.db, etc.
(This is for some automated package checking I am working on).
I am using VS Code as an editor so .vscode folders as well
I'd say probably anything that starts with a dot should be removed.
Any thoughts on directory names beginning with _ ? I currently have checks on __MACOSX, but could/should that be more general?
C5 will look for a CHANGELOG file but that's about it.
Then again, this kind of naming convention could be used for CSS or JS files so you never know.
But aren't you planning on making it a setting so edgy inclusion and exclusions could be customized?
Hence this open forum-brainstorming for specific file and directory types and patterns. There could be unwanted files generated by environments or code editors in common use (but I don't use) that could usefully be built into my tools.
The website is:http://www.gitignore.io/
You'll get lots of usable stuff there
I just did a bit of edit-fu on it and there are 3536 different patterns, some of which are spurious, some of which would be caught by rules I already have, and many that I can't see ever needing to be part of a distributed package.
Rather than make sense of the whole lot, I am thinking of a v2 Package Magic (ie. not the current version) that could look at a .gitignore, exclude it, and use the definitions within .gitignore for managing exclusions when building a package archive.