Hi David,
David Bremner <david@tethera.net> writes:
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/dh_elpa?ref_type=heads#L234
[2] https://salsa.debian.org/emacsen-team/dh-elpa/-/blob/master/dh_elpa?ref_type=heads#L274
[3] https://salsa.debian.org/emacsen-team/dh-elpa/-/blob/master/dh_elpa?ref_type=heads#L287