[debhelper-devel] Bug#415396: Bug#415396: "dh_install --list-missing" should ignore manpages and other installed files

Niels Thykier niels at thykier.net
Sun Mar 26 12:54:00 UTC 2017


Michael Stapelberg:
> Thanks for the additional details.
> 
> Find attached a patch which splits the functionality into the new
> dh_missing helper.
> 

Thanks, :)

> Aside from the fact that documentation is still missing, what are your
> thoughts on that patch? Once documentation is added, could we merge it,
> then change dh_installman and dh_installdocs?
> 
> Thanks!
> 
> [...]

Remarks:

 * For backwards compatibility, dh_install still has to do what it is
   currently doing in compat 10 (or earlier).  Possibly by calling
   dh_missing; possibly by keeping the existing code for now and only
   using it in compat 10 or earlier.  Whichever works.
   - reason: Otherwise we break people's expectations when they have
     called dh_install --(list|fail)-missing.

 * log_installed_files - what is the rationale behind doing a file
   per helper?  It is fine if there is one, but if not, I would prefer
   to keep things simple and just have one file.
   - bonus side effect: Multiple calls inside the same helper would
     become additive, which is probably better suited for how most
     helpers work right now.

 * Open question: Should we run dh_missing by default in "complain"
   mode and then migrate to "fail mode" by default in a later compat
   level

Beyond that, I am happy to merge it as a WIP thing.

Thanks,
~Niels




More information about the debhelper-devel mailing list