mbox series

[0/2] Add Go mod h1 checksum support

Message ID 20250107151514.8115-1-stefan.herbrechtsmeier-oss@weidmueller.com
Headers show
Series Add Go mod h1 checksum support | expand

Message

Stefan Herbrechtsmeier Jan. 7, 2025, 3:15 p.m. UTC
From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>

Add support for the Go mod h1 hash. The hash is based on the Go dirhash
package. The package defines hashes over directory trees and is uses for
Go mod files and zip archives.


Stefan Herbrechtsmeier (2):
  utils: add Go mod h1 checksum support
  tests: utils: add test for Go mod h1 checksum

 lib/bb/fetch2/__init__.py |  2 +-
 lib/bb/tests/utils.py     |  8 ++++++++
 lib/bb/utils.py           | 25 +++++++++++++++++++++++++
 3 files changed, 34 insertions(+), 1 deletion(-)