Project

Profile

Help

Task #3294

closed

Pulp - Story #3209: As a user, I have Repository Versions

Update Python plugin to sync with versioned repositories

Added by amacdona@redhat.com about 6 years ago. Updated about 3 years ago.

Status:
MODIFIED
Priority:
Normal
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
3.0.0
Target Release - Python:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 32
Quarter:

Description

This task is to:

  1. Create a celery task called `sync` in pulp_python.app.tasks.py
  2. define a POST detail route called sync on PythonImporterViewset that deploys the celery task with reservation for the repository. This viewset should accept `repository` as a POST body parameter.

The logic defined in the task should be taken from models.PythonImporter.sync. Validation and setting the working directory that used to live in pulpcore.tasks.importer.sync should also be added to this task.

See https://pulp.plan.io/issues/3260 as an example


Related issues

Blocked by Pulp - Refactor #3074: Move sync logic from models to tasksCLOSED - CURRENTRELEASEamacdona@redhat.com

Actions
Blocks Python Support - Story #2885: As a User I can Publish Python packages in a way that is consumable by pipMODIFIEDdalley

Actions

Also available in: Atom PDF