XPost: linux.debian.bugs.dist   
   From: manphiz@gmail.com   
      
   Hi David,   
      
   David Bremner writes:   
      
   > Xiyue Deng writes:   
   >>   
   >> It would be good that dh-elpa can also check that all intended files are   
   >> included in the `elpa' file of all binary packages. Ideally it should   
   >> handle glob, skip hidden files like `.dir-locals.el' and test files by   
   >> default, and provide an option (e.g. `--exclude-el') to optionally skip   
   >> more files as needed.   
   >   
   > I didn't investigate much, but this seems like the job dh_missing is   
   > supposed to do. Why doesn't it work for dh_elpa using packages? The   
   > --fail-missing option is default now (compat 13).   
   >   
      
   Thanks for the pointer! I took a look and it looks like that in dh_elpa   
   only source files listed in the debian/*elpa files are actually logged   
   in log_installed_file (see [1][2][3]), so this won't check the actual   
   files in the source directory. In that sense, I guess dh_missing is   
   probably used for verifying that all files listed in   
   debian/*{install,elpa} are included in the .deb package. And I feel   
   like this is probably intended, as it makes sense if files are shipped   
   in multiple packages, but I could be missing something.   
      
   This leaves the question on whether we want to implement this logic   
   separately in dh-elpa, or fix the usage of log_installed_files? For the   
   latter, I also wonder whether dh_missing should be used this way, or IOW   
   whether it is already working as intended.   
      
   [1] https://salsa.debian.org/emacsen-team/dh-elpa/-/blob/master/   
   h_elpa?ref_type=heads#L234   
   [2] https://salsa.debian.org/emacsen-team/dh-elpa/-/blob/master/   
   h_elpa?ref_type=heads#L274   
   [3] https://salsa.debian.org/emacsen-team/dh-elpa/-/blob/master/   
   h_elpa?ref_type=heads#L287   
      
   --    
   Regards,   
   Xiyue Deng   
      
   --=-=-Content-Type: application/pgp-signature; name="signature.asc"   
      
   -----BEGIN PGP SIGNATURE-----   
      
   iQJGBAEBCgAwFiEEiKQfd6o81mjI+LWALell7WOCXJMFAmkQJaMSHG1hbnBoaXpA   
   Z21haWwuY29tAAoJEC3pZe1jglyTReEQAJKOVzf5fKTA5ezbQQItN6Vw+jF/Vrv+   
   7UP9/hmLsxCADGHqESRk0HSiEGcu1UEEXO76iesk1kTGU9yHpr7K/TAS8FK0M7zx   
   SGM5P3L8J5gY3QRnkDzoRoPYRfJnTxee4BDJBZcAgq4poU2uBvHjsRg1Th2M6l6d   
   x5zzIXrRBj4tLtXc54+sZp1bRxTDDa3vOvrNRzUKMU7DD06PpTLOheDC4ttqdmVF   
   n9gw057itPve/ug59muUOYZ9DZEysFOW+geX2vU3OZj84zcZY5QnBDVyTTpqsFUW   
   lawSWrilfXUuKGbfBMyqmJdK2ZJcdyxmlgtFsCo8t8u+XE6xkeIizRK31xjWcTP0   
   JfoSGvok/PczbNxEs+HZ5wTXKtRrHVngPhmdQy8Yj3f3U2ZsyOixWXmpjFGLnfyS   
   EQz+b2a2/XEeBF+VoWRYubc9NkLdpLEMZ44QJd7uYllgHqUtAH2U2RFhk5nBHCrQ   
   nxM/5xigfSqhZLcgOuwLK9og3L90iTpg1MWTRUIj3BLFqQR6GJPGk3S+Z+fR9Tr4   
   l4ihrR7wwqZ+H4Hwiv2MTmOj2oOhuCjtdGzb/8BLhBvD2LNyuFo/b/2dNyAPnC8l   
   iAJxcfPReWmFvS/Vf4oFgtGC/Xe/OHGtPG0ny6KAbn2y65y2q4DgiIj2HO0ckAn7   
   pffz0LYMlqWf   
   =4ys0   
   -----END PGP SIGNATURE-----   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|