Skip to content

v0.2.1

Choose a tag to compare

@prostomarkeloff prostomarkeloff released this 03 Jun 12:17
· 8 commits to main since this release

Fixes

gist: read ohbin.json via raw_url when GitHub truncates inline content

GitHub's gists API truncates the inline content of every file in a gist once any single file exceeds ~1MB. That left the tiny ohbin.json index — sitting next to a multi-MB encrypted blob — coming back empty (truncated: true, content: ""), which broke:

  • ohbin publish-gist --gist <id> (adding another platform to an existing gist)
  • ohbin add-gist <gist> (resolving a gist into pyproject)

_load_index now falls back to the file's raw_url (which always serves complete bytes) whenever the inline content is truncated or empty.