<div dir="ltr"><div>I am not very familiar with Debian/Ubuntu packages but I can speak for RPMs. When you list or read a single RPM package[0], you can look at the 'release' field to determine which distribution it was built for. The release is usually an integer followed by the platform. e.g. "1.el7" or "3.f24". <br></div><div><br></div><div>[0] <a href="https://pulp-rpm.readthedocs.io/en/latest/restapi.html#operation/content_rpm_packages_read">https://pulp-rpm.readthedocs.io/en/latest/restapi.html#operation/content_rpm_packages_read</a></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 19, 2020 at 4:07 AM Christoph Höger <<a href="mailto:christoph.hoeger@celeraone.com">christoph.hoeger@celeraone.com</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 dir="ltr"><div><div>Dear all,<br><br></div>I just finished setting up a prototype apt repository using pulp_deb on pulpcore 3.3. Now If I understand the workflow documentation correctly, to publish a package one has to do these steps:<br><br></div><div>1. Upload content</div><div>2. Create a new repository version (can be done automatically on upload)<br></div><div>3. Create a new publication</div><div>4. Update the distribution to the new publication <br></div><div>5. Delete the old publication (here I am not sure if and when this makes sense)<br><br></div><div>While this is somewhat involved, I guess it will work just fine for a single repository. But we support at least two different versions of Ubuntu (and similarly Redhat) so I wonder how I would disambiguate these different platforms.</div><div><br></div><div>In particular, when uploading a package the build job knows it is package foo, version x.y for platform Z. Package name and version are obviously encoded in the package itself, but I see no way to disambiguate the same package for Ubuntu 18.04 and 20.04, like a subfolder or some kind of tag. <br></div><div><div><div><br></div><div>Is there a typical way to disambiguate these packages by the platforms they were built for?<br><br></div><div>Thanks,</div><div><br></div><div>Christoph <br></div><div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr">Christoph Höger<br><div><br>CeleraOne GmbH<br>Usedomer Straße 4<br>13355 Berlin</div><div><br><a href="mailto:moritz.hilger@celeraone.com" target="_blank">Email: christoph.hoeger@celeraone.com</a><br>Web: <a href="http://www.celeraone.com" target="_blank">www.celeraone.com</a><br><br>Sitz der Gesellschaft: Berlin<br>AG Berlin-Charlottenburg HRB 142747<br>Geschäftsführer: Moritz Hilger, York Walterscheid</div></div></div></div></div></div></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>