[draft] Basic bucket API - subject to evolve
e527fa39
Wauplin
changed the title [dev] Basic bucket API - not meant to be merged [dev 🤫] Basic bucket API - not meant to be merged 318 days ago
xet download not working because local
f641f0bf
batch upload
086af05a
Merge branch 'main' into buckets-api
439b626d
Merge branch 'main' into buckets-api
e42cea15
download resolved
863227f0
style
263ae04a
slight update
07e7ba95
download files in parallel
d6f45eb6
add hf sync and hf bucket ls CLI
f499c0ca
CLI first implem
2641eba1
move to hf bucket sync
8bcfac3a
Merge branch 'main' into buckets-api
92a182b0
Merge branch 'main' into buckets-api
29b2d7f7
alias hf sync
9c193635
--delete instead of --mirror
07084dfe
apply instead of execute
fac4d8ed
add --ignore-times --ignore-sizes --existing --ignore-existing / remo…
3c92bf77
Merge branch 'main' into buckets-api
17bec0ad
cli ref
283eed95
more examples
19da4b83
get_bucket_file_metadata
be3f43d9
fix typing
f91976cb
Merge branch 'main' into buckets-api
76fae535
Merge branch 'main' into buckets-api
da2e8a56
create bucket revisited
2bee470e
better delete repo
da4e37a1
repo url parsed
fc01de61
Merge branch 'main' into buckets-api
cbbf33d9
create empty files
07127de9
Merge branch 'main' into buckets-api
3e19af60
pass self.endpoint to RepoUrl
e76d1ad3
no need for size in batch upload
70c5fa9c
Merge branch 'main' into buckets-api
6cc76067
Merge branch 'main' into buckets-api
d31d4e27
expose bucket api
36931265
Merge branch 'main' into buckets-api
8411ab4e
Start adding tests
cd5f4217
better batch API ?
828f8a3a
docstrings
d86c78cf
first tests
b40f0a8f
remove /latest prefix in tree and resolve endpoints
18d70c5f
Remove /latest from xet-write-token route
4ee094ee
list buckets lists only under namespace
0e1c56ba
update test list_buckets
400f575a
list_bucket_tree returns BucketFile dataclass
5693e329
adapt to BucketFile
14439d7e
more optimized hf sync
d3935dd2
fix get_bucket_paths_info
afaf9cb5
batched /paths-info
1575f52c
BucketUrl instead of RepoUrl
3e963ee0
BucketUrl in CLI
948680f5
Warn on missing files in download_bucket_files
d1807ac0
chunked upload
4efad566
global add-progress in batch_bucket_files
0dc11d7f
better progress in CLI sync
46fe171e
print nb files in list buckets and bucket info
e44fa3f7
dedicated BucketNotFoundError error
209e6ebc
add backoff in main bucket methods
2dfedd83
Merge branch 'main' into buckets-api
9e3b3674
quiet mode in CLI
908490e0
stop passing token if not needed
0e7c84a0
alignment in table
af51205d
cannot hf bucket list files
328b1597
hf bucket cp
f31f2579
fix bucket head /resolve
5ea04ffa
fix mypy
804c24d0
fix tests
5cc3dfc1
Merge branch 'main' into buckets-api
1276e721
fix test
34b6cb9b
remove some stuff
28bd6c99
review HfApi methods
31fa4fd2
more tests
e46eafe8
more tests
05bf7c1d
some CLI tests
3dcbb4b3
migrate to 'hf buckets' CLI
5014c58e
little refacto cli tests
603810a5
add tests for hf buckets cp
b1e919d6
Add hf buckets sync tests
a2a46507
test hf sync alias
103fed0b
tree recursive
426802b4
test hf buckets tree
f3de2c76
draft bucket guide
b44b7820
CLI guide
fdef30a9
export as root
14caf1b3
better documentation
9d485f8c
CLI guide
865a6859
Merge branch 'main' into buckets-api
b81a36eb
fix mtime comparison subsecnd
6a838ca7
add dry run
5c09a29f
fix format
af097321
hf buckets list
17215f7d
not satisfying alias
01860ef2
better alias
1566491d
better docs
ec345066
Wauplin
changed the title [dev 🤫] Basic bucket API - not meant to be merged Buckets API 278 days ago
Merge branch 'main' into buckets-api
04f162af
Wauplin
marked this pull request as ready for review 278 days ago
cursor
commented
on 2026-02-18
Fix two Bugbot-reported issues in bucket download and sync
2aa39a02
Add tests for download_bucket_files with missing first file
bdb0d40c
cursor
commented
on 2026-02-18
Fix: Use BucketNotFoundError instead of RepositoryNotFoundError in sync
82a05657
Merge branch 'main' into buckets-api
7ebcb2d7
Merge branch 'buckets-api' of github.com:huggingface/huggingface_hub …
0790cf2b
Add test for sync to non-existent bucket
aca6fae0
cursor
commented
on 2026-02-18
Fix: Validate file path in cp download path
a885b199
Fix: Strip trailing slashes from prefix to avoid double slashes in re…
1c313390
Fix: Filter zero-size files before calling xet download
cf0a5027
cursor
commented
on 2026-02-18
Merge branch 'main' into buckets-api
68c4f8e0
BucketFolder instead of BucketDirectory
f8a39830
move buckets tests to xet only
1750b882
fix hot reload reference
70ab7559
Merge branch 'main' into buckets-api
10b5358e
cursor
commented
on 2026-02-19
finally fix tests
765c54d8
explain
96c547ab
Merge branch 'main' into buckets-api
a72f2706
cursor
commented
on 2026-02-19
Fix: Unsafe prefix stripping that could corrupt sync relative paths
51d281f0
Fix: Preserve progress bar state when downloading to stdout
06ad6f6f
Fix: Sync skip reason accurately reports dest newer instead of same m…
82c298ce
Refactor: Extract shared sync comparison logic into helper function
73940b3f
Fix: Use Literal type for action parameter in _compare_files_for_sync
0c7c54f6
Fix: Skip files that don't properly match prefix in _list_remote_files
28c9d2c7
cursor
commented
on 2026-02-19
cursor
commented
on 2026-02-19
Merge branch 'main' into buckets-api
894f0589
make style
02d61985
Update src/huggingface_hub/cli/buckets.py
9eb7c7d8
Update src/huggingface_hub/hf_api.py
354cacac
Update docs/source/en/guides/buckets.md
bff00c28
Update src/huggingface_hub/hf_api.py
ac70b234
Update src/huggingface_hub/hf_api.py
acafe010
Merge branch 'buckets-api' of github.com:huggingface/huggingface_hub …
afd501df
docstring
5fd4260e
constant
fb740479
regenerate hf --help in cli.md
d41f0a70
Add test for content_type resolution
2c06a238
cursor
commented
on 2026-02-24
refacto _split_bucket_id_and_prefix + add test$
152584a2
export BucketFolder
9528a011
fix bucket_files_by_path not defined
48c900cb
cursor
commented
on 2026-02-24
fix hf spaces examples
72242e26
cursor
commented
on 2026-02-24
cursor
commented
on 2026-02-24
Merge branch 'main' into buckets-api
9717ac58
fix mypy
e35d9948
cursor
commented
on 2026-02-24
Update docs/source/en/guides/buckets.md
43d9cc7f
Update src/huggingface_hub/cli/_cli_utils.py
3c11f8d9
Wauplin
merged
eaac6fee
into main 272 days ago
Wauplin
deleted the buckets-api branch 272 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub