<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 3:</p><p style="white-space: pre-wrap; word-wrap: break-word;">(2 comments)</p><p style="white-space: pre-wrap; word-wrap: break-word;">ok, but why? any functional reason?</p><p style="white-space: pre-wrap; word-wrap: break-word;">in osmo-bsc, i recently moved osmo_bsc_vty.c into bsc_vty.c to have less file splits and find DEFUNs easier. same as i still do with my two bicycle bags: i always looked in the first, didn't find it, then looked in the other, still didn't find it, to finally do find it in the first...</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">Because it becomes really cumbersome to find or maintain bsc_vty.c, having it more than 7K lines before the split. I usually find myself losing time finding where to put new stuff in, or finding in which node one comamnd is, etc.</p><p style="white-space: pre-wrap; word-wrap: break-word;">The main difference in joining osmo_bsc_vty.c into bsc_vty.c and splitting into bts_{trx_}_vty.c is that in the former there was no clear separation/distinction between those, so having them separated only added confusion. In this new split, stuff it separated based on node hierarchy. Furthermore, we already have a bts.c and bts_trx.c files. Also so simply grepping in the directory and finding something in bts_trx_vty.c already tells you the vty cmd is in TRX or TS node, and lookinng it up there is easy.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24980">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/24980">change 24980</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-bsc/+/24980"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I15ec8f71a5d31915162cb3ad75ea77e934fa4887 </div>
<div style="display:none"> Gerrit-Change-Number: 24980 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Hoernchen <ewild@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: daniel <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 23 Jul 2021 11:29:44 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>