On Fri, Apr 12, 2024 at 10:41:43PM +0100, Aoife Moloney wrote:
[https://github.com/keszybz/add-determinism add-determinism] is a Rust program which, as its name suggests, adds determinism to files that are given as input by attempting to standardize metadata contained in binary or source files to ensure consistency and clamping to $SOURCE_DATE_EPOCH in all instances. `add-determinism` is the "Fedora version" of [https://salsa.debian.org/reproducible-builds/strip-nondeterminism strip-nondeterminism] from the Debian project. Since strip-nondeterminism is written in perl, it is undesirable for use in Fedora, as we don't want to pull perl in the buildroot for every package.
https://github.com/keszybz/add-determinism looks like a package with a lot of Rust dependencies just to make some small changes to four different file types. Isn't there an easier way to do this? I would have thought a Python library would be more suitable as the most complicated bit is the *.pyc change which is done using Python code.
Rich.