Project

Profile

Help

Task #6371

Updated by daviddavis about 4 years ago

Add These docs to would be for the plugin writer guide's Plugin Walkthrough[0] about on how to set up a Repository to finalize a repo version. 

 Key points: 

 * Plugin writers can override finalize_new_version() on Repository to validate/munge content 
 * They can define repo_key_fields and call remove_duplicates() 
 * There are validation methods in repo_version_utils they can use too (eg validate_repo_version()) 

 [0] https://docs.pulpproject.org/plugins/plugin-writer/plugin-walkthrough.html#define-your-plugin-remote

Back