Say the mkdir the regeneration command needs - #47
Open
zmaril wants to merge 1 commit into
Open
Conversation
The catalog is not committed and git does not track an empty directory, so `infact-packs/rust-std/api/` is absent on a fresh checkout — and `--output` does not create the path it is given. The documented command therefore failed on the one machine state it exists for, with a bare `No such file or directory` that names neither the path nor the reason. Found by running it on a fresh checkout of merged main rather than by reading it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ghYbUJFcVfkKYacbTVJsR
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.
Follow-up to #43, found by running its documented command on a fresh checkout of
merged main rather than by re-reading it.
The catalog is not committed and git does not track an empty directory, so
infact-packs/rust-std/api/is absent after a clone — andinfact catalog --outputdoes not create the path it is given. The command in the READMEtherefore fails in exactly the situation it exists for:
which names neither the path nor the reason.
One line of fix and a sentence saying why it is there, so nobody deletes it as
noise. Verified after: the catalog builds,
git statusstays clean, and thescan finds 30
slice::is_sortedand 11all_uniqueon the CodeNet corpus.The alternative — having
--outputcreate parent directories — is arguably thebetter fix and would help every pack-building path, not just this one. Left
alone here because it changes CLI behaviour and this is a documentation bug.