dh_setup_copyright: Strip trailing '/@/...' from Rust CUs (and some perf fixes)
- Feb 27, 2024
-
-
Ryan Gonzalez authored
Signed-off-by:
Ryan Gonzalez <ryan.gonzalez@collabora.com>
-
Ryan Gonzalez authored
Signed-off-by:
Ryan Gonzalez <ryan.gonzalez@collabora.com>
-
Ryan Gonzalez authored
find_package_providing_path would try to look up the source package for every incoming file, even if the file doesn't actually exist on disk. This is largely useless, because dpkg-query only finds matches for *installed* packages anyway, so just skip calling it at all for non-existent files. Signed-off-by:
Ryan Gonzalez <ryan.gonzalez@collabora.com>
-
Ryan Gonzalez authored
https://github.com/rust-lang/rust/pull/92024 appends a build-specific suffix to each compilation unit name in order to ensure they're all unique. Thus, in order to get the original filenames, we need to strip that suffix off. In order to ensure the SBOM contains the right paths, we also write the modified sources back to the bin2sources file. infrastructure/apertis-issues#456 Signed-off-by:
Ryan Gonzalez <ryan.gonzalez@collabora.com>
-