I have a minimal amount of DAM assets under source control (~30 images). These correspond to some "test" content that is used for the local development loop- basically a handful of pages and components that always deploy out on every compilation.
I am noticing that every image under source control actually gets quite a few renditions. Is it safe to omit these from source control, or are they required for the system to function properly? Will they be regenerated automatically or leave everything in a semi broken state?
For example, let's say I have a file: icon.png. This is resulting in the following source control structure:
- /dam/icon.png/.content.xml
- /dam/icon.png/_jcr_content/renditions/cq5dam.thumbnail.48.48.png
- /dam/icon.png/_jcr_content/renditions/cq5dam.thumbnail.48.48.png/.content.xml
- /dam/icon.png/_jcr_content/renditions/cq5dam.thumbnail.140.140.png
- /dam/icon.png/_jcr_content/renditions/cq5dam.thumbnail.140.140.png/.content.xml
- /dam/icon.png/_jcr_content/renditions/cq5dam.thumbnail.319.319.png
- /dam/icon.png/_jcr_content/renditions/cq5dam.thumbnail.319.319.png/.content.xml
- /dam/icon.png/_jcr_content/renditions/cq5dam.web.1280.1280.png
- /dam/icon.png/_jcr_content/renditions/cq5dam.web.1280.1280.png/.content.xml
- /dam/icon.png/_jcr_content/renditions/original.dir
- /dam/icon.png/_jcr_content/renditions/original
I am wondering if it's ok to update my filterxml to simply skip source controlling anything with "cq5dam" in the path.