Add plugin writer docs for setting up a Repository
The Plugin Walkthrough has information about about how to set up different classes that the plugin writer needs to define like Remotes, Content, etc. It doesn't mention Repositories though. Below are some suggestions about what this section should contain.
- Plugin writers need to set CONTENT_TYPES with the content types that the Repository can contain.
- Plugin writers can override finalize_new_version() on Repository to validate/munge content
- They can call remove_duplicates() to remove duplicates based on repo_key_fields
- There are validation methods in repo_version_utils they can use too (eg validate_repo_version())
Please register to edit this issue