Skip to content
Snippets Groups Projects
Verified Commit f84cbc26 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

NodeLoader: Rename checksums_computation to checksum_layout

NodeLoader as in {Content|Directory}Loader. Those can directly ingest respectively
a (remote) file (as Content) or a (remote) tarball artifact (as Directory). They are
currently listed by the nixguix lister. Depending on the checksum_layout (standard,
nar), they will compute checksums differently. With "standard" checksum layout, they are
computing usual "swh" checksums (sha1, sha1_git, ...) and validate them. With "nar"
checksum layout, they will compute the "nar" checksums and store those (once validated)
as ExtID.

This keeps the node loader construtor retro-compatible with the previous version. It
still deals with `checksums_computation` as `checksum_layout` and falls back to
"standard" layout when nothing is provided.

Refs. swh/meta#4979
parent d96eaf6c
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment