[Pulp-dev] File plugin planning: questions

Jeff Ortel jortel at redhat.com
Tue Jan 30 21:21:22 UTC 2018


A few questions about the File plugin raised during planning.  Your 
input is greatly appreciated.


#1
-------------------------------------------------
Should the path component of the URL be used to prefix the paths of the 
files?

For example url: http:/files.org/a/b/c/images/
manifest contains:

d/e/file1.img, <size>, <digest>


Content (unit) created with path *NOT* prefixed using path component of 
the URL.
This is how the File plugin currently works in pulp3:

FileContent:
    path = d/e/file1.img

-or-

Content (unit) created with path *IS* prefixed using path component of 
the URL:

FileContent:
    path = a/b/c/images/d/e/file1.img


#2
-------------------------------------------------
Does the File Importer need to support both /Mirror/ and /Additive/ 
synchronization policies?  Currently, only supports /Mirror/.


#3
-------------------------------------------------

When 2+ content (units) in the repository have the same path but 
_different_ digests - what should the publisher do?  Publish the newest?



Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-dev/attachments/20180130/fc268b32/attachment.htm>


More information about the Pulp-dev mailing list