Description
What is your suggestion?
As recommended, we store our Conan config in a distinct Git repository. Since we use many automation tools, we end up with numerous config files and other dotfiles in the repository unrelated to Conan. This repo also serves as a template for other project maintainers, who might add more non-Conan related files. .conanignore
files are helpful for filtering files to be installed. However, they would be more useful if they supported inverse matching, just like .gitignore
or .dockerignore
do. This is especially true for the latter, where it's common practice to ignore all files and only explicitly add those required, e.g.:
*
!profiles/
!global.conf
!remotes.json
I believe this would make maintaining such a config repository much easier. If third-party libraries are an option, there are gitignore-compatible parsers already available for Python.
Have you read the CONTRIBUTING guide?
- I've read the CONTRIBUTING guide