Project

Profile

Help

Task #2398

Updated by amacdona@redhat.com over 7 years ago

Task name in Pulp 2: `pulp.server.managers.repo.publish.publish`. 
 Task implementation in Pulp 2: https://github.com/pulp/pulp/blob/3.0-dev/server/pulp/server/controllers/repository.py#L1039 

 1. Query for the instance of the Publisher's Master model that needs to publish. 
 2. Cast that Publisher master instance to a detail instance 
 3. Set the working_dir attribute on the detail instance with the working_dir context manager. 
 4. Call publish (it should take no arguments) 

 The comments in platform/pulp/plugin/models/publisher.py need to be revised.

Back