<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 26, 2017 at 2:54 PM, Niels Thykier <span dir="ltr"><<a href="mailto:niels@thykier.net" target="_blank">niels@thykier.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Michael Stapelberg:<br>
<span class="">> Thanks for the additional details.<br>
><br>
> Find attached a patch which splits the functionality into the new<br>
> dh_missing helper.<br>
><br>
<br>
</span>Thanks, :)<br>
<span class=""><br>
> Aside from the fact that documentation is still missing, what are your<br>
> thoughts on that patch? Once documentation is added, could we merge it,<br>
> then change dh_installman and dh_installdocs?<br>
><br>
> Thanks!<br>
><br>
</span>> [...]<br>
<br>
Remarks:<br>
<br>
 * For backwards compatibility, dh_install still has to do what it is<br>
   currently doing in compat 10 (or earlier).  Possibly by calling<br>
   dh_missing; possibly by keeping the existing code for now and only<br>
   using it in compat 10 or earlier.  Whichever works.<br>
   - reason: Otherwise we break people's expectations when they have<br>
     called dh_install --(list|fail)-missing.<br></blockquote><div><br></div><div>Done.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
 * log_installed_files - what is the rationale behind doing a file<br>
   per helper?  It is fine if there is one, but if not, I would prefer<br>
   to keep things simple and just have one file.<br>
   - bonus side effect: Multiple calls inside the same helper would<br>
     become additive, which is probably better suited for how most<br>
     helpers work right now.<br></blockquote><div><br></div><div>The rationale was to make debugging easier, and encourage future parallelization of individual helpers (not sure if that’s planned at all). I don’t have strong feelings about this, so let me know if it should be changed (or go ahead and change it).</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
 * Open question: Should we run dh_missing by default in "complain"<br>
   mode and then migrate to "fail mode" by default in a later compat<br>
   level<br></blockquote><div><br></div><div>I think running it in complain mode once the remaining helpers were updated makes sense. Before that, the false positives might annoy people more than doing any good.</div><div><br></div><div>Migrating to fail mode is a separate beast altogether. We should gather some data on how many packages would need to be updated due to such a change before seriously considering it, I think.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Beyond that, I am happy to merge it as a WIP thing.<br></blockquote><div><br></div><div>Great. Find attached an updated patch including documentation.</div><div><br></div><div>Is there any large-scale testing that debhelper has, to confirm that my change doesn’t break things so far?</div></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Best regards,<br>Michael</div>
</div></div>