Description
Problem
Currently it's discouraged to add PDF files to packages that can be reproduced by compiling an example file.
To easily fix this once and forever, the main .gitignore
file could forbid PDF files. However, this does not seem to be desired even if the rare amount of required PDF files could be forcibly added with git add --force wanted.pdf
.
Another approach at the package level would be to add a .gitignore
file to the package sub-directory but this results in a failing pipeline:
Error: packages/preview/iconic-salmon-svg/.gitignore: a package directory may only contain version sub-directories, not files.
Thus a .gitignore
needs to be placed into every version sub-directory and at the moment this repository already contains 154 .gitignore
files.
find packages/ -name .gitignore | wc -l
154
Current state
The current state is that you would need to have a single .gitignore
file in every version sub-directory which is cumbersome and prone to errors. And somehow useless, because you no longer touch the version directory after the merge to the main branch.