CI / Format and clippy (push) Successful in 1m57s
CI / Dependency audit (push) Successful in 13s
CI / Check desktop app (Linux) (push) Successful in 3m54s
CI / Tests (Linux) (push) Failing after 7m25s
Release / Create release (push) Successful in 6s
Release / CLI (linux-aarch64) (push) Successful in 1m48s
Release / CLI (linux-x86_64) (push) Successful in 2m39s
Release / Desktop app (linux-aarch64) (push) Successful in 10m9s
Release / Desktop app (linux-x86_64) (push) Successful in 12m20s
Release / Desktop app (windows) (push) Successful in 7m32s
Release / Build latest.json (push) Successful in 5s
Completes the English-only standardization for code, comments, scripts and CI templates (UI/CLI-facing strings stay bilingual pt-BR/en, untouched). Covers the remaining crates/, apps/gui/ui/ and apps/gui/src-tauri/ comments, .gitea/ workflow and template comments, .githooks/ hooks, and the scripts/ source comments for the files already renamed in a prior commit (check.sh, generate-logo.py, install-hooks.sh). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VAyr8d7HuAdUGB6aA5xmDD
24 lines
1.4 KiB
Bash
Executable File
24 lines
1.4 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# Downloads reference disk images (BitLocker, FileVault 2, dfvfs, AFF4) used by integration tests.
|
|
# Stored in target/testdata (untracked). When absent, the corresponding tests are skipped.
|
|
set -euo pipefail
|
|
dest="$(cd "$(dirname "$0")/.." && pwd)/target/testdata"
|
|
mkdir -p "$dest"
|
|
base=https://gitlab.com/cryptsetup/cryptsetup/-/raw/main/tests
|
|
for n in bitlk-images fvault2-images; do
|
|
[ -d "$dest/$n" ] && continue
|
|
tmp="$(mktemp -d)"
|
|
curl -fsSL "$base/$n.tar.xz" -o "$tmp/$n.tar.xz"
|
|
tar xJf "$tmp/$n.tar.xz" -C "$dest"
|
|
rm -rf "$tmp"
|
|
done
|
|
mkdir -p "$dest/dfvfs"
|
|
for f in lvm.raw apfs.raw apfs_encrypted.dmg hfsplus.raw hfs.raw xfs.raw xfs-bigtime.raw ext4.raw ext2.raw fvdetest.qcow2 ext2.vhd ext2.vhdx ext2.vmdk windows_volume.qcow2 apm.dmg ntfs-dynamic.vhd ntfs-fixed.vhd ntfs-dynamic.vhdx ntfs-fixed.vhdx ntfs-parent.vhd ntfs-differential.vhd ntfs-parent.vhdx ntfs-differential.vhdx fat-parent.vhd fat-differential.vhd fat-parent.vhdx fat-differential.vhdx luks1.raw luks2.raw bdetogo.raw; do
|
|
[ -f "$dest/dfvfs/$f" ] || curl -fsSL "https://raw.githubusercontent.com/log2timeline/dfvfs/main/test_data/$f" -o "$dest/dfvfs/$f"
|
|
done
|
|
mkdir -p "$dest/aff4"
|
|
for f in Base-Linear.aff4 Base-Allocated.aff4 Base-Linear-AllHashes.aff4; do
|
|
[ -f "$dest/aff4/$f" ] || curl -fsSL "https://raw.githubusercontent.com/aff4/ReferenceImages/master/AFF4Std/$f" -o "$dest/aff4/$f"
|
|
done
|
|
echo "ok: $dest"
|