Project

Profile

Help

Task #6965

Updated by dkliban@redhat.com almost 4 years ago

The plugin writer docs need to be updated to explain how custom downloaders should be implemented. The documenation should be based on the information provided in comment 2 of this issue. 


 **Original Description** 

 Multiple plugins now override Remote.get_downloader() method in order to add the 'remote' to the kwargs[0]. 

 The pulpcore implementation of Remote.get_downloader() should pass the 'remote' as a kwarg to the Factory.build() method[1].  

 [0] https://github.com/pulp/pulp_container/blob/master/pulp_container/app/models.py#L251 
 [1] https://github.com/pulp/pulpcore/blob/master/pulpcore/download/factory.py#L108

Back