Filters to replace files with placeholders
To reduce project size, filters could be used to replace files matching predefined rules with demo content. When new files are committed to the repository, a set of filters is run on them. If a filter matches, the file is replaced with placeholder content.
- Create a new type of storage, that runs the filters when a new file is added
- If a filter matches, put the demo content in the storage and return its md5 sum to the repository
- Add some kind of hook to make filters available in all kinds of repositories
- Less storage is used
- Commit jobs will be slower