Repository navigation
Fix reversed volume order and warnings about finished series - #8
Merged
Merged
Conversation
…d series Co-Authored-By: Claude Opus 5.5 <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.
Two fixes in the folder scan.
Volumes inside a series were listed in reverse by the scan Full Pipeline, Image Conversion and Animated Conversion use. It kept the last-in, first-out folder stack that was already fixed for Zip Folders. It now walks folders the same way: one open enumerator per level, each subfolder to its end before the next. The "hit an error partway through" warning names the folder in both scans now; the Zip Folders one had only said "a directory".
Re-running on a finished series logged a warning for it every time. A folder with a
.zipdirectly in it and no page images is a series whose chapters are all zipped, which is normal, so the message is now at Info level. It stays a warning when page images sit next to the.zip, since those won't be zipped. Zip Folders' "no qualifying leaf directories found" is now Info too. A re-run with nothing to do no longer creates a Warnings log.Tests:
.zip. New Zip Folders check that a finished series adds nothing to the Warnings log. Six assertions failed before and pass now; the rest guard existing behavior.🤖 Generated with Claude Code