Add CI workflow, AI/ML format recovery, TrID sig generation, ext4 fix#205
Open
johndpope wants to merge 5 commits into
Open
Add CI workflow, AI/ML format recovery, TrID sig generation, ext4 fix#205johndpope wants to merge 5 commits into
johndpope wants to merge 5 commits into
Conversation
- .github/workflows/build-release.yml: GitHub Actions CI building Linux and Windows binaries, cloning digipres/digipres.github.io to get the latest TrID XML definitions, generating photorec.sig, and publishing all three as release assets on tag pushes (v*). - trid_to_photorec.py: Python converter from TrID XML definitions to PhotoRec photorec.sig format (39,523 unique signatures generated from 26,369 defs). - photorec.sig: pre-generated signature file from current TrID dataset. - src/file_ggml.c: PhotoRec module for GGML/GGMF/GGJT LLM model formats. - src/file_gguf.c: PhotoRec module for GGUF LLM model format (v1-3). - src/file_npy.c: PhotoRec module for NumPy .npy array format (v1-3). - src/file_pt.c: PhotoRec module for PyTorch .pt pickle-based models. - src/file_safetensors.c: PhotoRec module for HuggingFace SafeTensors.
- autogen.sh: use 'mkdir -p config' so re-runs don't fail when config/ exists - build-release.yml: add gettext and autopoint to apt deps so AM_ICONV m4 macro is available during autoreconf
…s packaging - Linux: add e2fsprogs + libext2fs-dev so configure detects ext2fs and compiles in ext4 filesystem support (was silently disabled) - Windows: replace MSYS2 7z (not installed) with PowerShell Compress-Archive which is always available on Windows runners Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Author
|
this has 6500 file types |
- Generate photorec.sig from fresh TrID definitions before packaging (was generated after, so tarballs got the stale repo copy) - Include photorec.sig in both Linux tarball and Windows zip so PhotoRec finds it at ./photorec.sig when run from the extracted dir - Windows uses the checked-out photorec.sig (avoids needing Python on runner) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
build-release.yml): builds Linux and Windows binaries on push/tag, publishes release artifacts.ggml), GGUF (.gguf), NumPy (.npy), PyTorch (.pt/.pth), and SafeTensors (.safetensors) — increasingly common file types to recover from damaged drivestrid_to_photorec.py): generatesphotorec.sigfrom the latest TrID XML definitions (digipres.github.io), bundled as a CI artifacte2fsprogs libext2fs-devsoconfigureenables ext4 filesystem support (was silently disabled)7z(not installed → exit 127) with PowerShellCompress-ArchiveTest plan
testdisk /dev/sdXon an ext4 drive no longer shows "Support for this filesystem wasn't enabled during compilation".gguf,.safetensors,.npy,.ptfiles from test imagephotorec.sigartifact is generated and includes AI/ML signatures🤖 Generated with Claude Code