<div dir="ltr"><div><b>Background:</b></div><div><br></div><div>"Notes" are a generic key value store where data can be attached to repositories and content and publications and so forth.  The eventual plan is to use this to enable adding tags to those sorts of objects, which is important for Katello.</div><div><br></div><div>Most of the code for this is located in pulp/app/models/generic.py<br></div><div><br></div><div><b>Motivation:</b></div><div><br></div><div>"Notes" have been in Pulp 3 for a very very long time and are completely unchanged for the last 12 months (the git history doesn't go back further because the file was moved).  The data model behind it is extremely complex and while we have a few unit tests around it, we have no functional tests for it whatsoever, and (to my knowledge) we haven't been using/exercising this functionality manually in a meaningful way (if at all).  I could be wrong here, but I haven't seen it discussed  or any issues related to it filed in quite some time.<br></div><b></b><br><div><b>Proposal:</b><br></div><div><br></div><div>We should pull out all of the "notes" code (models/generic.py + the fields on the aforementioned models) until we've had a chance to properly evaluate our needs and whether the current design fits them.</div></div>