conda-forge and defaults search when checksum doesn't match

by dholth-anaconda
macOS ◆ xterm-256color ◆ zsh 225 views

We search for a phony package name so that conda downloads repodata.json.

In this sequence, the checksum for the ~300k 206 Partial Content request did not match. The file might have been truncated after 10MB or we might have a bug. Then we download the entire ~5M patch file (934k compressed) and are able to apply patches. The complete osx-arm64 repodata.json.zst has content-length: 5032959; most clients use the 5609k Content-Encoding: gzip version of repodata.json. Instead, we transferred ~1.3M in two requests to get an update.

For main/osx-arm64 the checksum was OK and conda was able to download 30545 bytes of patches.