This is part of a goal to reduce release artifacts to ≤50 files so the list of
files is not truncated in Gitlab pages. MD5 is an obsolete checksum format that
has been deprecated for many years. This commit removes these checksums from
being produced in the deployment flow, leaving SHA256 checksums as the only
option. This is consistent with Gitlab’s Generic Package Registry that provides
an alternative way of seeing file checksums and also only offers SHA256.
This change reduces the number of release artifacts from 56 to 46.
Closes #2147.
- Check for existence of `dl_iterate_phdr(3)` and if it is available, prefer
using it instead of iterating over `/proc/self/maps` for computing `libdir`.
- A limit on GVC config files of 100000 bytes has been removed.
+- MD5 checksums of release artifacts are no longer provided. SHA256 checksums
+ are still provided and these should be used instead.
### Fixed
assert path.exists()
- log.info(f"MD5 summing {path}")
- check = Path(f"{path}.md5")
- with open(check, "wt") as f:
- with open(path, "rb") as data:
- f.write(f"{hashlib.md5(data.read()).hexdigest()} {path}\n")
- yield check
-
log.info(f"SHA256 summing {path}")
check = Path(f"{path}.sha256")
with open(check, "wt") as f: