[Git][reproducible-builds/diffoscope][master] Update "X has been modified after NT_GNU_BUILD_ID has been applied" message...
Chris Lamb (@lamby)
gitlab at salsa.debian.org
Sun Jan 9 10:03:16 UTC 2022
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
ae452baf by Chris Lamb at 2022-01-09T10:02:58+00:00
Update "X has been modified after NT_GNU_BUILD_ID has been applied" message to, for example, not duplicating the full filename in the primary diffoscope's output.
- - - - -
1 changed file:
- diffoscope/comparators/elf.py
Changes:
=====================================
diffoscope/comparators/elf.py
=====================================
@@ -663,13 +663,13 @@ class ElfContainer(DecompilableContainer):
if hashlib.sha1(blob_with_reset_build_id).hexdigest() != build_id:
self.source.add_comment(
- f"The file ({self.source.path}) has been modified after NT_GNU_BUILD_ID has been applied"
+ f"File has been modified after NT_GNU_BUILD_ID has been applied."
)
logger.warning(
- f"The file ({self.source.path}) has been modified after NT_GNU_BUILD_ID has been applied"
+ f"{self.source.path} has been modified after NT_GNU_BUILD_ID has been applied"
)
logger.debug(
- "Expected value: %s Current value: %s",
+ "Expected value: %s, current value: %s",
hashlib.sha1(blob_with_reset_build_id).hexdigest(),
build_id,
)
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/ae452bafad21a6186931d7f9c711e078ac033c4f
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/ae452bafad21a6186931d7f9c711e078ac033c4f
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20220109/46b4baf9/attachment.htm>
More information about the rb-commits
mailing list