Something went wrong. Please try again.
tests: Ensure nar hash extid matches nar hash of target
Merged
requested to merge anlambert/swh-loader-core:check-extid-nar-hash-match-target-nar-hash into master
1 unresolved thread
Add an extra check in function fetch_extids_from_checksums to ensure a NAR hash extid matches the NAR hash of the targeted archived object.
Related to swh/infra/sysadm-environment#5256 (closed).
Merge request reports
Activity
Filter activity
Jenkins job DLDBASE/gitlab-builds #286 succeeded .
See Console Output and Coverage Report for more details.mentioned in merge request swh-loader-mercurial!144 (merged)
7 7 import os 8 8 from pathlib import PosixPath 9 9 import subprocess 10 import tempfile 10 11 from typing import Dict, Iterable, List, Optional, Tuple, Union 11 12 13 from swh.loader.core.nar import Nar 12 14 from swh.model.hashutil import hash_to_bytes 13 15 from swh.model.model import ExtID, OriginVisitStatus, Snapshot, TargetType 16 from swh.model.swhids import ObjectType 14 17 from swh.storage.algos.origin import origin_get_latest_visit_status 15 18 from swh.storage.algos.snapshot import snapshot_get_all_branches 16 19 from swh.storage.interface import StorageInterface 20 from swh.vault.to_disk import DirectoryBuilder added 3 commits
-
abe53369...80bc5b08 - 2 commits from branch
swh/devel:master
- c45625f6 - tests: Ensure nar hash extid matches nar hash of target
-
abe53369...80bc5b08 - 2 commits from branch
Jenkins job DLDBASE/gitlab-builds #296 succeeded .
See Console Output and Coverage Report for more details.
Please register or sign in to reply