Skip to content

Add archive contents_sha256 and ARCHIVE_FORMATS - #242

Open
rtibblesbot wants to merge 2 commits into
learningequality:mainfrom
rtibblesbot:issue-241-85627b
Open

rtibblesbot wants to merge 2 commits into
learningequality:mainfrom
rtibblesbot:issue-241-85627b

Conversation

@rtibblesbot

@rtibblesbot rtibblesbot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds archive.contents_sha256: zip identity hash independent of compression and metadata.
  • Adds file_formats.ARCHIVE_FORMATS.

References

Fixes #241. Parent: learningequality/ricecooker#722.

Reviewer guidance

  • Paths hash as ZipInfo.orig_filename, not .filename; is that the frozen choice consumers expect?

AI usage

Used Claude Code to implement the hash, constant and tests from the issue's definition. Verified with the full test suite, an independent recomputation of the pinned digest, and prek hooks.

🤖 Generated with Claude Code


@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly

How was this generated?
  • Ran pre-flight CI checks (lint, format, tests) and verified all pass
  • Rebased onto the target branch and resolved any conflicts
  • Reorganized commit history into clean, logical commits
  • Audited the diff to ensure only issue-relevant files are changed
  • Built PR body from the repository's PR template with evidence blocks
@rtibblesbot

🟡 Waiting for feedback

Last updated: 2026-09-23 06:32 UTC

rtibblesbot and others added 2 commits September 22, 2026 23:28
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Compression- and metadata-independent identity hash for zip archives.

Fixes learningequality#241

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@rtibblesbot
rtibblesbot marked this pull request as ready for review September 23, 2026 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add contents_sha256 archive identity hash and ARCHIVE_FORMATS

1 participant