Project

Profile

Help

Task #6371

closed

Add plugin writer docs for setting up a Repository

Added by daviddavis almost 4 years ago. Updated about 2 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulpcore/1874":https://github.com/pulp/pulpcore/issues/1874


The Plugin Walkthrough[0] 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.

CONTENT_TYPES

  • Plugin writers need to set CONTENT_TYPES with the content types that the Repository can contain.

finalize_new_version()

  • 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())

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

Actions #1

Updated by daviddavis almost 4 years ago

  • Tags Documentation added
Actions #2

Updated by bmbouter almost 4 years ago

Is there a way to link to the area of the docs these would be added to? Sometimes picking that can be confusing. Other than that detail this looks great.

Actions #3

Updated by daviddavis almost 4 years ago

  • Description updated (diff)
Actions #4

Updated by bmbouter almost 4 years ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes

Thank you for writing this up; it looks good.

Actions #5

Updated by daviddavis almost 4 years ago

  • Subject changed from Add docs for finalizing a repo version to Add plugin writer docs for setting up a Repository
  • Description updated (diff)
Actions #6

Updated by ipanova@redhat.com almost 4 years ago

  • Tags Backlog added
  • Tags deleted (Documentation)
Actions #7

Updated by ipanova@redhat.com almost 4 years ago

  • Sprint Candidate changed from Yes to No
Actions #8

Updated by fao89 almost 4 years ago

  • Tracker changed from Issue to Task
  • % Done set to 0
Actions #9

Updated by ipanova@redhat.com almost 4 years ago

  • Tags deleted (Backlog)
Actions #10

Updated by daviddavis over 3 years ago

  • Tags Documentation added
Actions #11

Updated by pulpbot about 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF