Repository navigation
Store guide images in B2 with DVC restoration - #211
Merged
Merged
Conversation
codekiln
marked this pull request as ready for review
October 8, 2026 14:34
This was referenced Oct 8, 2026
This was referenced Oct 8, 2026
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.
Launchpad and Microfreak figures now use verified public B2 URLs. Each of the 178 guide images has an Asset/B2 page and adjacent DVC metadata; working copies remain under
assets/.remote/. Replaced the image links on 139 guide pages and removed only the specified committed PNGs. Other assets, including the slot-397 preset export, remain outside the migration.The uploader uses B2's authenticated discovery of its S3 endpoint for public downloads, retaining complete MIME, length and SHA-256 verification. Private downloads retain their authenticated Native endpoint. Asset add/push/fetch/status no longer install FFmpeg, while conversion and media validation retain it. The asset, upload-task and book-section definitions describe the resulting workflow.
Validation: all named uploads and complete public downloads pass; all DVC backups pass. A repeated named upload retains the same file ID and upload timestamp. Proxy tests (22), pinned DVC/conversion tests (5), media tests (17), and commit identity/format checks pass. A separate fresh checkout restored every image through
asset:fetchusing an independent initially empty cache. All 178 restored SHA-256 values match; 153 unique DVC objects account for content deduplication. An independent acceptance audit passes scope, links, metadata, protected tags/block IDs, and restoration checks.Gitpa PR #23 Launchpad references and PR #24 Microfreak references must re-sync from this source and remove their scoped PNG copies before they become ready for review.
Closes #204.
--AI(gpt-6-unspecified guide image B2 migration)