Project

Profile

Help

Refactor #2950

Updated by bmbouter over 7 years ago

Django can use a variety of storage backends. By default it comes with a filesystem storage backend. Pulp 3.0 should switch to using the default storage backend. This ticket would remove the "custom backend":https://github.com/pulp/pulp/blob/884ae9d7cd20ab612e3a635302c9bd963e07fb47/platform/pulpcore/app/models/storage.py#L103-L365 we currently have. 

  

 The only difference I noticed between the default storage backend and the custom one we are suing currently is that the    serialized Artifact's file field is serialized as <hostname>/var/lib/pulp/artifact/ba/asldkfkl instead of file:///var/lib/pulp/ba/askldsj. There are two options for resolving this problem:  

 1) don't return the file field at all since a user will likely not need this information.  
 2) override the file field serializer to fix the behavior

Back