Skip to content

dataset: wget/curl recipe for skipped (large) archives (#752) - #124

Merged
neuromechanist merged 2 commits into
mainfrom
feat/issue-752-archive-skip-recipe
Jun 16, 2026
Merged

neuromechanist merged 2 commits into
mainfrom
feat/issue-752-archive-skip-recipe

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Companion to nemarOrg/nemar-cli#760 (epic #749, Phase 3 / #752).

When the landing payload reports archive.skip_reason (the >100GB skip policy), the dataset download action shows a copy-paste curl | jq | wget direct-download recipe (with a copy button + the skip reason) instead of the zip button. Only the skipped state changes behavior; ready/failed/pending keep today's zip button. The archive field is optional, so this is safe to merge before the backend exposes it (the recipe simply never activates until then).

astro check + biome clean.

When the landing payload reports archive.skip_reason (>100GB skip policy), the
download action shows a copy-paste curl|jq|wget direct-download recipe instead of
a zip button, with the skip reason. Only the skipped state changes behavior;
ready/failed/pending keep today's zip button (non-regressive). archive field is
optional, so older API responses are unaffected.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 16, 2026 •

Copy link
Copy Markdown

Deploying nemar-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2d1d26a
Status: ✅  Deploy successful!
Preview URL: https://dfd77610.nemar-website.pages.dev
Branch Preview URL: https://feat-issue-752-archive-skip.nemar-website.pages.dev

View logs

Replaces the inline zip/recipe buttons with a single Download button that opens a
modal (like the Compute one) listing every route, each command separately
copyable + a docs.nemar.org link:
  1. Zip archive — shown ONLY when archive.status === 'ready' (large/>100GB skip,
     and not-yet-built/missing archives are hidden, no more broken zip button)
  2. NEMAR CLI: nemar dataset download <id> + install link
  3. DataLad: clone + datalad get
  4. git-annex: git clone + git annex get
  5. Direct files: curl|jq manifest bytes_url + wget -xc (rclone/aria2c)
Removed the standalone Download-zip pill + inline recipe panel.
@neuromechanist
neuromechanist merged commit 436aeb4 into main Jun 16, 2026
1 check passed
@neuromechanist
neuromechanist deleted the feat/issue-752-archive-skip-recipe branch June 21, 2026 22:50
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