<div dir="ltr"><div>Matthias,</div><div><br></div>Thanks for asking. That feature was removed as we converted our data layer to use the "mongoengine" library. The linking feature was theoretically used by the pulp_rpm plugin to link errata with RPMs, but the links themselves were never actually used by any feature or behavior. So in the process of reviewing and converting the data model, we decided to leave that out.<div><br></div><div>For the documentation, it sounds like we should just remove references to that behavior. I created this bug report to track it, and anyone is welcome to make a pull request with the changes: <a href="https://pulp.plan.io/issues/2877">https://pulp.plan.io/issues/2877</a></div><div><br></div><div>What use case do you have in mind? Are you working on a plugin? Depending on what you are hoping to accomplish and when, it might make more sense to think about plugin development on Pulp 3. We would be very happy to hear about your plans and discuss options.</div><div><br></div><div>Michael</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 29, 2017 at 9:59 AM, Matthias Dellweg <span dir="ltr"><<a href="mailto:dellweg@atix.de" target="_blank">dellweg@atix.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In the developer guide, i have found the reference, that a given unit type can reference other units (referenced_types in 'Type Definitions' -> 'Attributes').<br>
I also read, that in the importer you can call 'link_unit' to 'establish any relationships between units' (in 'Importers' -> 'Functionality' -> 'Synchronize an External Respository').<br>
Sadly, that is all i could find on the topic.<br>
<br>
As far as i understand, it is up to you, what the relationship means, which is good for my problem (bundling packages into categories).<br>
But a few questions come to my mind:<br>
<br>
Is it a one-to-many relationship?<br>
Do you need to specify the referenced_types on the 'one' side, on the 'many' side or on both unit_types? ... or are these completely independent features?<br>
How do you recover the related/linked units (e.g. in the publisher)?<br>
Is the lack of documentation an indicator that this not a stable feature?<br>
<br>
If i knew more, i would be happy to work on the documentation, too.<br>
<br>
Thanks in advance,<br>
  Matthias<br>
<br>
______________________________<wbr>_________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/pulp-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p style="color:rgb(0,0,0);font-family:overpass-mono,monospace;font-size:10px;margin:0px!important;padding:0px!important"><span style="margin:0px!important;padding:0px!important">Michael</span> <span style="margin:0px!important;padding:0px!important">Hrivnak</span></p><p style="color:rgb(0,0,0);font-family:overpass-mono,monospace;font-size:10px;margin:0px!important;padding:0px!important"></p><span style="color:rgb(0,0,0);font-family:overpass-mono,monospace;font-size:10px;margin:0px!important;padding:0px!important"><span style="margin:0px!important;padding:0px!important">Principal Software Engineer</span><span style="margin:0px!important;padding:0px!important">, <span style="margin:0px!important;padding:0px!important">RHCE</span></span> </span><span style="color:rgb(0,0,0);font-family:overpass-mono,monospace;font-size:10px"></span><br style="color:rgb(0,0,0);font-family:overpass-mono,monospace;font-size:10px;margin:0px!important;padding:0px!important"><p style="color:rgb(0,0,0);font-family:overpass-mono,monospace;font-size:10px;margin:0px!important;padding:0px!important">Red Hat</p></div></div>
</div>