Add HF Hub named refs compatibility - #31
Merged
Merged
Conversation
Implement lightweight branch and tag refs so huggingface_hub can list, create, delete, and read through named revisions without widening the current storage model beyond head-backed refs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Record the active batch-5 pull request in the roadmap and checklist so the compatibility tracker stays aligned with issue #30 and the draft PR lifecycle. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Track the lightweight repo workflow contract in version control and limit ignores to Claude worktrees so active batch closeout changes live in the Batch 5 PR. Co-Authored-By: Claude Opus 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
list_repo_refs,create_branch,delete_branch,create_tag, anddelete_tagTest plan
uv run --with pytest --with huggingface_hub --with requests pytest tests/integration/hf_hub/test_refs_batch5.py -quv run --with pytest --with huggingface_hub --with requests pytest tests/integration/hf_hub -qcargo fmt --all -- --checkcargo test --workspaceCloses #30.
馃 Generated with Claude Code