[Pulp-list] Generic Files and PULP_MANIFEST Syncing

Eric Helms ehelms at redhat.com
Thu Jul 28 13:03:22 UTC 2016


We (Katello) have been working to expose the "iso" type to users as a
"file" type repository for exposing generic content support. In this way,
users can use Katello as a single gateway for any content and Pulp to store
and manage the underlying content for them. I've created a feature request
[1] to make this a first-class plugin in Pulp.

On to my questions. As I understand it, users can either upload content
directly or sync a "file" location in the same way that say an RPM
repository is synced. The difference being that Pulp requires a
PULP_MANIFEST file that indicates:

 * filename
 * filesize
 * checksum

And while we can provide a script to generate this recursively for users
[2], this requires them to have access to the content to place the
PULP_MANIFEST file or to mirror the content locally, generate the manifest
file and then sync. However, the latter seems both redundant and the intent
of Pulp (to mirror content for me!). Now for my questions:

1) Is there a work around or way to configure Pulp to not require the
manifest file and simply slurp up whatever it finds?
2) Is there a strategy we could implement to do #1 if it does not already
exist? Something that perhaps scans the structure, builds some base level
knowledge of what is present and allows Pulp to sync it?

I think this would also play into the situation where I want to slurp up
larger files without having to upload (as I feel Pulp syncing them is more
robust than me uploading, this could however be a misconception on my
part). I'm thinking of the situation where I want to use Pulp or Katello as
a repository for my internal Vagrant boxes for example.


Thanks,
Eric

[1] https://pulp.plan.io/issues/2110
[2] https://gist.github.com/ehelms/3fd956ee887db3d7bac20b29efa3dd51
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20160728/2b361bf1/attachment.htm>


More information about the Pulp-list mailing list