Project

Profile

Help

Task #2456

closed

Add working directory management to sync/publish task plumbing.

Added by jortel@redhat.com over 7 years ago. Updated about 5 years ago.

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

0%

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

Description

Add working directory management to sync/publish task plumbing. The plugin API needs to be updated to add a working_dir attribute on Importer and Publisher. When doing a sync/pub the platform needs to create before and clean up after a temporary working directory to be used by the plugin. The Importer.working_dir needs to be updated. Further, we should set the current working directory for the process to the working_dir before and restore it to what it was before afterwards.


Related issues

Related to Pulp - Task #2399: Convert celery task repo.sync to Pulp 3CLOSED - CURRENTRELEASEamacdona@redhat.com

Actions

Also available in: Atom PDF