disable mdns date and time in version string
dns-sd binary generally encodes its build time in a version string. This leads to spurious wsdiff noise and makes it harder to create a reproducible build. The source code has a macro that we can define to remove this from the string:
MDNS_VERSIONSTR_NODTS. We should define this macro when building. This causes the version string to no longer include the date and time.
Updated by Robert Mustacchi 10 months ago
I tested this in two ways. The first was by running the updated dns-sd binary to make sure we got the updated version information. The second was by running wsdiff across two builds of the same workspace and verifying that they no longer had any wsdiff noise.
Updated by Electric Monk 10 months ago
- Status changed from New to Closed
- % Done changed from 80 to 100
commit f73e1ebf60792a8bdb2d559097c3131b68c09318 Author: Robert Mustacchi <email@example.com> Date: 2021-01-12T23:26:25.000Z 13352 disable mdns date and time in version string Reviewed by: Sebastian Wiedenroth <firstname.lastname@example.org> Reviewed by: Andy Fiddaman <email@example.com> Reviewed by: Paul Winder <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>