<p style="white-space: pre-wrap; word-wrap: break-word;">@pespin, you keep saying that separating is easy, and I keep trying to explain how it isn't: this patch has tight interdependence between the new items. You are welcome to try to separate. I have spent hours and days separating patches already, which did make sense in many places. I understand the point very much. But it is still necessary to review the combined result, and it makes little sense to spend more time on creating intermediate versions of osmo-hlr that will never be used. I know the review is harder than it should be, but separating would probably take longer than reviewing as-is. does that make sense?</p><p><a href="https://gerrit.osmocom.org/c/osmo-hlr/+/16205">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-hlr/+/16205/23/include/osmocom/gsupclient/ipa_name.h">File include/osmocom/gsupclient/ipa_name.h:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-hlr/+/16205/23/include/osmocom/gsupclient/ipa_name.h@29">Patch Set #23, Line 29:</a> <code style="font-family:monospace,monospace">struct osmo_ipa_name {</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">I'm not really liking this kind of adhoc structures to keep a string specially since they are presen […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">the IPA name is a problem child, it is not entirely clear whether it is a string or arbitrary bytes with a length.<br>The discussion was that this should also support global titles (that could contain zero bytes),<br>and I assumed that we need to make all code paths treat it as binary data.<br>However, many code paths expect it to be nul terminated, especially the hlr.db stores as VARCHAR.<br>And then in code review quite recently, the request was to add a union that allows adding a global title separately, which I did (in the next patch "2/2" after this one).</p><p style="white-space: pre-wrap; word-wrap: break-word;">In retrospect it might make sense to snap ipa_name back to a plain char[] that is always nul terminated?<br>Drop the separate len indicator? I think we should resolve this question before merging, feels like it indeed doesn't make sense like this.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-hlr/+/16205">change 16205</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-hlr/+/16205"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-hlr </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I3a8dff3d4a1cbe10d6ab08257a0138d6b2a082d9 </div>
<div style="display:none"> Gerrit-Change-Number: 16205 </div>
<div style="display:none"> Gerrit-PatchSet: 23 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 09 Jan 2020 14:23:52 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>