<div dir="ltr">Some content types require publications and others don't. It all depends on the requirements of the client that consumes content. For example, yum/dnf expects to find metadata about all the packages in the repository. Since a RepositoryVersion only contains the packages, you must create a Publication to generate the metadata. On the other hand 'podman' and 'docker' interact with a REST API that serves content without any special metadata. So Container repositories and repository versions can be directly associated with ContainerDistributions. <br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 17, 2020 at 9:59 AM Bin Li (BLOOMBERG/ 120 PARK) <<a href="mailto:bli111@bloomberg.net" target="_blank">bli111@bloomberg.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="white-space:pre-wrap;font-size:small;font-family:"Courier New",Courier,"BB.FixedWidth"">I was under impression that the publication has to be created before creating a distribution. It looks like now I can create a distribution by specify a repository or repository version. Is the publication created automatically in this case? If not, in what scenario we need a create a publication before create a distribution?<div><br></div><div>Thanks</div></div></div>_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div></div>