Skip to content

build: cache downloads with sha hash of url not hex encoding#223

Merged
nick1udwig merged 1 commit intov0.7.2from
hf/cache-with-sha-hash-not-hex
Sep 3, 2024
Merged

build: cache downloads with sha hash of url not hex encoding#223
nick1udwig merged 1 commit intov0.7.2from
hf/cache-with-sha-hash-not-hex

Conversation

@nick1udwig
Copy link
Copy Markdown
Member

Problem

Long URLs can fail to be hashed -> fail to be cached -> fail out. Resolves #218

Solution

Instead of hex-encoding URLs, sha256 hash them.

Docs Update

None

Notes

None

@nick1udwig nick1udwig merged commit f9f9ce8 into v0.7.2 Sep 3, 2024
@nick1udwig nick1udwig deleted the hf/cache-with-sha-hash-not-hex branch September 3, 2024 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant