<p>Alexander Traud <strong>posted comments</strong> on this change.</p><p><a href="https://gerrit.asterisk.org/8516">View Change</a></p><p>Patch set 3:</p><p style="white-space: pre-wrap; word-wrap: break-word;">Paul, thank you very much for your contribution mentioning bindep. Last weekend, I had some time to play with it, and it is simply great. Especially because bindep supports profiles. That way, the already existing six profiles default|pjproject|optional|unpackaged|all|test are handled like a breeze. Furthermore, it supports platform versions which comes handy with some package versions like Lua and GMime. Additionally, because every package gets its own line in the source code, 'git blame' works directly. Finally, transforming an existing platform into the format bindep expects, took me just seconds. I really like bindep.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Two drawbacks, no offense, just documenting:<br>1. Python, pip, and/or bindep must be installed.<br>2. From BSD based platforms, bindep supports just Darwin. FreeBSD, OpenBSD, NetBSD, and DragonFly are already in Asterisk but not in bindep, yet.</p><p style="white-space: pre-wrap; word-wrap: break-word;">When it comes to 1: Asking the user to install pip should not be that issue:</p><ul><li>Python is installed on many platforms on default anyway.</li><li>For the profile TEST_FRAMEWORK, all this is required anyway.</li><li>However, installing pip correctly as intended by the underlying platform and/or the Python community is a challenge, see <https://packaging.python.org/tutorials/installing-packages/>. The question is, whether all this should be put in the existing install_prereq script. For example in Ubuntu 18.04 LTS, an easy but not recommended way would be:</li><li>sudo apt install --no-install-recommends python3-pip</li><li>sudo -H pip3 install bindep</li></ul><p style="white-space: pre-wrap; word-wrap: break-word;">When it comes to 2: That could be contributed back to bindep.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I really would like to go for bindep, especially because it looks like to get a de-facto standard. Therefore, Paul, thanks again. I was looking for something like bindep for years. Thanks to you, I have found it finally.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Anyway, somebody has to do/implement all this. I am a bit blocked right now, because I have not seen the approach of George, yet.</p><ul style="list-style: none; padding-left: 20px;"></ul><p>To view, visit <a href="https://gerrit.asterisk.org/8516">change 8516</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.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.asterisk.org/8516"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I16a26b19047a8b3da3947c7953cd104241b7472d </div>
<div style="display:none"> Gerrit-Change-Number: 8516 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-Reviewer: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Paul Belanger <pabelanger@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 02 May 2018 11:15:34 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>