<p style="white-space: pre-wrap; word-wrap: break-word;">After a longer chat discussion:</p><ul><li>I looked into getopt/getopts parsing, and whether it would be really worth the overhead. Neels and I both argued that it's unlikely that other commandline options will appear in the future, so we were against any argument parsing method. Holger said: "fair enough. I just wanted to point out that the approach is fragile and not scalable. We can re-evaluate the next time somebody is adding an option to the scripts."</li><li>Regarding set -u ("$publish" = "--publish" vs. "y$publish" = "y--publish"), since we don't use either set +u or #!/bin/sh -u in this script, this would not make any difference.</li><li>Neels suggested to explain all incoming parameters (environment and the only commandline parameter, --publish) on top of each of the jenkins.sh scripts I'm modifying. I'm working on that now.</li></ul><p style="white-space: pre-wrap; word-wrap: break-word;">Thanks everybody for reviewing, highly appreciated!</p><p><a href="https://gerrit.osmocom.org/12046">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/12046">change 12046</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/12046"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Id460a932431b46b88937d96637edd209ca56db97 </div>
<div style="display:none"> Gerrit-Change-Number: 12046 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Holger Freyther <holger@freyther.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 03 Dec 2018 13:38:22 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>