<div dir="ltr">I’ve been working on and discussing an issue with @asmacdo about filtering by id [0] and it’s brought up some questions about how repos, importers, etc should be identified in Pulp 3. I think currently we uniquely identify object’s by their href field since names are mutable. The main questions are: how should things like Katello store ids for objects like repos? Moreover, what identifier would a user use to look up an object in the CLI—would they pass the object’s href?<div><div><br></div><div>I imagine right now that Katello would store an object’s href since we don’t expose object’s ids. But what if the hostname changes or Pulp switches from http to https. Then the object's identifier would change.</div><div><br></div><div>Similarly, as a CLI user, what could I use to uniquely identify say a repo? Supplying the object’s href seems a bit strange I guess since you wouldn’t expect hyperlinks in a command line interface. Would CLI users deal with names? Those can change though which would be bad for setting up things like cron jobs using the CLI.</div><div><br></div><div>Any thoughts?</div><div><div><br></div><div>[0] <a href="https://pulp.plan.io/issues/3240">https://pulp.plan.io/issues/3240</a><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div><div>David<br></div></div></div></div></div></div></div></div>
</div></div></div></div>